(gtk) #989: add a checkbox to auto-update the blocklist once a week

This commit is contained in:
Charles Kerr
2008-09-02 20:59:00 +00:00
parent f53b33526b
commit c3c8006c85
13 changed files with 275 additions and 145 deletions

View File

@@ -40,7 +40,7 @@
typedef void (*callbackfunc_t)(void*);
/* return a human-readable string for the size given in bytes. */
char* tr_strlsize( char * buf, guint64 size, size_t buflen );
char* tr_strlsize( char * buf, uint64_t size, size_t buflen );
/* return a human-readable string for the transfer rate given in bytes. */
char* tr_strlspeed (char * buf, double KiBps, size_t buflen );
@@ -54,8 +54,7 @@ char* tr_strltime( char * buf, int secs, size_t buflen );
char* gtr_localtime( time_t time );
/* create a directory and any missing parent directories */
gboolean
mkdir_p(const char *name, mode_t mode);
int mkdir_p(const char *name, mode_t mode);
/* create a copy of a GSList of strings, this dups the actual strings too */
GSList *