photon  1.1
Functions
photon_msgbuffer.c File Reference
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "photon.h"
#include "logging.h"
#include "photon_msgbuffer.h"

Go to the source code of this file.

Functions

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

Function Documentation

◆ photon_msgbuffer_free()

int photon_msgbuffer_free ( photonMsgBuf  mbuf)

Definition at line 82 of file photon_msgbuffer.c.

◆ photon_msgbuffer_free_entry()

int photon_msgbuffer_free_entry ( photonMsgBuf  mbuf,
int  ind 
)

Definition at line 110 of file photon_msgbuffer.c.

◆ photon_msgbuffer_get_entry()

photon_mbe* photon_msgbuffer_get_entry ( photonMsgBuf  mbuf,
int *  ind 
)

Definition at line 94 of file photon_msgbuffer.c.

◆ photon_msgbuffer_new()

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.