Merge remote branch 'origin/master' into on-waves/sccp
This commit is contained in:
commit
be49ea0601
|
@ -1 +1,2 @@
|
|||
noinst_HEADERS = sccp_types.h sccp.h
|
||||
sccp_HEADERS = sccp_types.h sccp.h
|
||||
sccpdir = $(includedir)/sccp
|
||||
|
|
|
@ -27,11 +27,11 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <openbsc/msgb.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "sccp_types.h"
|
||||
|
||||
struct msgb;
|
||||
struct sccp_system;
|
||||
|
||||
enum {
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: OpenBSC SCCP Lib
|
||||
Description: OpenBSC SCCP Lib
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lsccp
|
||||
Cflags: -I${includedir}/
|
|
@ -24,11 +24,12 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#include <osmocore/msgb.h>
|
||||
#include <openbsc/debug.h>
|
||||
#include <osmocore/talloc.h>
|
||||
|
||||
#include <sccp/sccp.h>
|
||||
|
||||
#include <openbsc/debug.h>
|
||||
#include <openbsc/talloc.h>
|
||||
#include <openbsc/linuxlist.h>
|
||||
|
||||
static void *tall_sccp_ctx;
|
||||
static LLIST_HEAD(sccp_connections);
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
INCLUDES = $(all_includes) -I$(top_srcdir)/include
|
||||
AM_CFLAGS=-Wall -ggdb3
|
||||
AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS)
|
||||
|
||||
noinst_PROGRAMS = sccp_test
|
||||
|
||||
sccp_test_SOURCES = sccp_test.c
|
||||
sccp_test_LDADD = $(top_builddir)/src/libsccp.a $(top_builddir)/src/libbsc.a
|
||||
sccp_test_LDADD = $(top_builddir)/src/libsccp.a $(top_builddir)/src/libbsc.a $(LIBOSMOCORE_LIBS)
|
||||
|
||||
|
|
|
@ -26,9 +26,11 @@
|
|||
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include <sccp/sccp.h>
|
||||
#include <openbsc/gsm_data.h>
|
||||
#include <openbsc/debug.h>
|
||||
#include <osmocore/msgb.h>
|
||||
|
||||
#include <sccp/sccp.h>
|
||||
|
||||
#define MIN(x, y) ((x) < (y) ? (x) : (y))
|
||||
|
||||
|
|
Loading…
Reference in New Issue