/* the macro overload style is really a gcc-ism */
#ifdef __GNUC__
-
#define log(X...) \
if (log_enabled) { \
fprintf(stderr, "%s(%d): pid=%ld :", __FILE__, __LINE__, (long)getpid() ); \
void warn(char *format,...);
#endif
-
struct hstruct {
char *host;
int port;
char *pw;
};
-
void init_args(struct main_args *margs);
void clean_args(struct main_args *margs);
const char *LogTime(void);