Moved out most ob mavl_ into libmavl.

Current libmavl is here:
https://svn.planix.org/rsrch/trunk/libmavl
This commit is contained in:
2022-07-18 01:15:17 +02:00
parent 1734000f41
commit 8d09b1d596
46 changed files with 94 additions and 1370 deletions

View File

@ -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\

View File

@ -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"

View File

@ -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 */