X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=netlink.h;fp=netlink.h;h=9efbce4da5714ec042f151e2cb96814d9cb8e3d9;hb=33ccd714ea9469b5b7d3b36bbe468ba1b0f31dfc;hp=0000000000000000000000000000000000000000;hpb=2095aa52444f9ab598475ddcf8ca1773a02f8e13;p=catta diff --git a/netlink.h b/netlink.h new file mode 100644 index 0000000..9efbce4 --- /dev/null +++ b/netlink.h @@ -0,0 +1,18 @@ +#ifndef foonetlinkhfoo +#define foonetlinkhfoo + +#include +#include +#include + +#include + +struct _flxNetlink; +typedef struct _flxNetlink flxNetlink; + +flxNetlink *flx_netlink_new(GMainContext *c, guint32 groups, void (*cb) (flxNetlink *n, struct nlmsghdr *m, gpointer userdata), gpointer userdata); +void flx_netlink_free(flxNetlink *n); + +int flx_netlink_send(flxNetlink *n, struct nlmsghdr *m, guint *ret_seq); + +#endif