#ifndef ACTIONS_H_INCLUDED
#define ACTIONS_H_INCLUDED
-#define ACTIONS_H_VERSION "$Id: actions.h,v 1.20 2011/09/04 11:10:56 fabiankeil Exp $"
+#define ACTIONS_H_VERSION "$Id: actions.h,v 1.21 2012/07/27 17:39:57 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/actions.h,v $
*********************************************************************/
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
struct action_spec;
struct current_action_spec;
struct client_state;
extern const char actions_rcs[];
extern const char actions_h_rcs[];
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef ACTIONS_H_INCLUDED */
/*
#ifndef CGI_H_INCLUDED
#define CGI_H_INCLUDED
-#define CGI_H_VERSION "$Id: cgi.h,v 1.41 2011/09/04 11:10:56 fabiankeil Exp $"
+#define CGI_H_VERSION "$Id: cgi.h,v 1.42 2012/11/09 10:47:42 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgi.h,v $
#include "project.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/*
* Main dispatch function
*/
extern const char cgi_rcs[];
extern const char cgi_h_rcs[];
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef CGI_H_INCLUDED */
/*
#ifndef CGIEDIT_H_INCLUDED
#define CGIEDIT_H_INCLUDED
-#define CGIEDIT_H_VERSION "$Id: cgiedit.h,v 1.11 2009/05/16 13:27:20 fabiankeil Exp $"
+#define CGIEDIT_H_VERSION "$Id: cgiedit.h,v 1.12 2011/09/04 11:10:56 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgiedit.h,v $
#include "project.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/*
* CGI functions
*/
extern const char cgiedit_rcs[];
extern const char cgiedit_h_rcs[];
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef CGI_H_INCLUDED */
/*
#ifndef CGISIMPLE_H_INCLUDED
#define CGISIMPLE_H_INCLUDED
-#define CGISIMPLE_H_VERSION "$Id: cgisimple.h,v 1.17 2009/05/16 13:27:20 fabiankeil Exp $"
+#define CGISIMPLE_H_VERSION "$Id: cgisimple.h,v 1.18 2011/09/04 11:10:56 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgisimple.h,v $
#include "project.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/*
* CGI functions
*/
extern const char cgisimple_rcs[];
extern const char cgisimple_h_rcs[];
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef CGISIMPLE_H_INCLUDED */
/*
#ifndef DEANIMATE_H_INCLUDED
#define DEANIMATE_H_INCLUDED
-#define DEANIMATE_H_VERSION "$Id: deanimate.h,v 1.13 2009/05/16 13:27:20 fabiankeil Exp $"
+#define DEANIMATE_H_VERSION "$Id: deanimate.h,v 1.14 2011/09/04 11:10:56 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/deanimate.h,v $
*********************************************************************/
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/*
* A struct that holds a buffer, a read/write offset,
* and the buffer's capacity.
extern const char deanimate_rcs[];
extern const char deanimate_h_rcs[];
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef DEANIMATE_H_INCLUDED */
/*
#ifndef ENCODE_H_INCLUDED
#define ENCODE_H_INCLUDED
-#define ENCODE_H_VERSION "$Id: encode.h,v 1.11 2011/09/04 11:10:56 fabiankeil Exp $"
+#define ENCODE_H_VERSION "$Id: encode.h,v 1.12 2011/11/06 11:44:56 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/encode.h,v $
*********************************************************************/
-#ifdef __cplusplus
-extern "C" {
-#endif
-
extern char * html_encode(const char *s);
extern char * url_encode(const char *s);
extern char * url_decode(const char *str);
extern const char encode_rcs[];
extern const char encode_h_rcs[];
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef ENCODE_H_INCLUDED */
/*
#ifndef ERRLOG_H_INCLUDED
#define ERRLOG_H_INCLUDED
-#define ERRLOG_H_VERSION "$Id: errlog.h,v 1.28 2012/07/27 17:27:47 fabiankeil Exp $"
+#define ERRLOG_H_VERSION "$Id: errlog.h,v 1.29 2012/07/27 17:39:57 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/errlog.h,v $
*********************************************************************/
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/* Debug level for errors */
/* XXX: Should be renamed. */
extern const char errlog_rcs[];
extern const char errlog_h_rcs[];
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef ERRLOG_H_INCLUDED */
/*
#ifndef FILTERS_H_INCLUDED
#define FILTERS_H_INCLUDED
-#define FILTERS_H_VERSION "$Id: filters.h,v 1.43 2011/09/04 11:10:56 fabiankeil Exp $"
+#define FILTERS_H_VERSION "$Id: filters.h,v 1.44 2013/11/06 16:27:37 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/filters.h,v $
#include "project.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
/*
* ACL checking
*/
extern const char filters_rcs[];
extern const char filters_h_rcs[];
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef FILTERS_H_INCLUDED */
/*
#ifndef GATEWAY_H_INCLUDED
#define GATEWAY_H_INCLUDED
-#define GATEWAY_H_VERSION "$Id: gateway.h,v 1.21 2011/09/04 11:10:56 fabiankeil Exp $"
+#define GATEWAY_H_VERSION "$Id: gateway.h,v 1.22 2012/10/23 10:16:52 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/gateway.h,v $
*********************************************************************/
-#ifdef __cplusplus
-extern "C" {
-#endif
-
struct forward_spec;
struct http_request;
struct client_state;
extern const char gateway_rcs[];
extern const char gateway_h_rcs[];
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef GATEWAY_H_INCLUDED */
/*
#ifndef JBSOCKETS_H_INCLUDED
#define JBSOCKETS_H_INCLUDED
-#define JBSOCKETS_H_VERSION "$Id: jbsockets.h,v 1.20 2011/09/04 11:10:56 fabiankeil Exp $"
+#define JBSOCKETS_H_VERSION "$Id: jbsockets.h,v 1.21 2012/10/12 11:17:48 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jbsockets.h,v $
#include "project.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
struct client_state;
extern jb_socket connect_to(const char *host, int portnum, struct client_state *csp);
#endif
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef JBSOCKETS_H_INCLUDED */
/*
#ifndef JCC_H_INCLUDED
#define JCC_H_INCLUDED
-#define JCC_H_VERSION "$Id: jcc.h,v 1.31 2011/10/30 16:20:12 fabiankeil Exp $"
+#define JCC_H_VERSION "$Id: jcc.h,v 1.32 2011/11/06 11:48:23 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.h,v $
*********************************************************************/
-#ifdef __cplusplus
-extern "C" {
-#endif
-
struct client_state;
struct file_list;
extern const char jcc_rcs[];
extern const char jcc_h_rcs[];
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef JCC_H_INCLUDED */
/*
#ifndef LIST_H_INCLUDED
#define LIST_H_INCLUDED
-#define LIST_H_VERSION "$Id: list.h,v 1.17 2010/11/22 10:32:40 fabiankeil Exp $"
+#define LIST_H_VERSION "$Id: list.h,v 1.18 2011/09/04 11:10:56 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/list.h,v $
#include "project.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
/*
* struct list
*
extern const char list_rcs[];
extern const char list_h_rcs[];
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef LIST_H_INCLUDED */
/*
#ifndef LOADCFG_H_INCLUDED
#define LOADCFG_H_INCLUDED
-#define LOADCFG_H_VERSION "$Id: loadcfg.h,v 1.15 2009/09/10 14:45:17 fabiankeil Exp $"
+#define LOADCFG_H_VERSION "$Id: loadcfg.h,v 1.16 2011/09/04 11:10:56 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/loadcfg.h,v $
*********************************************************************/
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/* Don't need project.h, only this: */
struct configuration_spec;
extern const char loadcfg_rcs[];
extern const char loadcfg_h_rcs[];
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef LOADCFG_H_INCLUDED */
/*
#ifndef LOADERS_H_INCLUDED
#define LOADERS_H_INCLUDED
-#define LOADERS_H_VERSION "$Id: loaders.h,v 1.30 2012/12/07 12:43:05 fabiankeil Exp $"
+#define LOADERS_H_VERSION "$Id: loaders.h,v 1.31 2013/11/06 16:27:37 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/loaders.h,v $
*********************************************************************/
-#ifdef __cplusplus
-extern "C" {
-#endif
-
extern unsigned int sweep(void);
extern char *read_config_line(FILE *fp, unsigned long *linenum, char **buf);
extern int check_file_changed(const struct file_list * current,
extern const char loaders_rcs[];
extern const char loaders_h_rcs[];
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef LOADERS_H_INCLUDED */
/*
#ifndef PARSERS_H_INCLUDED
#define PARSERS_H_INCLUDED
-#define PARSERS_H_VERSION "$Id: parsers.h,v 1.54 2012/10/21 12:58:03 fabiankeil Exp $"
+#define PARSERS_H_VERSION "$Id: parsers.h,v 1.55 2012/12/07 12:43:55 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/parsers.h,v $
#include "project.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/* Used for sed()'s second argument. */
#define FILTER_CLIENT_HEADERS 0
#define FILTER_SERVER_HEADERS 1
extern const char parsers_rcs[];
extern const char parsers_h_rcs[];
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef PARSERS_H_INCLUDED */
/*
*
*********************************************************************/
-#define PCRS_H_VERSION "$Id: pcrs.h,v 1.16 2007/04/30 15:02:19 fabiankeil Exp $"
+#define PCRS_H_VERSION "$Id: pcrs.h,v 1.17 2009/05/16 13:27:20 fabiankeil Exp $"
#ifndef _PCRE_H
#include <pcre.h>
#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/*
* Constants:
*/
#define PCRS_BUFFER_SIZE 4000
#endif /* ndef PCRS_BUFFER_SIZE */
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef PCRS_H_INCLUDED */
/*
#ifndef PROJECT_H_INCLUDED
#define PROJECT_H_INCLUDED
/** Version string. */
-#define PROJECT_H_VERSION "$Id: project.h,v 1.197 2013/11/24 14:21:58 fabiankeil Exp $"
+#define PROJECT_H_VERSION "$Id: project.h,v 1.198 2013/11/24 14:22:51 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/project.h,v $
#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#ifdef _WIN32
typedef SOCKET jb_socket;
*/
#define CGI_PREFIX "http://" CGI_SITE_2_HOST CGI_SITE_2_PATH "/"
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef PROJECT_H_INCLUDED */
/*
#ifndef SSPLIT_H_INCLUDED
#define SSPLIT_H_INCLUDED
-#define SSPLIT_H_VERSION "$Id: ssplit.h,v 1.10 2011/09/04 11:10:56 fabiankeil Exp $"
+#define SSPLIT_H_VERSION "$Id: ssplit.h,v 1.11 2012/06/08 15:15:11 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/ssplit.h,v $
*********************************************************************/
-#ifdef __cplusplus
-extern "C" {
-#endif
-
extern int ssplit(char *str, const char *delim, char *vec[], size_t vec_len);
/* Revision control strings from this header and associated .c file */
extern const char ssplit_rcs[];
extern const char ssplit_h_rcs[];
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef SSPLIT_H_INCLUDED */
/*
#ifndef URLMATCH_H_INCLUDED
#define URLMATCH_H_INCLUDED
-#define URLMATCH_H_VERSION "$Id: urlmatch.h,v 1.18 2011/11/06 11:41:05 fabiankeil Exp $"
+#define URLMATCH_H_VERSION "$Id: urlmatch.h,v 1.19 2013/11/24 14:22:51 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/urlmatch.h,v $
#include "project.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
extern void free_http_request(struct http_request *http);
#ifndef FEATURE_EXTENDED_HOST_PATTERNS
extern jb_err init_domain_components(struct http_request *http);
extern const char urlmatch_rcs[];
extern const char urlmatch_h_rcs[];
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef URLMATCH_H_INCLUDED */
/*
#ifndef W32LOG_H_INCLUDED
#define W32LOG_H_INCLUDED
-#define W32LOG_H_VERSION "$Id: w32log.h,v 1.15 2010/08/14 23:28:52 ler762 Exp $"
+#define W32LOG_H_VERSION "$Id: w32log.h,v 1.16 2011/09/04 11:10:56 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/w32log.h,v $
*********************************************************************/
-#ifdef __cplusplus
-extern "C" {
-#endif
-
extern HWND g_hwndLogFrame;
/* Indicates whether task bar shows activity animation */
extern const char w32log_rcs[];
extern const char w32log_h_rcs[];
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef W32LOG_H_INCLUDED */
#ifndef W32_SVRAPI_H_INCLUDED
#define W32_SVRAPI_H_INCLUDED
-#define W32_SVRAPI_H_VERSION "$Id: w32svrapi.h,v 1.2 2009/05/16 13:27:20 fabiankeil Exp $"
+#define W32_SVRAPI_H_VERSION "$Id: w32svrapi.h,v 1.3 2011/09/04 11:10:56 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/w32svrapi.h,v $
*********************************************************************/
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#ifdef _WIN32
#endif /* def _WIN32 */
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef W32_SVRAPI_H_INCLUDED */
#ifndef W32TASKBAR_H_INCLUDED
#define W32TASKBAR_H_INCLUDED
-#define W32TASKBAR_H_VERSION "$Id: w32taskbar.h,v 1.7 2009/05/16 13:27:20 fabiankeil Exp $"
+#define W32TASKBAR_H_VERSION "$Id: w32taskbar.h,v 1.8 2011/09/04 11:10:56 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/w32taskbar.h,v $
*********************************************************************/
-#ifdef __cplusplus
-extern "C" {
-#endif
-
extern HWND CreateTrayWindow(HINSTANCE hInstance);
extern BOOL TrayAddIcon(HWND hwnd, UINT uID, HICON hicon, const char *pszToolTip);
extern BOOL TraySetIcon(HWND hwnd, UINT uID, HICON hicon);
extern const char w32taskbar_rcs[];
extern const char w32taskbar_h_rcs[];
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef W32TASKBAR_H_INCLUDED */
#ifndef WIN32_H_INCLUDED
#define WIN32_H_INCLUDED
-#define WIN32_H_VERSION "$Id: win32.h,v 1.8 2009/05/16 13:27:20 fabiankeil Exp $"
+#define WIN32_H_VERSION "$Id: win32.h,v 1.9 2011/09/04 11:10:56 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/win32.h,v $
*********************************************************************/
-#ifdef __cplusplus
-extern "C" {
-#endif
-
extern const char win32_blurb[];
extern void InitWin32(void);
extern const char win32_rcs[];
extern const char win32_h_rcs[];
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* ndef WIN32_H_INCLUDED */
/*