libxbps: added xbps_fetch_error_string(), that returns libfetch
fetchLastErrString. Hook xbps-fetch to the tree and use the new function to print errors. --HG-- extra : convert_revision : xtraeme%40gmail.com-20091030021303-6wu9sri5o8kgvfwl
This commit is contained in:
@ -86,6 +86,7 @@ int SYMEXPORT xbps_fetch_file(const char *, const char *);
|
||||
void SYMEXPORT (*xbps_fetch_start_cb)(const char *, off_t *, off_t *);
|
||||
void SYMEXPORT (*xbps_fetch_update_cb)(off_t *);
|
||||
void SYMEXPORT (*xbps_fetch_end_cb)(void);
|
||||
const char SYMEXPORT *xbps_fetch_error_string(void);
|
||||
|
||||
/* From lib/fexec.c */
|
||||
int SYMEXPORT xbps_file_exec(const char *, ...);
|
||||
|
Reference in New Issue
Block a user