Moved settings_t to utils folder
This commit is contained in:
@@ -3,7 +3,7 @@ include $(CLEAR_VARS)
|
|||||||
|
|
||||||
# copy-n-paste from Makefile.am
|
# copy-n-paste from Makefile.am
|
||||||
LOCAL_SRC_FILES := \
|
LOCAL_SRC_FILES := \
|
||||||
library.c settings.c \
|
library.c \
|
||||||
asn1/asn1.c asn1/asn1_parser.c asn1/oid.c bio/bio_reader.c bio/bio_writer.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/blocking_queue.c collections/enumerator.c collections/hashtable.c \
|
||||||
collections/linked_list.c \
|
collections/linked_list.c \
|
||||||
@@ -32,7 +32,7 @@ selectors/traffic_selector.c threading/thread.c threading/thread_value.c \
|
|||||||
threading/mutex.c threading/semaphore.c threading/rwlock.c threading/spinlock.c \
|
threading/mutex.c threading/semaphore.c threading/rwlock.c threading/spinlock.c \
|
||||||
utils.c utils/chunk.c utils/debug.c utils/enum.c utils/identification.c \
|
utils.c utils/chunk.c utils/debug.c utils/enum.c utils/identification.c \
|
||||||
utils/lexparser.c utils/optionsfrom.c utils/capabilities.c utils/backtrace.c \
|
utils/lexparser.c utils/optionsfrom.c utils/capabilities.c utils/backtrace.c \
|
||||||
utils/printf_hook.c
|
utils/printf_hook.c utils/settings.c
|
||||||
|
|
||||||
# adding the plugin source files
|
# adding the plugin source files
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
ipseclib_LTLIBRARIES = libstrongswan.la
|
ipseclib_LTLIBRARIES = libstrongswan.la
|
||||||
|
|
||||||
libstrongswan_la_SOURCES = \
|
libstrongswan_la_SOURCES = \
|
||||||
library.c settings.c \
|
library.c \
|
||||||
asn1/asn1.c asn1/asn1_parser.c asn1/oid.c bio/bio_reader.c bio/bio_writer.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/blocking_queue.c collections/enumerator.c collections/hashtable.c \
|
||||||
collections/linked_list.c \
|
collections/linked_list.c \
|
||||||
@@ -30,12 +30,12 @@ selectors/traffic_selector.c threading/thread.c threading/thread_value.c \
|
|||||||
threading/mutex.c threading/semaphore.c threading/rwlock.c threading/spinlock.c \
|
threading/mutex.c threading/semaphore.c threading/rwlock.c threading/spinlock.c \
|
||||||
utils.c utils/chunk.c utils/debug.c utils/enum.c utils/identification.c \
|
utils.c utils/chunk.c utils/debug.c utils/enum.c utils/identification.c \
|
||||||
utils/lexparser.c utils/optionsfrom.c utils/capabilities.c utils/backtrace.c \
|
utils/lexparser.c utils/optionsfrom.c utils/capabilities.c utils/backtrace.c \
|
||||||
utils/printf_hook.c
|
utils/printf_hook.c utils/settings.c
|
||||||
|
|
||||||
if USE_DEV_HEADERS
|
if USE_DEV_HEADERS
|
||||||
strongswan_includedir = ${dev_headers}
|
strongswan_includedir = ${dev_headers}
|
||||||
nobase_strongswan_include_HEADERS = \
|
nobase_strongswan_include_HEADERS = \
|
||||||
library.h settings.h \
|
library.h \
|
||||||
asn1/asn1.h asn1/asn1_parser.h asn1/oid.h bio/bio_reader.h bio/bio_writer.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/blocking_queue.h collections/enumerator.h collections/hashtable.h \
|
||||||
collections/linked_list.h \
|
collections/linked_list.h \
|
||||||
@@ -71,7 +71,7 @@ threading/mutex.h threading/condvar.h threading/spinlock.h threading/semaphore.h
|
|||||||
threading/rwlock.h threading/rwlock_condvar.h threading/lock_profiler.h \
|
threading/rwlock.h threading/rwlock_condvar.h threading/lock_profiler.h \
|
||||||
utils.h utils/chunk.h utils/debug.h utils/enum.h utils/identification.h \
|
utils.h utils/chunk.h utils/debug.h utils/enum.h utils/identification.h \
|
||||||
utils/lexparser.h utils/optionsfrom.h utils/capabilities.h utils/backtrace.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
|
utils/leak_detective.h utils/printf_hook.h utils/settings.h utils/integrity_checker.h
|
||||||
endif
|
endif
|
||||||
|
|
||||||
library.lo : $(top_builddir)/config.status
|
library.lo : $(top_builddir)/config.status
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
typedef struct crypto_factory_t crypto_factory_t;
|
typedef struct crypto_factory_t crypto_factory_t;
|
||||||
|
|
||||||
#include <library.h>
|
#include <library.h>
|
||||||
|
#include <collections/enumerator.h>
|
||||||
#include <crypto/crypters/crypter.h>
|
#include <crypto/crypters/crypter.h>
|
||||||
#include <crypto/aead.h>
|
#include <crypto/aead.h>
|
||||||
#include <crypto/signers/signer.h>
|
#include <crypto/signers/signer.h>
|
||||||
|
|||||||
@@ -83,7 +83,6 @@
|
|||||||
/* make sure we include printf_hook.h first */
|
/* make sure we include printf_hook.h first */
|
||||||
#include "utils/printf_hook.h"
|
#include "utils/printf_hook.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "settings.h"
|
|
||||||
#include "networking/host_resolver.h"
|
#include "networking/host_resolver.h"
|
||||||
#include "processing/processor.h"
|
#include "processing/processor.h"
|
||||||
#include "processing/scheduler.h"
|
#include "processing/scheduler.h"
|
||||||
@@ -97,6 +96,7 @@
|
|||||||
#include "utils/chunk.h"
|
#include "utils/chunk.h"
|
||||||
#include "utils/integrity_checker.h"
|
#include "utils/integrity_checker.h"
|
||||||
#include "utils/leak_detective.h"
|
#include "utils/leak_detective.h"
|
||||||
|
#include "utils/settings.h"
|
||||||
#include "plugins/plugin_loader.h"
|
#include "plugins/plugin_loader.h"
|
||||||
|
|
||||||
typedef struct library_t library_t;
|
typedef struct library_t library_t;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @defgroup settings settings
|
* @defgroup settings settings
|
||||||
* @{ @ingroup libstrongswan
|
* @{ @ingroup utils
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SETTINGS_H_
|
#ifndef SETTINGS_H_
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
typedef struct settings_t settings_t;
|
typedef struct settings_t settings_t;
|
||||||
|
|
||||||
#include "utils.h"
|
#include "../utils.h"
|
||||||
#include "collections/enumerator.h"
|
#include "collections/enumerator.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Reference in New Issue
Block a user