summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2009-09-11 00:59:31 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2009-09-11 00:59:31 +0200
commit3404b62fe3ec24961e68e7e97b270a5d0f7e1ef7 (patch)
treec02a9059f3b037bf832eb4a6d4c8dd59067b6ec6
parentbdb968410d7c29d1ebf93c71ea6bfc61e4ac090a (diff)
downloadeurephia-3404b62fe3ec24961e68e7e97b270a5d0f7e1ef7.tar.gz
eurephia-3404b62fe3ec24961e68e7e97b270a5d0f7e1ef7.tar.xz
eurephia-3404b62fe3ec24961e68e7e97b270a5d0f7e1ef7.zip
Workaround to avoid confusing Doxygen on some extra declarations
-rw-r--r--common/eurephiadb_session_common.c5
-rw-r--r--doxygen/Doxygen.conf2
2 files changed, 4 insertions, 3 deletions
diff --git a/common/eurephiadb_session_common.c b/common/eurephiadb_session_common.c
index 9b65331..f9fc795 100644
--- a/common/eurephiadb_session_common.c
+++ b/common/eurephiadb_session_common.c
@@ -41,6 +41,7 @@
#include <eurephiadb_session_struct.h>
+#ifndef DOXYGEN
#ifndef DRIVER_MODE // Use the right declaration, depending on if we compile driver or plug-in/exec
// Function needed to be found in the database driver
int (*eDBstore_session_value) (eurephiaCTX *ctx, eurephiaSESSION *session, int mode,
@@ -48,8 +49,8 @@ int (*eDBstore_session_value) (eurephiaCTX *ctx, eurephiaSESSION *session, int m
#else
int eDBstore_session_value (eurephiaCTX *ctx, eurephiaSESSION *session, int mode,
const char *key, const char *val);
-#endif
-
+#endif /* !DRIVER_MODE */
+#endif /* !DOXYGEN */
/**
* Adds or updates a key in the eurephiaVALUES stack. Database is updated before the stack is updated.
* If database fails, the stack is not updated.
diff --git a/doxygen/Doxygen.conf b/doxygen/Doxygen.conf
index 308c32d..1946f61 100644
--- a/doxygen/Doxygen.conf
+++ b/doxygen/Doxygen.conf
@@ -1262,7 +1262,7 @@ INCLUDE_FILE_PATTERNS =
# undefined via #undef or recursively expanded use the := operator
# instead of the = operator.
-PREDEFINED = ENABLE_DEBUG ENABLE_EUREPHIADM EUREPHIA_FWINTF FIREWALL FW_IPTABLES HAVE_LIBXML2 HAVE_LIBXSLT HAVE_OPENSSL SHOW_SECRETS
+PREDEFINED = DOXYGEN ENABLE_DEBUG ENABLE_EUREPHIADM EUREPHIA_FWINTF FIREWALL FW_IPTABLES HAVE_LIBXML2 HAVE_LIBXSLT HAVE_OPENSSL SHOW_SECRETS
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
# this tag can be used to specify a list of macro names that should be expanded.