X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fwebcit.h;h=2aa529bfbdf9822091fd85d35667ee4eb728f262;hb=6ef495f61980e6126bd9c945399337ea75bdb39a;hp=c93fec496104cae20646cd1ac3f748ca330340cc;hpb=57ffec48a0334ff04e673f21266b74052d547814;p=citadel.git diff --git a/webcit/webcit.h b/webcit/webcit.h index c93fec496..2aa529bfb 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -645,7 +645,14 @@ void output_headers( int do_httpheaders, int suppress_check, int cache); void output_custom_content_header(const char *ctype); + +#ifdef UBER_VERBOSE_DEBUGGING +#define wc_printf(...) wcc_printf(__FILE__, __FUNCTION__, __LINE__, __VA_ARGS__) +void wcc_printf(const char *FILE, const char *FUNCTION, long LINE, const char *format, ...); +#else void wc_printf(const char *format,...)__attribute__((__format__(__printf__,1,2))); +#endif + void hprintf(const char *format,...)__attribute__((__format__(__printf__,1,2))); void output_static(const char* What); @@ -706,8 +713,6 @@ void clear_local_substs(void); int lingering_close(int fd); -char *memreadline(char *start, char *buf, int maxlen); -char *memreadlinelen(char *start, char *buf, int maxlen, int *retlen); long extract_token(char *dest, const char *source, int parmnum, char separator, int maxlen); void remove_token(char *source, int parmnum, char separator); StrBuf *load_mimepart(long msgnum, char *partnum);