Added some structures and types that are needed for the overhaul.

This commit is contained in:
Ivo Timmermans 2000-09-14 14:32:34 +00:00
parent c04c84c980
commit d335c6d0d7
2 changed files with 30 additions and 5 deletions

View file

@ -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__; }