Blame tipc/msg.h

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