X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fwebcit.h;h=64034c777eb9f2afe842a23952d93d55714b1d82;hb=5249c9ab6b14efd4d0f92cb64afd78bff3f7e163;hp=0313da21e0d1c3367ba74162772b8fb3a5d5461f;hpb=665261416e7aced7e85fa0f297c7781094d89174;p=citadel.git diff --git a/webcit/webcit.h b/webcit/webcit.h index 0313da21e..64034c777 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1987-2013 by the citadel.org team + * Copyright (c) 1987-2014 by the citadel.org team * * This program is open source software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version 3. @@ -25,9 +25,6 @@ #include #include #include -#ifdef HAVE_SYS_TIME_H -#include -#endif #include #ifdef HAVE_LIMITS_H #include @@ -132,8 +129,8 @@ extern char *ssl_cipher_list; #define PORT_NUM 2000 /* port number to listen on */ #define DEVELOPER_ID 0 #define CLIENT_ID 4 -#define CLIENT_VERSION 821 /* This version of WebCit */ -#define MINIMUM_CIT_VERSION 821 /* Minimum required version of Citadel server */ +#define CLIENT_VERSION 829 /* This version of WebCit */ +#define MINIMUM_CIT_VERSION 829 /* Minimum required version of Citadel server */ #define LIBCITADEL_MIN 821 /* Minimum required version of libcitadel */ #define DEFAULT_HOST "localhost" /* Default Citadel server */ #define DEFAULT_PORT "504" @@ -695,7 +692,7 @@ extern char *days[]; long locate_user_vcard_in_this_room(message_summary **VCMsg, wc_mime_attachment **VCAtt); void http_transmit_thing(const char *content_type, int is_static); -void http_transmit_headers(const char *content_type, int is_static, long is_chunked); +void http_transmit_headers(const char *content_type, int is_static, long is_chunked, int is_gzip); long unescape_input(char *buf); void check_thread_pool_size(void); void StrEndTab(StrBuf *Target, int tabnum, int num_tabs); @@ -756,6 +753,7 @@ struct blogpost { long *msgs; /* Array of msgnums for messages we are displaying */ int num_msgs; /* Number of msgnums stored in 'msgs' */ int alloc_msgs; /* Currently allocated size of array */ + int unread_oments; };