X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Flib.h;h=614b88c8e5d14cfb5d84e39476330bdd68ccbb2f;hb=42b76ab379f0419d9521c9028ca41ae82b6ce890;hp=80090971463a83b8e9902c0782b1deca94937f49;hpb=2ea7e85635ce6279e52634e807dad71a8ee7660a;p=libucw.git diff --git a/lib/lib.h b/lib/lib.h index 80090971..614b88c8 100644 --- a/lib/lib.h +++ b/lib/lib.h @@ -81,6 +81,7 @@ extern char *log_title; /* NULL - print no title, default is log_progname */ extern char *log_filename; /* Expanded name of the current log file */ extern volatile int log_switch_nest; /* log_switch() nesting counter, increment to disable automatic switches */ extern int log_pid; /* 0 if shouldn't be logged */ +extern int log_precise_timings; /* Include microsecond timestamps in log messages */ extern void (*log_die_hook)(void); struct tm; extern void (*log_switch_hook)(struct tm *tm); @@ -207,6 +208,7 @@ void munmap_file(void *start, unsigned len); void setproctitle_init(int argc, char **argv); void setproctitle(char *msg, ...) FORMAT_CHECK(printf,1,2); +char *getproctitle(void); /* randomkey.c */