OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /* |
2 | * netlink/genl/ctrl.h Generic Netlink Controller |
||
3 | * |
||
4 | * This library is free software; you can redistribute it and/or |
||
5 | * modify it under the terms of the GNU Lesser General Public |
||
6 | * License as published by the Free Software Foundation version 2.1 |
||
7 | * of the License. |
||
8 | * |
||
9 | * Copyright (c) 2003-2008 Thomas Graf <tgraf@suug.ch> |
||
10 | */ |
||
11 | |||
12 | #ifndef NETLINK_GENL_CTRL_H_ |
||
13 | #define NETLINK_GENL_CTRL_H_ |
||
14 | |||
15 | #include <netlink/netlink.h> |
||
16 | #include <netlink/cache.h> |
||
17 | #include <netlink/addr.h> |
||
18 | |||
19 | #ifdef __cplusplus |
||
20 | extern "C" { |
||
21 | #endif |
||
22 | |||
23 | struct genl_family; |
||
24 | |||
25 | extern int genl_ctrl_alloc_cache(struct nl_sock *, |
||
26 | struct nl_cache **); |
||
27 | extern struct genl_family * genl_ctrl_search(struct nl_cache *, int); |
||
28 | extern struct genl_family * genl_ctrl_search_by_name(struct nl_cache *, |
||
29 | const char *); |
||
30 | extern int genl_ctrl_resolve(struct nl_sock *, |
||
31 | const char *); |
||
32 | extern int genl_ctrl_resolve_grp(struct nl_sock *sk, |
||
33 | const char *family, |
||
34 | const char *grp); |
||
35 | |||
36 | #ifdef __cplusplus |
||
37 | } |
||
38 | #endif |
||
39 | |||
40 | #endif |