#include #include "nntpgrab_utils.h"
Functions |
|
| NGList * | ng_list_append (NGList *list, void *data) |
| Append an item to a list. |
|
| NGList * | ng_list_prepend (NGList *list, void *data) |
| Insert an item to the beginning of a list. |
|
| NGList * | ng_list_remove (NGList *list, void *data) |
| Remove an item from a list. |
|
| unsigned int | ng_list_length (NGList *list) |
| Retrieve the length of a list. |
|
| void | ng_list_free (NGList *list) |
| Free a list. |
|
| void | ng_free (void *data) |
| Free data allocated by NNTPGrab functions. |
|
| void ng_free | ( | void * | data | ) |
Free data allocated by NNTPGrab functions.
| data | The data which needs to be free'd |
| NGList* ng_list_append | ( | NGList * | list, | |
| void * | data | |||
| ) |
Append an item to a list.
| list | The list where the item needs to be added to (can be NULL to create a new list) | |
| data | The item which needs to be added |
| void ng_list_free | ( | NGList * | list | ) |
Free a list.
| list | The list which needs to be free'd |
| unsigned int ng_list_length | ( | NGList * | list | ) |
Retrieve the length of a list.
| list | The list of which the length must be returned |
| NGList* ng_list_prepend | ( | NGList * | list, | |
| void * | data | |||
| ) |
Insert an item to the beginning of a list.
| list | The list where the item needs to be added to (can be NULL to create a new list) | |
| data | The item which needs to be added |
| NGList* ng_list_remove | ( | NGList * | list, | |
| void * | data | |||
| ) |
Remove an item from a list.
| list | The list where the item needs to be removed from | |
| data | The item which needs to be removed |