#include <stdio.h>
#include <unistd.h>
#include <limits.h>
Go to the source code of this file.
Defines | |
#define | DIRECTORY ".rssbgr" |
#define | LOCKFILE DIRECTORY "/.lock" |
#define | CONFIGFILE DIRECTORY "/config" |
#define | CONFIGFILE_FORMAT "%s\t%lu\t%s" |
#define | CONFIGFILE_VARS_SCAN url, &frequency, action |
#define | CONFIGFILE_VARS_PRINT url, frequency, action |
#define | MIN_FREQUENCY 60 |
#define | DEBUG_ON 0 |
#define | DEBUG1(foo1) { if (DEBUG_ON) { fprintf(stdout, "DEBUG: " foo1 "\n" ); } } |
#define | DEBUG2(foo1, foo2) { if (DEBUG_ON) { fprintf(stdout, "DEBUG: " foo1 "\n", foo2 ); } } |
#define | DEBUG3(foo1, foo2, foo3) { if (DEBUG_ON) { fprintf(stdout, "DEBUG: " foo1 "\n", foo2, foo3 ); } } |
#define | DEBUG4(foo1, foo2, foo3, foo4) { if (DEBUG_ON) { fprintf(stdout, "DEBUG: " foo1 "\n", foo2, foo3, foo4 ); } } |
#define | DIE(reason) { fprintf(stderr, "ERROR: " reason "\n"); _exit(1); } |
#define | _POSIX_PATH_MAX 1024 |
#define | PATH_MAX _POSIX_PATH_MAX |
#define | MIN(x, y) ((x) < (y) ? (x) : (y)) |
|
|
|
Definition at line 31 of file share.h. Referenced by main(). |
|
Definition at line 32 of file share.h. Referenced by main(), and readconfig(). |
|
Definition at line 34 of file share.h. Referenced by main(). |
|
Definition at line 33 of file share.h. Referenced by readconfig(). |
|
Definition at line 39 of file share.h. Referenced by catch_signal(), fetch(), and main(). |
|
Definition at line 40 of file share.h. Referenced by fetch(), fetch_thread(), main(), process_header(), and set_signal_handlers(). |
|
Definition at line 41 of file share.h. Referenced by catch_signal(), and find_in_file(). |
|
Definition at line 42 of file share.h. Referenced by process_header(). |
|
|
|
Definition at line 44 of file share.h. Referenced by create_lockfile(), main(), and set_signal_handlers(). |
|
Definition at line 29 of file share.h. Referenced by main(). |
|
Definition at line 30 of file share.h. Referenced by main(). |
|
Definition at line 55 of file share.h. Referenced by fetch_thread(), and process_header(). |
|
Definition at line 35 of file share.h. Referenced by edit(), and readconfig(). |
|
Definition at line 51 of file share.h. Referenced by main(), and process_rss(). |