#ifndef _LOG_ROUTINES
#define _LOG_ROUTINES

extern void init_log(char *progname);
extern void logp(const char *fmt, ...);
extern void logc(const char *fmt, ...);
extern void logp_ssl_err(const char *fmt, ...);
extern const char *progname(void);
extern int set_logfp(const char *path, struct config *conf);
extern FILE *get_logfp(void);
extern void log_out_of_memory(const char *function);

#endif
