From 9e16b606f328f17800a1dab563a191555182fe32 Mon Sep 17 00:00:00 2001 From: darkcoven Date: Sat, 12 Oct 2013 19:11:27 +0200 Subject: [PATCH] Raw: expose encoding functions --- raw/include/nsdp/Makefile.am | 2 +- raw/{src => include/nsdp}/encoding.h | 0 raw/src/Makefile.am | 1 + raw/src/encoding.c | 2 +- raw/src/net.c | 2 +- 5 files changed, 4 insertions(+), 3 deletions(-) rename raw/{src => include/nsdp}/encoding.h (100%) diff --git a/raw/include/nsdp/Makefile.am b/raw/include/nsdp/Makefile.am index c2c9d40..ccce647 100644 --- a/raw/include/nsdp/Makefile.am +++ b/raw/include/nsdp/Makefile.am @@ -1,3 +1,3 @@ -noinst_HEADERS = attr.h list.h misc.h net.h protocol.h +noinst_HEADERS = attr.h encoding.h list.h misc.h net.h protocol.h diff --git a/raw/src/encoding.h b/raw/include/nsdp/encoding.h similarity index 100% rename from raw/src/encoding.h rename to raw/include/nsdp/encoding.h diff --git a/raw/src/Makefile.am b/raw/src/Makefile.am index b0ca5db..cc047c9 100644 --- a/raw/src/Makefile.am +++ b/raw/src/Makefile.am @@ -1,5 +1,6 @@ noinst_LTLIBRARIES = librawnsdp.la +noinst_HEADERS = encoding_attr.h librawnsdp_la_SOURCES = attr.c encoding.c encoding_attr.c list.c misc.c net.c librawnsdp_la_CPPFLAGS = -I$(top_srcdir)/raw/include/ -I$(top_srcdir)/lib/include/ diff --git a/raw/src/encoding.c b/raw/src/encoding.c index a21c372..0d8e889 100644 --- a/raw/src/encoding.c +++ b/raw/src/encoding.c @@ -3,7 +3,7 @@ #include #include -#include "encoding.h" +#include #include "encoding_attr.h" diff --git a/raw/src/net.c b/raw/src/net.c index c94f4eb..e5af939 100644 --- a/raw/src/net.c +++ b/raw/src/net.c @@ -8,7 +8,7 @@ #include #include -#include "encoding.h" +#include static inline void timespec_add (struct timespec *tsa, const struct timespec *tsb) -- 2.39.5