On Thu, 12 Feb 2009, Jesper Dangaard Brouer wrote:
On Thu, 12 Feb 2009, Jan Engelhardt wrote:
If Jesper then wants to play with the API, no problem, just
don't forget bumping the so_version correctly.
I'll try it out today... lets see how intrusive it is...
That was almost too easy...
Although, Jan has priviously introduced some libiptc API changes, so I had
to adjust my old example/test libiptc programs a bit. e.g. removed the
typedef iptc_handle_t.
Whats missing is that the libiptc.h header file should be installed.
My patch below is not doing the right thing. I don't know automake well
enough, to make it create a directory libiptc/ under include/ where it
should install libiptc.h.
Cheers,
Jesper Brouer
--
-------------------------------------------------------------------
MSc. Master of Computer Science
Dept. of Computer Science, University of Copenhagen
Author of http://www.adsl-optimizer.dk
-------------------------------------------------------------------
commit af01026f992347b70bcad05eda750b3808d7e970
Author: Jesper Dangaard Brouer <hawk@xxxxxxx>
Date: Thu Feb 12 11:32:09 2009 +0100
Install the libiptc.h header file.
This patch is not what I really want, as it installs libiptc.h directly in
include/ where is should be placed in include/libiptc/ to comply with the
old standard. The problem is that I don't know automake well enough...
diff --git a/Makefile.am b/Makefile.am
index 274b015..85dd1c7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -81,7 +81,7 @@ man_MANS = iptables.8 iptables-restore.8 iptables-save.8 \
ip6tables-save.8
CLEANFILES = iptables.8 ip6tables.8
if ENABLE_DEVEL
-include_HEADERS = include/xtables.h
+include_HEADERS = include/xtables.h include/libiptc/libiptc.h
endif
if ENABLE_STATIC
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html