On Monday 2009-02-09 21:45, jamal wrote: > >Ok, I just synced with latest git. I will send you a few patches first. >My path to resolving tc/ipt is to start with being able to take a basic >useless program like: > >---------- >#include <xtables.h> >int main(int argc, char **argv) { > > return 0; >} >-------- > >then compile and link with "gcc useless.c -lxtables -ldl" > >As it is right now i have to define in the minimal exit_error() I do not think a library should call exit() and cause the main program to terminate; to this end it might be best to add a void (*exit_error)(.. function pointer to the xtables_global struct you are proposing. > >Here's the basic change. If you could convert iptables.c and friends to also make use of this, that'd be great. -- 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