1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-01 09:11:59 +03:00

libnl-tiny: export unl_genl_multicast_id()

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29743 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2012-01-14 13:50:21 +00:00
parent 4773b5ef82
commit 87ed057f2e
2 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ int unl_genl_request(struct unl *unl, struct nl_msg *msg, unl_cb handler, void *
int unl_genl_request_single(struct unl *unl, struct nl_msg *msg, struct nl_msg **dest);
void unl_genl_loop(struct unl *unl, unl_cb handler, void *arg);
int unl_genl_multicast_id(struct unl *unl, const char *name);
int unl_genl_subscribe(struct unl *unl, const char *name);
int unl_genl_unsubscribe(struct unl *unl, const char *name);

View File

@ -173,7 +173,7 @@ void unl_genl_loop(struct unl *unl, unl_cb handler, void *arg)
nl_cb_put(cb);
}
static int unl_genl_multicast_id(struct unl *unl, const char *name)
int unl_genl_multicast_id(struct unl *unl, const char *name)
{
struct nlattr *tb[CTRL_ATTR_MCAST_GRP_MAX + 1];
struct nlattr *groups, *group;