X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Fwebcit.h;fp=webcit%2Fwebcit.h;h=a087d5f37599b9514eeadc9ebfd38c237de08428;hp=64034c777eb9f2afe842a23952d93d55714b1d82;hb=9571de81331e169c042c630800bff1bde499c8a9;hpb=c51a64e8f8b42b6efd85f17c91178437d73a9c3d diff --git a/webcit/webcit.h b/webcit/webcit.h index 64034c777..a087d5f37 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1987-2014 by the citadel.org team + * Copyright (c) 1987-2015 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. @@ -61,8 +61,6 @@ #define _(string) (string) #endif -#define IsEmptyStr(a) ((a)[0] == '\0') - #define DO_DBG_QR 0 #define DBG_QR(x) if(DO_DBG_QR) _DBG_QR(x) #define DBG_QR2(x) if(DO_DBG_QR) _DBG_QR2(x) @@ -129,9 +127,9 @@ 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 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 CLIENT_VERSION 901 /* This version of WebCit */ +#define MINIMUM_CIT_VERSION 901 /* Minimum required version of Citadel server */ +#define LIBCITADEL_MIN 901 /* Minimum required version of libcitadel */ #define DEFAULT_HOST "localhost" /* Default Citadel server */ #define DEFAULT_PORT "504" #define TARGET "webcit01" /* Window target for inline URL's */ @@ -216,7 +214,9 @@ void SaveExpirePolicyFromHTTP(GPEXWhichPolicy which); typedef struct urlcontent urlcontent; struct urlcontent { char url_key[32]; /* key */ + long klen; StrBuf *url_data; /* value */ + HashList *sub; }; /*