photon
1.1
|
Go to the source code of this file.
Data Structures | |
struct | photon_acct_t |
struct | photon_buffer_internal |
struct | photonBufferInterface |
struct | photon_buffer_handle |
Macros | |
#define | BUFFER_IFACES_MAX 16 |
#define | BUFFER_FLAG_NIL 0x0000 |
#define | BUFFER_FLAG_NOTIFY (1<<1) |
Typedefs | |
typedef struct photon_buffer_internal_t * | photonBI |
typedef struct photon_buffer_handle_t * | photonBufferHandle |
Functions | |
int | photon_buffer_init (photonBufferInterface bi) |
photonBufferHandle | photon_buffer_create (void *addr, uint64_t size, int flags) |
void | photon_buffer_free (photonBufferHandle buf) |
int | photon_buffer_register (photonBufferHandle buf, int flags) |
int | photon_buffer_unregister (photonBufferHandle buf) |
#define BUFFER_FLAG_NIL 0x0000 |
Definition at line 27 of file photon_buffer_internal.h.
#define BUFFER_FLAG_NOTIFY (1<<1) |
Definition at line 28 of file photon_buffer_internal.h.
#define BUFFER_IFACES_MAX 16 |
Definition at line 25 of file photon_buffer_internal.h.
typedef struct photon_buffer_internal_t* photonBI |
Definition at line 58 of file photon_buffer_internal.h.
typedef struct photon_buffer_handle_t* photonBufferHandle |
Definition at line 60 of file photon_buffer_internal.h.
photonBufferHandle photon_buffer_create | ( | void * | addr, |
uint64_t | size, | ||
int | flags | ||
) |
Definition at line 66 of file photon_buffer_internal.c.
void photon_buffer_free | ( | photonBufferHandle | buf | ) |
Definition at line 85 of file photon_buffer_internal.c.
int photon_buffer_init | ( | photonBufferInterface | bi | ) |
Definition at line 25 of file photon_buffer_internal.c.
int photon_buffer_register | ( | photonBufferHandle | buf, |
int | flags | ||
) |
Definition at line 99 of file photon_buffer_internal.c.
int photon_buffer_unregister | ( | photonBufferHandle | buf | ) |
Definition at line 119 of file photon_buffer_internal.c.