#include #include #include #include "nntpgrab_utils.h"
Functions |
|
| NZB * | nntpgrab_utils_parse_nzb_file (const char *contents, char **errmsg) |
| Parse the contents of a NZB file and put the information in a structure. |
|
| void | nntpgrab_utils_nzb_file_free (NZB *nzbfile) |
| Free a structure containing details about a NZB file. |
|
| void nntpgrab_utils_nzb_file_free | ( | NZB * | nzbfile | ) |
Free a structure containing details about a NZB file.
| nzbfile | The structure containing information about the NZB file |
| NZB* nntpgrab_utils_parse_nzb_file | ( | const char * | contents, | |
| char ** | errmsg | |||
| ) |
Parse the contents of a NZB file and put the information in a structure.
| contents | The contents of the NZB file | |
| errmsg | Pointer to a char*. If an errors occurs, the reason will be placed in this field. Needs to be freed using ngfree(). Can be NULL to ignore errors |