Added some structures and types that are needed for the overhaul.
This commit is contained in:
parent
c04c84c980
commit
d335c6d0d7
2 changed files with 30 additions and 5 deletions
|
@ -20,6 +20,14 @@
|
|||
#ifndef __TINC_UTILS_H__
|
||||
#define __TINC_UTILS_H__
|
||||
|
||||
enum {
|
||||
DEBUG_CONNECTIONS = 0,
|
||||
DEBUG_PROTOCOL,
|
||||
DEBUG_STATUS,
|
||||
DEBUG_error,
|
||||
DEBUG_META
|
||||
};
|
||||
|
||||
#define min(a,b) (((a)<(b))?(a):(b))
|
||||
|
||||
#define cp { cp_line = __LINE__; cp_file = __FILE__; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue