From 01bf2fcf57944104f9a774c8716950f397d666ce Mon Sep 17 00:00:00 2001 From: Dmitri Pal Date: Wed, 7 Oct 2009 09:45:39 -0400 Subject: ELAPI Compatibility code for getifaddr() Addreses ticket #94 Actually works pretty well. To try use --enable-compat when build ELAPI. It will use compatibility code instead of getifaddr(). The trick in the elapi_ioctl.h with memory allocation is taken from Stevens book. --- common/elapi/elapi_test/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/elapi/elapi_test') diff --git a/common/elapi/elapi_test/Makefile.am b/common/elapi/elapi_test/Makefile.am index c0eac8a5..d9f1bb0b 100644 --- a/common/elapi/elapi_test/Makefile.am +++ b/common/elapi/elapi_test/Makefile.am @@ -33,13 +33,17 @@ libelapi_test_la_SOURCES = \ ../elapi_resolve.c \ ../elapi_async.c \ ../elapi_subst.c \ + ../elapi_ioctl.c \ ../elapi_event.h \ ../elapi_priv.h \ ../elapi_sink.h \ ../elapi_log.h \ ../elapi_async.h \ + ../elapi_ioctl.h \ + ../elapi_net.h \ ../elapi_fd.h \ ../elapi_tm.h \ + ../elapi_defines.h \ ../elapi.h \ ../providers/file/file_provider.c \ ../providers/file/file_provider.h \ -- cgit