Blame tipc/msg.h

Packit Service 3880ab
/*
Packit Service 3880ab
 * msg.h	Messaging (netlink) helper functions.
Packit Service 3880ab
 *
Packit Service 3880ab
 *		This program is free software; you can redistribute it and/or
Packit Service 3880ab
 *		modify it under the terms of the GNU General Public License
Packit Service 3880ab
 *		as published by the Free Software Foundation; either version
Packit Service 3880ab
 *		2 of the License, or (at your option) any later version.
Packit Service 3880ab
 *
Packit Service 3880ab
 * Authors:	Richard Alpe <richard.alpe@ericsson.com>
Packit Service 3880ab
 */
Packit Service 3880ab
Packit Service 3880ab
#ifndef _TIPC_MSG_H
Packit Service 3880ab
#define _TIPC_MSG_H
Packit Service 3880ab
Packit Service 3880ab
struct nlmsghdr *msg_init(char *buf, int cmd);
Packit Service 3880ab
int msg_doit(struct nlmsghdr *nlh, mnl_cb_t callback, void *data);
Packit Service 3880ab
int msg_dumpit(struct nlmsghdr *nlh, mnl_cb_t callback, void *data);
Packit Service 3880ab
int parse_attrs(const struct nlattr *attr, void *data);
Packit Service 3880ab
Packit Service 3880ab
#endif