diff options
author | Thomas Graf <tgraf@suug.ch> | 2013-04-01 09:14:49 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2013-04-01 09:14:49 (GMT) |
commit | aad041c46f6f0720bff8e8727e8ff39f2196d2a8 (patch) | |
tree | cb6f1a9bd7d4d65fb15a5f5c486492c64e65e564 /include/netlink-private | |
parent | 6c9be5a31681ddf9a669ecf643092928ab0f2138 (diff) | |
download | libnl-aad041c46f6f0720bff8e8727e8ff39f2196d2a8.zip libnl-aad041c46f6f0720bff8e8727e8ff39f2196d2a8.tar.gz libnl-aad041c46f6f0720bff8e8727e8ff39f2196d2a8.tar.bz2 |
genl: Provide internal function to resolve name to id
Like genl_ops_resolve() but uses its own socket.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'include/netlink-private')
-rw-r--r-- | include/netlink-private/genl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/netlink-private/genl.h b/include/netlink-private/genl.h index 0aca6d7..5b93db3 100644 --- a/include/netlink-private/genl.h +++ b/include/netlink-private/genl.h @@ -17,4 +17,6 @@ #define GENL_HDRSIZE(hdrlen) (GENL_HDRLEN + (hdrlen)) +extern int genl_resolve_id(struct genl_ops *ops); + #endif |