/* $Id: lukemftp.h,v 1.20 2000/02/03 09:20:51 lukem Exp $ */ #define FTP_PRODUCT "lukemftp" #define FTP_VERSION "1.2" #include "config.h" #ifdef __STDC__ # define __P(protos) protos # define __STRING(x) #x #else # define __P(protos) () # define __STRING(x) "x" #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef __STDC__ # include # define VA_START(a, f) va_start(a, f) # define VA_ARG(v, a, t) /* no-op */ #else # include # define VA_START(a, f) va_start(a) # define VA_ARG(v, a, t) v = va_arg(a, t) #endif #if HAVE_ERR_H # include #endif #if ! HAVE_ERR void err __P((int, const char *, ...)); void errx __P((int, const char *, ...)); void warn __P((const char *, ...)); void warnx __P((const char *, ...)); #endif