aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/tnc/tnccs/tnccs_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon/tnc/tnccs/tnccs_manager.h')
-rw-r--r--src/libcharon/tnc/tnccs/tnccs_manager.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/libcharon/tnc/tnccs/tnccs_manager.h b/src/libcharon/tnc/tnccs/tnccs_manager.h
index 34f60029d..5051d4bb3 100644
--- a/src/libcharon/tnc/tnccs/tnccs_manager.h
+++ b/src/libcharon/tnc/tnccs/tnccs_manager.h
@@ -21,12 +21,14 @@
#ifndef TNCCS_MANAGER_H_
#define TNCCS_MANAGER_H_
+typedef struct tnccs_manager_t tnccs_manager_t;
+
+#ifdef USE_TNC
+
#include "tnccs.h"
#include <tnc/imv/imv_recommendations.h>
-typedef struct tnccs_manager_t tnccs_manager_t;
-
/**
* The TNCCS manager manages all TNCCS implementations and creates instances.
*
@@ -76,7 +78,7 @@ struct tnccs_manager_t {
TNC_ConnectionID (*create_connection)(tnccs_manager_t *this, tnccs_t *tnccs,
tnccs_send_message_t send_message,
bool *request_handshake_retry,
- recommendations_t **recs);
+ recommendations_t **recs);
/**
* Remove a TNCCS connection using its connection ID.
@@ -183,4 +185,6 @@ struct tnccs_manager_t {
*/
tnccs_manager_t *tnccs_manager_create();
+#endif /* USE_TNC */
+
#endif /** TNCCS_MANAGER_H_ @}*/