photon  1.1
Functions
photon_buffer_internal.c File Reference
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include "libphoton.h"
#include "photon_backend.h"
#include "photon_buffer_internal.h"

Go to the source code of this file.

Functions

int photon_buffer_init (photonBufferInterface bi)
 
photonBufferHandle _photon_buffer_create (void *addr, uint64_t size, int flags)
 
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)
 

Function Documentation

◆ _photon_buffer_create()

photonBufferHandle _photon_buffer_create ( void *  addr,
uint64_t  size,
int  flags 
)

Definition at line 34 of file photon_buffer_internal.c.

◆ photon_buffer_create()

photonBufferHandle photon_buffer_create ( void *  addr,
uint64_t  size,
int  flags 
)

Definition at line 66 of file photon_buffer_internal.c.

◆ photon_buffer_free()

void photon_buffer_free ( photonBufferHandle  buf)

Definition at line 85 of file photon_buffer_internal.c.

◆ photon_buffer_init()

int photon_buffer_init ( photonBufferInterface  bi)

Definition at line 25 of file photon_buffer_internal.c.

◆ photon_buffer_register()

int photon_buffer_register ( photonBufferHandle  buf,
int  flags 
)

Definition at line 99 of file photon_buffer_internal.c.

◆ photon_buffer_unregister()

int photon_buffer_unregister ( photonBufferHandle  buf)

Definition at line 119 of file photon_buffer_internal.c.