mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@3 fefdeb5f-60dc-0310-8127-8f9354f1896f
18 lines
301 B
C
18 lines
301 B
C
#ifndef foopackethfoo
|
|
#define foopackethfoo
|
|
|
|
#include <sys/types.h>
|
|
#include <stdint.h>
|
|
|
|
struct packet {
|
|
unsigned ref;
|
|
size_t length;
|
|
uint8_t data[];
|
|
};
|
|
|
|
struct packet* packet_new(uint32_t length);
|
|
|
|
struct packet* packet_ref(struct packet *p);
|
|
void packet_unref(struct packet *p);
|
|
|
|
#endif
|