#include #include #include #include "nntpgrab_utils.h"#include "nntpgrab_types.h"
Defines |
|
| #define | URI "https://www.nntpgrab.nl/nzbcreator/search.php" |
Functions |
|
| void | nntpgrab_utils_nzbcreator_free_groups (NGList *groups) |
| Free the list of usenet groups which are indexed by the NZBCreator service. |
|
| NGList * | nntpgrab_utils_nzbcreator_get_all_groups (char **errmsg) |
| Retrieve a list of all the usenet groups which are indexed by the NZBCreator service. |
|
| void | nntpgrab_utils_nzbcreator_free_result (NZBCreatorSearchResult *result) |
| Free the NZBCreator search results. |
|
| NZBCreatorSearchResult * | nntpgrab_utils_nzbcreator_perform_search (NZBCreatorSearchOpts opts, char **errmsg) |
| Perform a search using the NZBCreator service. |
|
| char * | nntpgrab_utils_nzbcreator_generate_NZB (NGList *file_ids, char **errmsg) |
| Generate a NZB file based on a list of file ID's. |
|
| #define URI "https://www.nntpgrab.nl/nzbcreator/search.php" |
| void nntpgrab_utils_nzbcreator_free_groups | ( | NGList * | groups | ) |
Free the list of usenet groups which are indexed by the NZBCreator service.
| groups | A list of all the indexed usenet groups |
| void nntpgrab_utils_nzbcreator_free_result | ( | NZBCreatorSearchResult * | result | ) |
Free the NZBCreator search results.
| result | The NZBCreator search results |
| char* nntpgrab_utils_nzbcreator_generate_NZB | ( | NGList * | file_ids, | |
| char ** | errmsg | |||
| ) |
Generate a NZB file based on a list of file ID's.
| file_ids | A list containing file ID's of all the files which needs to be retrieved | |
| 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 |
| NGList* nntpgrab_utils_nzbcreator_get_all_groups | ( | char ** | errmsg | ) |
Retrieve a list of all the usenet groups which are indexed by the NZBCreator service.
| 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 |
| NZBCreatorSearchResult* nntpgrab_utils_nzbcreator_perform_search | ( | NZBCreatorSearchOpts | opts, | |
| char ** | errmsg | |||
| ) |
Perform a search using the NZBCreator service.
| opts | A structure containing information about the requested search | |
| 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 |