Moved settings_t to utils folder
This commit is contained in:
@@ -3,7 +3,7 @@ include $(CLEAR_VARS)
|
||||
|
||||
# copy-n-paste from Makefile.am
|
||||
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 \
|
||||
collections/blocking_queue.c collections/enumerator.c collections/hashtable.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 \
|
||||
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/printf_hook.c
|
||||
utils/printf_hook.c utils/settings.c
|
||||
|
||||
# adding the plugin source files
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
ipseclib_LTLIBRARIES = libstrongswan.la
|
||||
|
||||
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 \
|
||||
collections/blocking_queue.c collections/enumerator.c collections/hashtable.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 \
|
||||
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/printf_hook.c
|
||||
utils/printf_hook.c utils/settings.c
|
||||
|
||||
if USE_DEV_HEADERS
|
||||
strongswan_includedir = ${dev_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 \
|
||||
collections/blocking_queue.h collections/enumerator.h collections/hashtable.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 \
|
||||
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/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
|
||||
|
||||
library.lo : $(top_builddir)/config.status
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
typedef struct crypto_factory_t crypto_factory_t;
|
||||
|
||||
#include <library.h>
|
||||
#include <collections/enumerator.h>
|
||||
#include <crypto/crypters/crypter.h>
|
||||
#include <crypto/aead.h>
|
||||
#include <crypto/signers/signer.h>
|
||||
|
||||
@@ -83,7 +83,6 @@
|
||||
/* make sure we include printf_hook.h first */
|
||||
#include "utils/printf_hook.h"
|
||||
#include "utils.h"
|
||||
#include "settings.h"
|
||||
#include "networking/host_resolver.h"
|
||||
#include "processing/processor.h"
|
||||
#include "processing/scheduler.h"
|
||||
@@ -97,6 +96,7 @@
|
||||
#include "utils/chunk.h"
|
||||
#include "utils/integrity_checker.h"
|
||||
#include "utils/leak_detective.h"
|
||||
#include "utils/settings.h"
|
||||
#include "plugins/plugin_loader.h"
|
||||
|
||||
typedef struct library_t library_t;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
/**
|
||||
* @defgroup settings settings
|
||||
* @{ @ingroup libstrongswan
|
||||
* @{ @ingroup utils
|
||||
*/
|
||||
|
||||
#ifndef SETTINGS_H_
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
typedef struct settings_t settings_t;
|
||||
|
||||
#include "utils.h"
|
||||
#include "../utils.h"
|
||||
#include "collections/enumerator.h"
|
||||
|
||||
/**
|
||||
Reference in New Issue
Block a user