- forward declarations of structs musntn't duplicate. use the cpp to circumvent this.
tnx the_mgt for reporting this.
CON_SYS /* This is a system context and mustn't be purged */
} CCState;
+#ifndef __ASYNCIO__
+#define __ASYNCIO__
typedef struct AsyncIO AsyncIO; /* forward declaration for event_client.h */
+#endif
+#ifndef __CIT_CONTEXT__
+#define __CIT_CONTEXT__
typedef struct CitContext CitContext;
+#endif
/*
* Here's the big one... the Citadel context structure.
#include <ares.h>
#include <curl/curl.h>
+#ifndef __ASYNCIO__
+#define __ASYNCIO__
typedef struct AsyncIO AsyncIO;
+#endif
+#ifndef __CIT_CONTEXT__
+#define __CIT_CONTEXT__
typedef struct CitContext CitContext;
+#endif
typedef enum _eNextState {
eSendDNSQuery,