mirror_iproute2/genl/genl_utils.h
Stephen Hemminger 51070e8f18 genl: drop extern from function prototypes
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2018-08-20 16:01:01 -07:00

20 lines
412 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _TC_UTIL_H_
#define _TC_UTIL_H_ 1
#include "utils.h"
#include "linux/genetlink.h"
struct genl_util
{
struct genl_util *next;
char name[16];
int (*parse_genlopt)(struct genl_util *fu, int argc, char **argv);
int (*print_genlopt)(const struct sockaddr_nl *who,
struct nlmsghdr *n, void *arg);
};
int genl_ctrl_resolve_family(const char *family);
#endif