Moved debug.[ch] to utils folder

This commit is contained in:
Tobias Brunner
2012-10-24 16:00:51 +02:00
parent d5c143e5be
commit f05b427265
306 changed files with 445 additions and 443 deletions
@@ -15,7 +15,7 @@
#include "addrblock_validator.h"
#include <debug.h>
#include <utils/debug.h>
#include <credentials/certificates/x509.h>
#include <selectors/traffic_selector.h>
@@ -17,7 +17,7 @@
#include <time.h>
#include <debug.h>
#include <utils/debug.h>
#include <processing/jobs/callback_job.h>
typedef struct private_certexpire_cron_t private_certexpire_cron_t;
@@ -21,7 +21,7 @@
#include <limits.h>
#include <errno.h>
#include <debug.h>
#include <utils/debug.h>
#include <daemon.h>
#include <collections/hashtable.h>
#include <threading/mutex.h>
@@ -16,7 +16,7 @@
#include "eap_peap_avp.h"
#include <eap/eap.h>
#include <debug.h>
#include <utils/debug.h>
/**
* Microsoft Success and Failure Result AVPs
@@ -78,7 +78,7 @@ METHOD(eap_peap_avp_t, build, void,
}
*/
else
{
{
avp_data = chunk_skip(data, 4);
}
writer->write_data(writer, avp_data);
@@ -16,7 +16,7 @@
#include "eap_peap_peer.h"
#include "eap_peap_avp.h"
#include <debug.h>
#include <utils/debug.h>
#include <daemon.h>
typedef struct private_eap_peap_peer_t private_eap_peap_peer_t;
@@ -16,7 +16,7 @@
#include "eap_peap_server.h"
#include "eap_peap_avp.h"
#include <debug.h>
#include <utils/debug.h>
#include <daemon.h>
typedef struct private_eap_peap_server_t private_eap_peap_server_t;
@@ -15,7 +15,7 @@
#include "eap_simaka_pseudonym_provider.h"
#include <debug.h>
#include <utils/debug.h>
#include <collections/hashtable.h>
typedef struct private_eap_simaka_pseudonym_provider_t private_eap_simaka_pseudonym_provider_t;
+1 -1
View File
@@ -18,7 +18,7 @@
#include <tnc/tnc.h>
#include <tnc/tnccs/tnccs_manager.h>
#include <tls_eap.h>
#include <debug.h>
#include <utils/debug.h>
#include <daemon.h>
/**
@@ -15,7 +15,7 @@
#include "eap_ttls_avp.h"
#include <debug.h>
#include <utils/debug.h>
#define AVP_EAP_MESSAGE 79
#define AVP_HEADER_LEN 8
@@ -16,7 +16,7 @@
#include "eap_ttls_peer.h"
#include "eap_ttls_avp.h"
#include <debug.h>
#include <utils/debug.h>
#include <daemon.h>
#include <radius_message.h>
#include <sa/eap/eap_method.h>
@@ -16,7 +16,7 @@
#include "eap_ttls_server.h"
#include "eap_ttls_avp.h"
#include <debug.h>
#include <utils/debug.h>
#include <daemon.h>
#include <sa/eap/eap_method.h>
@@ -18,7 +18,7 @@
#include <daemon.h>
#include <hydra.h>
#include <debug.h>
#include <utils/debug.h>
typedef struct private_tnc_ifmap_listener_t private_tnc_ifmap_listener_t;
@@ -15,7 +15,7 @@
#include "tnc_ifmap_soap.h"
#include <debug.h>
#include <utils/debug.h>
#include <daemon.h>
#include <axis2_util.h>
+1 -1
View File
@@ -20,7 +20,7 @@
#include <tncif_pa_subtypes.h>
#include <debug.h>
#include <utils/debug.h>
#include <library.h>
#include <collections/linked_list.h>
#include <threading/mutex.h>
@@ -17,7 +17,7 @@
#include <tnc/imc/imc_manager.h>
#include <tnc/tnccs/tnccs_manager.h>
#include <debug.h>
#include <utils/debug.h>
/**
* Called by the IMC to inform a TNCC about the set of message types the IMC
@@ -20,7 +20,7 @@
#include <tncifimc.h>
#include <collections/linked_list.h>
#include <debug.h>
#include <utils/debug.h>
#include <daemon.h>
typedef struct private_tnc_imc_manager_t private_tnc_imc_manager_t;
+1 -1
View File
@@ -20,7 +20,7 @@
#include <tncif_pa_subtypes.h>
#include <debug.h>
#include <utils/debug.h>
#include <library.h>
#include <collections/linked_list.h>
#include <threading/mutex.h>
@@ -18,7 +18,7 @@
#include <tnc/imv/imv_manager.h>
#include <tnc/tnccs/tnccs_manager.h>
#include <debug.h>
#include <utils/debug.h>
/**
* Called by the IMV to inform a TNCS about the set of message types the IMV
@@ -30,7 +30,7 @@
#include <daemon.h>
#include <utils/lexparser.h>
#include <debug.h>
#include <utils/debug.h>
#include <threading/mutex.h>
typedef struct private_tnc_imv_manager_t private_tnc_imv_manager_t;
@@ -21,7 +21,7 @@
#include <tnc/imv/imv_manager.h>
#include <tnc/imv/imv_recommendations.h>
#include <debug.h>
#include <utils/debug.h>
#include <collections/linked_list.h>
typedef struct private_tnc_imv_recommendations_t private_tnc_imv_recommendations_t;
+1 -1
View File
@@ -23,7 +23,7 @@
#include <radius_mppe.h>
#include <daemon.h>
#include <debug.h>
#include <utils/debug.h>
#include <pen/pen.h>
#include <threading/thread.h>
#include <processing/jobs/callback_job.h>
@@ -16,7 +16,7 @@
#include "tnc_pdp_connections.h"
#include <collections/linked_list.h>
#include <debug.h>
#include <utils/debug.h>
typedef struct private_tnc_pdp_connections_t private_tnc_pdp_connections_t;
typedef struct entry_t entry_t;
@@ -20,7 +20,7 @@
#include <tnc/imc/imc_manager.h>
#include <tnc/imv/imv_manager.h>
#include <debug.h>
#include <utils/debug.h>
#include <collections/linked_list.h>
#include <threading/rwlock.h>
@@ -18,7 +18,7 @@
#include <tnc/tnc.h>
#include <debug.h>
#include <utils/debug.h>
typedef struct private_tnc_tnccs_plugin_t private_tnc_tnccs_plugin_t;
@@ -19,7 +19,7 @@
#include <tnc/tnccs/tnccs.h>
#include <collections/linked_list.h>
#include <debug.h>
#include <utils/debug.h>
#include <libxml/parser.h>
@@ -18,7 +18,7 @@
#include <tnc/tnccs/tnccs.h>
#include <utils/lexparser.h>
#include <debug.h>
#include <utils/debug.h>
typedef struct private_imc_imv_msg_t private_imc_imv_msg_t;
@@ -15,7 +15,7 @@
#include "tnccs_error_msg.h"
#include <debug.h>
#include <utils/debug.h>
ENUM(tnccs_error_type_names, TNCCS_ERROR_BATCH_TOO_LONG, TNCCS_ERROR_OTHER,
"batch-too-long",
@@ -108,7 +108,7 @@ tnccs_msg_t *tnccs_error_msg_create_from_node(xmlNodePtr node)
{
private_tnccs_error_msg_t *this;
xmlChar *error_type_name, *error_msg;
INIT(this,
.public = {
.tnccs_msg_interface = {
@@ -22,7 +22,7 @@
#include "tnccs_tncs_contact_info_msg.h"
#include <library.h>
#include <debug.h>
#include <utils/debug.h>
ENUM(tnccs_msg_type_names, IMC_IMV_MSG, TNCCS_MSG_ROOF,
"IMC-IMV",
@@ -15,7 +15,7 @@
#include "tnccs_preferred_language_msg.h"
#include <debug.h>
#include <utils/debug.h>
typedef struct private_tnccs_preferred_language_msg_t private_tnccs_preferred_language_msg_t;
@@ -16,7 +16,7 @@
#include "tnccs_reason_strings_msg.h"
#include "tnccs_error_msg.h"
#include <debug.h>
#include <utils/debug.h>
typedef struct private_tnccs_reason_strings_msg_t private_tnccs_reason_strings_msg_t;
@@ -16,7 +16,7 @@
#include "tnccs_recommendation_msg.h"
#include "tnccs_error_msg.h"
#include <debug.h>
#include <utils/debug.h>
typedef struct private_tnccs_recommendation_msg_t private_tnccs_recommendation_msg_t;
@@ -14,7 +14,7 @@
#include "tnccs_tncs_contact_info_msg.h"
#include <debug.h>
#include <utils/debug.h>
typedef struct private_tnccs_tncs_contact_info_msg_t private_tnccs_tncs_contact_info_msg_t;
+1 -1
View File
@@ -31,7 +31,7 @@
#include <tnc/tnccs/tnccs.h>
#include <tnc/tnccs/tnccs_manager.h>
#include <debug.h>
#include <utils/debug.h>
#include <daemon.h>
#include <threading/mutex.h>
@@ -24,7 +24,7 @@
#include <bio/bio_writer.h>
#include <bio/bio_reader.h>
#include <pen/pen.h>
#include <debug.h>
#include <utils/debug.h>
ENUM(pb_tnc_batch_type_names, PB_BATCH_CDATA, PB_BATCH_CLOSE,
"CDATA",
@@ -17,7 +17,7 @@
#include <bio/bio_writer.h>
#include <bio/bio_reader.h>
#include <debug.h>
#include <utils/debug.h>
ENUM(pb_access_recommendation_code_names, PB_REC_ACCESS_ALLOWED, PB_REC_QUARANTINED,
"Access Allowed",
@@ -113,7 +113,7 @@ METHOD(pb_tnc_msg_t, process, status_t,
*offset = 2;
return FAILED;
}
return SUCCESS;
}
@@ -19,7 +19,7 @@
#include <bio/bio_writer.h>
#include <bio/bio_reader.h>
#include <debug.h>
#include <utils/debug.h>
typedef struct private_pb_assessment_result_msg_t private_pb_assessment_result_msg_t;
@@ -106,7 +106,7 @@ METHOD(pb_tnc_msg_t, process, status_t,
*offset = 0;
return FAILED;
}
return SUCCESS;
}
@@ -20,7 +20,7 @@
#include <bio/bio_writer.h>
#include <bio/bio_reader.h>
#include <pen/pen.h>
#include <debug.h>
#include <utils/debug.h>
ENUM(pb_tnc_error_code_names, PB_ERROR_UNEXPECTED_BATCH_TYPE,
PB_ERROR_VERSION_NOT_SUPPORTED,
@@ -88,7 +88,7 @@ struct private_pb_error_msg_t {
u_int32_t error_offset;
/**
* Bad PB-TNC version received
* Bad PB-TNC version received
*/
u_int8_t bad_version;
@@ -17,7 +17,7 @@
#include <bio/bio_writer.h>
#include <bio/bio_reader.h>
#include <debug.h>
#include <utils/debug.h>
typedef struct private_pb_language_preference_msg_t private_pb_language_preference_msg_t;
@@ -22,7 +22,7 @@
#include <bio/bio_writer.h>
#include <bio/bio_reader.h>
#include <pen/pen.h>
#include <debug.h>
#include <utils/debug.h>
typedef struct private_pb_pa_msg_t private_pb_pa_msg_t;
@@ -17,7 +17,7 @@
#include <bio/bio_writer.h>
#include <bio/bio_reader.h>
#include <debug.h>
#include <utils/debug.h>
typedef struct private_pb_reason_string_msg_t private_pb_reason_string_msg_t;
@@ -17,7 +17,7 @@
#include <bio/bio_writer.h>
#include <bio/bio_reader.h>
#include <debug.h>
#include <utils/debug.h>
ENUM(pb_tnc_remed_param_type_names, PB_REMEDIATION_URI, PB_REMEDIATION_STRING,
"Remediation-URI",
@@ -15,7 +15,7 @@
#include "pb_tnc_state_machine.h"
#include <debug.h>
#include <utils/debug.h>
ENUM(pb_tnc_state_names, PB_STATE_INIT, PB_STATE_END,
"Init",
+1 -1
View File
@@ -34,7 +34,7 @@
#include <tnc/imc/imc_manager.h>
#include <tnc/imv/imv_manager.h>
#include <debug.h>
#include <utils/debug.h>
#include <daemon.h>
#include <threading/mutex.h>
#include <collections/linked_list.h>
@@ -17,7 +17,7 @@
#include <tnc/tnc.h>
#include <debug.h>
#include <utils/debug.h>
typedef struct private_tnccs_dynamic_t private_tnccs_dynamic_t;
@@ -120,7 +120,7 @@ METHOD(tls_t, destroy, void,
private_tnccs_dynamic_t *this)
{
DESTROY_IF(this->tls);
free(this);
free(this);
}
/**