Moved out most ob mavl_ into libmavl.
Current libmavl is here: https://svn.planix.org/rsrch/trunk/libmavl
This commit is contained in:
@ -5,9 +5,9 @@ OBJDIR=./o
|
||||
LIBDIR := ../../lib
|
||||
LIBARCHDIR := $(LIBDIR)/$(KERNEL)/$(ARCH)
|
||||
|
||||
CFLAGS+=-I../ -DUSE_OPENSSL
|
||||
LDFLAGS=-L$(LIBARCHDIR)
|
||||
LIBS+=-lcw -lnettle -lssl -ldl
|
||||
CFLAGS+=-I../ -DUSE_OPENSSL -I../contrib/openssl-1.1.1f/include/ -I/home/tube/v/rsrch/libmavl
|
||||
LDFLAGS+=-L$(LIBARCHDIR)
|
||||
LIBS+=-lcw -lnettle -lssl -lcrypto -ldl -lpthread -lmavl
|
||||
|
||||
SOURCES=\
|
||||
wtp_main.c\
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "cw/log.h"
|
||||
#include "cw/dbg.h"
|
||||
#include "cw/sock.h"
|
||||
#include "cw/mavl.h"
|
||||
#include "mavl.h"
|
||||
|
||||
#include "wtp.h"
|
||||
|
||||
|
@ -13,6 +13,7 @@
|
||||
|
||||
#include "cw/dtls.h"
|
||||
#include "wtp.h"
|
||||
#include "cw/mavltypes.h"
|
||||
|
||||
#define MAX_MODS 32
|
||||
struct bootcfg{
|
||||
@ -127,7 +128,7 @@ int main (int argc, char **argv)
|
||||
/* create a types tree with default types */
|
||||
types_tree = cw_ktv_create_types_tree();
|
||||
for (ti=CW_KTV_STD_TYPES;*ti;ti++){
|
||||
mavl_add_ptr(types_tree,*ti);
|
||||
mavl_insert_ptr(types_tree,*ti);
|
||||
}
|
||||
|
||||
/* read the initial config file */
|
||||
|
Reference in New Issue
Block a user