photon  1.1
Data Structures | Functions | Variables
photon_msgbuffer.h File Reference
#include <stdint.h>
#include <stdbool.h>
#include <pthread.h>
#include "photon_buffer_internal.h"

Go to the source code of this file.

Data Structures

struct  photon_mbe
 
struct  photonMsgBuf
 

Functions

PHOTON_INTERNAL photonMsgBuf photon_msgbuffer_new (uint64_t size, uint64_t p_size, int p_offset, int p_hsize)
 
PHOTON_INTERNAL int photon_msgbuffer_free (photonMsgBuf mbuf)
 
PHOTON_INTERNAL photon_mbephoton_msgbuffer_get_entry (photonMsgBuf mbuf, int *ind)
 
PHOTON_INTERNAL int photon_msgbuffer_free_entry (photonMsgBuf mbuf, int ind)
 

Variables

struct photon_msgbuffer_t photon_msgbuf
 

Function Documentation

◆ photon_msgbuffer_free()

PHOTON_INTERNAL int photon_msgbuffer_free ( photonMsgBuf  mbuf)

Definition at line 82 of file photon_msgbuffer.c.

◆ photon_msgbuffer_free_entry()

PHOTON_INTERNAL int photon_msgbuffer_free_entry ( photonMsgBuf  mbuf,
int  ind 
)

Definition at line 110 of file photon_msgbuffer.c.

◆ photon_msgbuffer_get_entry()

PHOTON_INTERNAL photon_mbe* photon_msgbuffer_get_entry ( photonMsgBuf  mbuf,
int *  ind 
)

Definition at line 94 of file photon_msgbuffer.c.

◆ photon_msgbuffer_new()

PHOTON_INTERNAL photonMsgBuf photon_msgbuffer_new ( uint64_t  size,
uint64_t  p_size,
int  p_offset,
int  p_hsize 
)

Definition at line 22 of file photon_msgbuffer.c.

Variable Documentation

◆ photon_msgbuf

struct photon_msgbuffer_t photon_msgbuf