kinetic-c  v0.12.0
Seagate Kinetic Protocol Client Library for C
Functions
listener_helper.c File Reference
#include "listener_helper.h"
#include "listener_task.h"
#include "syscall.h"
#include "atomic.h"
#include <assert.h>

Go to the source code of this file.

Functions

listener_msg * ListenerHelper_GetFreeMsg (listener *l)
 Get a free message from the listener's message pool. More...
 
bool ListenerHelper_PushMessage (struct listener *l, listener_msg *msg, int *reply_fd)
 Push a message into the listener's message queue. More...
 
rx_info_t * ListenerHelper_GetFreeRXInfo (struct listener *l)
 Get a free RX_INFO record, if any are available. More...
 
rx_info_t * ListenerHelper_FindInfoBySequenceID (listener *l, int fd, int64_t seq_id)
 Try to find an RX_INFO record by a <file descriptor, sequence_id> pair. More...
 

Function Documentation

listener_msg* ListenerHelper_GetFreeMsg ( listener *  l)
bool ListenerHelper_PushMessage ( struct listener *  l,
listener_msg *  msg,
int *  reply_fd 
)
rx_info_t* ListenerHelper_GetFreeRXInfo ( listener *  l)
rx_info_t* ListenerHelper_FindInfoBySequenceID ( listener *  l,
int  fd,
int64_t  seq_id 
)