File: common.h

package info (click to toggle)
tnat64 0.06-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,564 kB
  • sloc: sh: 4,214; ansic: 1,064; makefile: 41
file content (15 lines) | stat: -rw-r--r-- 355 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Common functions provided in common.c */

void set_log_options(int, char *, int);
void show_msg(int level, char *, ...);
unsigned int resolve_ip(char *, int, int);

#define HIDDENSYM __attribute__ ((visibility ("hidden")))

#define NAT64PREFIXLEN 12

#define MSGNONE   -1
#define MSGERR    0
#define MSGWARN   1
#define MSGNOTICE 2
#define MSGDEBUG  2