xref: /linux/drivers/block/drbd/drbd_nla.h (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __DRBD_NLA_H
3 #define __DRBD_NLA_H
4 
5 extern int drbd_nla_parse_nested(struct nlattr *tb[], int maxtype, struct nlattr *nla,
6 				 const struct nla_policy *policy);
7 extern struct nlattr *drbd_nla_find_nested(int maxtype, struct nlattr *nla, int attrtype);
8 
9 #endif  /* __DRBD_NLA_H */
10