globus_fifo - Online Linux Manual PageSection : 3
Updated : Tue Jan 26 2021
Source : Version 18.9
Note : globus_common
NAMEglobus_fifo − FIFO Queue
− FIFO Queue Implementation.
SYNOPSIS
Typedefstypedef struct globus_fifo_s * globus_fifo_t
Functionsint globus_fifo_init (globus_fifo_t *fifo)
Initialize the fifo structure. void globus_fifo_destroy (globus_fifo_t *fifo)
void globus_fifo_destroy_all (globus_fifo_t *fifo, void(*datum_free)(void *))
int globus_fifo_empty (const globus_fifo_t *fifo)
int globus_fifo_size (const globus_fifo_t *fifo)
int globus_fifo_enqueue (globus_fifo_t *fifo, void *datum)
globus_fifo_t * globus_fifo_copy (const globus_fifo_t *fifo)
void * globus_fifo_peek (globus_fifo_t *fifo)
void * globus_fifo_tail_peek (globus_fifo_t *fifo)
void * globus_fifo_remove (globus_fifo_t *headp, void *datum)
void * globus_fifo_dequeue (globus_fifo_t *fifo)
int globus_fifo_move (globus_fifo_t *fifo_dest, globus_fifo_t *fifo_src)
globus_list_t * globus_fifo_convert_to_list (globus_fifo_t *fifo)
Detailed DescriptionFIFO Queue Implementation.
Typedef Documentation
typedef struct globus_fifo_s* globus_fifo_tData type used in all function calls to manipulate a Globus FIFO
Function Documentation
globus_list_t* globus_fifo_convert_to_list (globus_fifo_t * fifo)Convert the fifo into a list.
globus_fifo_t* globus_fifo_copy (const globus_fifo_t * fifo)Make a copy of the fifo. globus_fifo_destroy() must be called the returned pointer to free memory associated with it.
void* globus_fifo_dequeue (globus_fifo_t * fifo)dequeue the element at the front of the queue.
void globus_fifo_destroy (globus_fifo_t * fifo)Destroy the fifo data structure. This function destroys the memory associate with the fifo data structure. For every call to globus_fifo_init() there must be a corresponding call to globus_fifo_destroy()
void globus_fifo_destroy_all (globus_fifo_t * fifo, void(*)(void *) datum_free)Destroy the fifo data structure. This function destroys the memory associate with the fifo data structure. It calls datum_free() on behalf of all remaining nodes in the queue. For every call to globus_fifo_init() there must be a corresponding call to globus_fifo_destroy()
int globus_fifo_empty (const globus_fifo_t * fifo)This function returns a boolean indicating whether or not the fifo is empty.
int globus_fifo_enqueue (globus_fifo_t * fifo, void * datum)Add data to the back of the queue.
int globus_fifo_init (globus_fifo_t * fifo)Initialize the fifo structure. This function initializes the fifo data structure. The structure must be initalized before it can be used with any other function.
int globus_fifo_move (globus_fifo_t * fifo_dest, globus_fifo_t * fifo_src)Move the queue from fifo_src pointer to fifo_dest pointer.
void* globus_fifo_peek (globus_fifo_t * fifo)get a pointer to the element at the front of the queue.
void* globus_fifo_remove (globus_fifo_t * headp, void * datum)remove datum from anywhere in the queue.
int globus_fifo_size (const globus_fifo_t * fifo)This function returns a interger representing the number of elements in the queue.
void* globus_fifo_tail_peek (globus_fifo_t * fifo)Get a pointer to the element at the back of the queue.
AuthorGenerated automatically by Doxygen for globus_common from the source code. 0
Johanes Gumabo
Data Size : 17,085 byte
man-globus_fifo_destroy.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 182,150
Visitor ID : :
Visitor IP : 3.144.104.175 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.