SolarCapture C Bindings
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
Data Structures | Functions
ext_packet_list.h File Reference

sc_packet_list: A list of packets. More...

Go to the source code of this file.

Data Structures

struct  sc_packet_list
 A list of packets or packet buffers. More...
 

Functions

static void sc_packet_list_init (struct sc_packet_list *l)
 Initialise a list. More...
 
static int sc_packet_list_is_empty (const struct sc_packet_list *l)
 Check if packet list is empty. More...
 
static void sc_packet_list_finalise (struct sc_packet_list *l)
 Finalise a list. More...
 
static struct sc_packetsc_packet_list_tail (struct sc_packet_list *l)
 Return the tail of current tail of the list. More...
 
static void sc_packet_list_push_head (struct sc_packet_list *pl, struct sc_packet *p)
 Push a packet to the head of a list. More...
 
static void sc_packet_list_append (struct sc_packet_list *l, struct sc_packet *p)
 Append a packet to a list and finalise. More...
 
static void sc_packet_list_append_list (struct sc_packet_list *dest, struct sc_packet_list *src)
 Append a list to a list. More...
 
static struct sc_packetsc_packet_list_pop_head (struct sc_packet_list *pl)
 Remove and return the head of the list. More...
 

Detailed Description

sc_packet_list: A list of packets.