Moved chunk_t to utils folder

This commit is contained in:
Tobias Brunner
2012-10-24 16:00:50 +02:00
parent 05e448c5cc
commit 125b37af6d
12 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
#ifndef ATTRIBUTE_HANDLER_H_
#define ATTRIBUTE_HANDLER_H_
#include <chunk.h>
#include <utils/chunk.h>
#include <utils/identification.h>
#include <collections/linked_list.h>
+2 -2
View File
@@ -3,7 +3,7 @@ include $(CLEAR_VARS)
# copy-n-paste from Makefile.am
LOCAL_SRC_FILES := \
library.c chunk.c debug.c enum.c settings.c \
library.c debug.c enum.c settings.c \
asn1/asn1.c asn1/asn1_parser.c asn1/oid.c bio/bio_reader.c bio/bio_writer.c \
collections/blocking_queue.c collections/enumerator.c collections/hashtable.c \
collections/linked_list.c \
@@ -30,7 +30,7 @@ pen/pen.c plugins/plugin_loader.c plugins/plugin_feature.c processing/jobs/job.c
processing/jobs/callback_job.c processing/processor.c processing/scheduler.c \
selectors/traffic_selector.c threading/thread.c threading/thread_value.c \
threading/mutex.c threading/semaphore.c threading/rwlock.c threading/spinlock.c \
utils.c utils/identification.c utils/lexparser.c \
utils.c utils/chunk.c utils/identification.c utils/lexparser.c \
utils/optionsfrom.c utils/capabilities.c utils/backtrace.c utils/printf_hook.c
# adding the plugin source files
+4 -4
View File
@@ -1,7 +1,7 @@
ipseclib_LTLIBRARIES = libstrongswan.la
libstrongswan_la_SOURCES = \
library.c chunk.c debug.c enum.c settings.c \
library.c debug.c enum.c settings.c \
asn1/asn1.c asn1/asn1_parser.c asn1/oid.c bio/bio_reader.c bio/bio_writer.c \
collections/blocking_queue.c collections/enumerator.c collections/hashtable.c \
collections/linked_list.c \
@@ -28,13 +28,13 @@ pen/pen.c plugins/plugin_loader.c plugins/plugin_feature.c processing/jobs/job.c
processing/jobs/callback_job.c processing/processor.c processing/scheduler.c \
selectors/traffic_selector.c threading/thread.c threading/thread_value.c \
threading/mutex.c threading/semaphore.c threading/rwlock.c threading/spinlock.c \
utils.c utils/identification.c utils/lexparser.c \
utils.c utils/chunk.c utils/identification.c utils/lexparser.c \
utils/optionsfrom.c utils/capabilities.c utils/backtrace.c utils/printf_hook.c
if USE_DEV_HEADERS
strongswan_includedir = ${dev_headers}
nobase_strongswan_include_HEADERS = \
library.h chunk.h debug.h enum.h settings.h \
library.h debug.h enum.h settings.h \
asn1/asn1.h asn1/asn1_parser.h asn1/oid.h bio/bio_reader.h bio/bio_writer.h \
collections/blocking_queue.h collections/enumerator.h collections/hashtable.h \
collections/linked_list.h \
@@ -68,7 +68,7 @@ processing/scheduler.h selectors/traffic_selector.h \
threading/thread.h threading/thread_value.h \
threading/mutex.h threading/condvar.h threading/spinlock.h threading/semaphore.h \
threading/rwlock.h threading/rwlock_condvar.h threading/lock_profiler.h \
utils.h utils/identification.h utils/lexparser.h \
utils.h utils/chunk.h utils/identification.h utils/lexparser.h \
utils/optionsfrom.h utils/capabilities.h utils/backtrace.h \
utils/leak_detective.h utils/printf_hook.h utils/integrity_checker.h
endif
+1 -1
View File
@@ -26,7 +26,7 @@ typedef struct fetcher_t fetcher_t;
typedef enum fetcher_option_t fetcher_option_t;
#include <stdarg.h>
#include <chunk.h>
#include <utils/chunk.h>
/**
* Constructor function which creates fetcher instances.
+1 -1
View File
@@ -83,7 +83,6 @@
/* make sure we include printf_hook.h first */
#include "utils/printf_hook.h"
#include "utils.h"
#include "chunk.h"
#include "settings.h"
#include "networking/host_resolver.h"
#include "processing/processor.h"
@@ -95,6 +94,7 @@
#include "credentials/credential_factory.h"
#include "credentials/credential_manager.h"
#include "credentials/cred_encoding.h"
#include "utils/chunk.h"
#include "utils/integrity_checker.h"
#include "utils/leak_detective.h"
#include "plugins/plugin_loader.h"
+1 -1
View File
@@ -34,7 +34,7 @@ typedef struct host_t host_t;
#include <netinet/in.h>
#include <arpa/inet.h>
#include <chunk.h>
#include <utils/chunk.h>
/**
* Differences between two hosts. They differ in
@@ -24,7 +24,7 @@
#include <errno.h>
#include <library.h>
#include <chunk.h>
#include <utils/chunk.h>
#include <debug.h>
#ifndef UNIX_PATH_MAX
@@ -20,7 +20,7 @@
#include "mysql_database.h"
#include <debug.h>
#include <chunk.h>
#include <utils/chunk.h>
#include <threading/thread_value.h>
#include <threading/mutex.h>
#include <collections/linked_list.h>
@@ -30,7 +30,7 @@ typedef struct pkcs11_library_t pkcs11_library_t;
#include "pkcs11.h"
#include <enum.h>
#include <chunk.h>
#include <utils/chunk.h>
#include <collections/enumerator.h>
/**
@@ -17,7 +17,7 @@
/**
* @defgroup chunk chunk
* @{ @ingroup libstrongswan
* @{ @ingroup utils
*/
#ifndef CHUNK_H_
@@ -42,7 +42,7 @@ struct chunk_t {
size_t len;
};
#include "utils.h"
#include "../utils.h"
/**
* A { NULL, 0 }-chunk handy for initialization.
+1 -1
View File
@@ -29,7 +29,7 @@ typedef struct identification_t identification_t;
typedef enum id_match_t id_match_t;
typedef enum id_part_t id_part_t;
#include <chunk.h>
#include <utils/chunk.h>
#include <collections/enumerator.h>
/**