File: common.h

package info (click to toggle)
libnftnl 1.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,060 kB
  • sloc: ansic: 25,721; sh: 5,175; makefile: 340
file content (21 lines) | stat: -rw-r--r-- 315 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _LIBNFTNL_COMMON_INTERNAL_H
#define _LIBNFTNL_COMMON_INTERNAL_H

#define BASE_DEC 10
#define BASE_HEX 16

#define NFTNL_SNPRINTF_BUFSIZ 4096

struct nftnl_parse_err {
	int line;
	int column;
	int error;
	const char *node_name;
};

enum nftnl_parse_input {
	NFTNL_PARSE_BUFFER,
	NFTNL_PARSE_FILE,
};

#endif