Revision 1833 trunk/base/nntpgrab_utils.h

nntpgrab_utils.h (revision 1833)
293 293
    int complete_percentage;
294 294
    int num_regular_files;
295 295
    int num_par2_files;
296
    ngint64 first_file_id;
296 297
} NZBCreatorCollection;
297 298

                
298 299
/**
... ...
559 560
 */
560 561
void                     nntpgrab_utils_nzbcreator_free_result(NZBCreatorSearchResult *result);
561 562

                
562
NGList *nntpgrab_utils_nzbcreator_retrieve_collection_details(ngint64 collection_id, char **errmsg);
563
/**
564
 * nntpgrab_utils_nzbcreator_retrieve_collection_details:
565
 * @collection_id:                          The id of the collection whose details need to be retrieved
566
 * @stamp:                                  The stamp belonging to the collection id
567
 * @errmsg:         (allow-none) (out):     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
568
 *
569
 * Retrieve a list of files belonging to a collection
570
 *
571
 * Returns:                                 A list containing NZBCreatorFile's. Needs to be free'd using nntpgrab_utils_nzbcreator_free_collection_details(). If an error occurs, the value NULL will be returned and errmsg will be set
572
 */
573
NGList *nntpgrab_utils_nzbcreator_retrieve_collection_details(ngint64 collection_id, time_t stamp, char **errmsg);
563 574

                
575
/**
576
 * nntpgrab_utils_nzbcreator_free_collection_details: (skip)
577
 * @files:          The list of files as returned by nntpgrab_utils_nzbcreator_retrieve_collection_details()
578
 *
579
 * Free the list with collection details
580
 */
564 581
void nntpgrab_utils_nzbcreator_free_collection_details(NGList *files);
565 582

                
566 583
/**

Also available in: Unified diff