make IMC/IMV pairs independent of libcharon

This commit is contained in:
Andreas Steffen
2011-06-01 16:33:44 +02:00
parent 91b9bc3e0f
commit 7c4d4d209d
43 changed files with 79 additions and 45 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libhydra \
-I$(top_srcdir)/src/libcharon
-I$(top_srcdir)/src/libcharon -I$(top_srcdir)/src/libtncif
AM_CFLAGS = -rdynamic
@@ -16,7 +16,8 @@
#include "tnc_imc_manager.h"
#include <tnc/imc/imc_manager.h>
#include <tnc/tncifimc.h>
#include <tncifimc.h>
#include <debug.h>
#include <library.h>
+2 -1
View File
@@ -1,6 +1,6 @@
INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libhydra \
-I$(top_srcdir)/src/libcharon
-I$(top_srcdir)/src/libcharon -I$(top_srcdir)/src/libtncif
AM_CFLAGS = -rdynamic
@@ -8,6 +8,7 @@ if MONOLITHIC
noinst_LTLIBRARIES = libstrongswan-tnc-imv.la
else
plugin_LTLIBRARIES = libstrongswan-tnc-imv.la
libstrongswan_tnc_imv_la_LIBADD = $(top_builddir)/src/libtncif/libtncif.la
endif
libstrongswan_tnc_imv_la_SOURCES = \
@@ -17,7 +17,8 @@
#include "tnc_imv_recommendations.h"
#include <tnc/imv/imv_manager.h>
#include <tnc/tncifimv.h>
#include <tncifimv.h>
#include <debug.h>
#include <daemon.h>
@@ -14,7 +14,9 @@
#include <debug.h>
#include <daemon.h>
#include <tnc/tncifimv.h>
#include <tncifimv.h>
#include <tnc/imv/imv.h>
#include <tnc/imv/imv_recommendations.h>
+3 -1
View File
@@ -1,6 +1,7 @@
INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libhydra \
-I$(top_srcdir)/src/libcharon -I$(top_srcdir)/src/libtls ${xml_CFLAGS}
-I$(top_srcdir)/src/libcharon -I$(top_srcdir)/src/libtls \
-I$(top_srcdir)/src/libtncif ${xml_CFLAGS}
AM_CFLAGS = -rdynamic
@@ -10,6 +11,7 @@ if MONOLITHIC
noinst_LTLIBRARIES = libstrongswan-tnccs-11.la
else
plugin_LTLIBRARIES = libstrongswan-tnccs-11.la
libstrongswan_tnccs_11_la_LIBADD += $(top_builddir)/src/libtncif/libtncif.la
endif
libstrongswan_tnccs_11_la_SOURCES = \
@@ -25,7 +25,7 @@ typedef struct imc_imv_msg_t imc_imv_msg_t;
#include "tnccs_msg.h"
#include <tnc/tncif.h>
#include <tncif.h>
/**
* Classs representing the PB-PA message type.
@@ -25,7 +25,7 @@ typedef struct tnccs_preferred_language_msg_t tnccs_preferred_language_msg_t;
#include "tnccs_msg.h"
#include <tnc/tncif.h>
#include <tncif.h>
/**
* Class representing the TNCCS-PreferredLanguage message type
@@ -25,7 +25,7 @@ typedef struct tnccs_recommendation_msg_t tnccs_recommendation_msg_t;
#include "tnccs_msg.h"
#include <tnc/tncifimv.h>
#include <tncifimv.h>
/**
* Class representing the TNCCS-Recommendation message type
@@ -25,8 +25,6 @@
#include <daemon.h>
#include <debug.h>
#include <threading/mutex.h>
#include <tnc/tncif.h>
#include <tnc/tncifimv.h>
#include <tnc/tnccs/tnccs.h>
typedef struct private_tnccs_11_t private_tnccs_11_t;
+3 -1
View File
@@ -1,6 +1,7 @@
INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libhydra \
-I$(top_srcdir)/src/libcharon -I$(top_srcdir)/src/libtls
-I$(top_srcdir)/src/libcharon -I$(top_srcdir)/src/libtls \
-I$(top_srcdir)/src/libtncif
AM_CFLAGS = -rdynamic
@@ -8,6 +9,7 @@ if MONOLITHIC
noinst_LTLIBRARIES = libstrongswan-tnccs-20.la
else
plugin_LTLIBRARIES = libstrongswan-tnccs-20.la
libstrongswan_tnccs_20_la_LIBADD = $(top_builddir)/src/libtncif/libtncif.la
endif
libstrongswan_tnccs_20_la_SOURCES = \
@@ -23,7 +23,7 @@
#include <bio/bio_writer.h>
#include <bio/bio_reader.h>
#include <tnc/tnccs/tnccs.h>
#include <tnc/pen/pen.h>
#include <pen/pen.h>
ENUM(pb_tnc_batch_type_names, PB_BATCH_CDATA, PB_BATCH_CLOSE,
"CDATA",
@@ -15,9 +15,10 @@
#include "pb_assessment_result_msg.h"
#include <tncifimv.h>
#include <bio/bio_writer.h>
#include <bio/bio_reader.h>
#include <tnc/tncifimv.h>
#include <debug.h>
typedef struct private_pb_assessment_result_msg_t private_pb_assessment_result_msg_t;
@@ -19,7 +19,7 @@
#include <bio/bio_writer.h>
#include <bio/bio_reader.h>
#include <tnc/tnccs/tnccs.h>
#include <tnc/pen/pen.h>
#include <pen/pen.h>
ENUM(pb_tnc_error_code_names, PB_ERROR_UNEXPECTED_BATCH_TYPE,
PB_ERROR_VERSION_NOT_SUPPORTED,
@@ -20,7 +20,7 @@
#include <bio/bio_writer.h>
#include <bio/bio_reader.h>
#include <tnc/tnccs/tnccs.h>
#include <tnc/pen/pen.h>
#include <pen/pen.h>
#include <debug.h>
ENUM(pa_tnc_subtype_names, PA_SUBTYPE_TESTING, PA_SUBTYPE_NEA_CLIENT,
+1 -3
View File
@@ -29,10 +29,8 @@
#include <debug.h>
#include <daemon.h>
#include <threading/mutex.h>
#include <tnc/tncif.h>
#include <tnc/tncifimv.h>
#include <tnc/tnccs/tnccs.h>
#include <tnc/pen/pen.h>
#include <pen/pen.h>
typedef struct private_tnccs_20_t private_tnccs_20_t;