hotplug2: patches from OpenWRT/svn
[tomato.git] / release / src / router / hotplug2 / hotplug2_utils.h
blobedf859eb8f645edc2da1f196183139cdcb3ffc35
1 /*****************************************************************************\
2 * _ _ _ _ ___ *
3 * | || | ___ | |_ _ __ | | _ _ __ _ |_ ) *
4 * | __ |/ _ \| _|| '_ \| || || |/ _` | / / *
5 * |_||_|\___/ \__|| .__/|_| \_,_|\__, |/___| *
6 * |_| |___/ *
7 \*****************************************************************************/
9 #ifndef HOTPLUG2_UTILS_H
10 #define HOTPLUG2_UTILS_H 1
12 #include "hotplug2.h"
14 #define NETLINK_UNDEFINED 0
15 #define NETLINK_CONNECT 1
16 #define NETLINK_BIND 2
18 inline event_seqnum_t get_kernel_seqnum();
19 inline int init_netlink_socket(int);
21 #endif