X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=lib%2Ferror.h;fp=lib%2Ferror.h;h=0000000000000000000000000000000000000000;hp=248742309e5a4408bc292201868db46b20763ad6;hb=013a2e159e42c46808ea8d0b6abd57525db30a50;hpb=efa5148bc76effb440d807d653dda02de050fde0 diff --git a/lib/error.h b/lib/error.h deleted file mode 100644 index 24874230..00000000 --- a/lib/error.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - error.h -- header file for error.h - Copyright (C) 2000 Ivo Timmermans - 2000 Guus Sliepen - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - $Id: error.h,v 1.1 2000/10/19 20:56:49 zarq Exp $ -*/ - -#ifndef __TINC_ERROR_H__ -#define __TINC_ERROR_H__ - -#define ERR_IGNORE 00000 /* Ignore this error */ -#define ERR_FATAL 00001 /* Terminate program */ -#define ERR_UNLOAD 00002 /* Unload associated module */ -#define ERR_WARNING 01000 /* Warning message only */ -#define ERR_DEBUG 04000 /* Debug message */ - -extern void error(int severity, const char *message, ...); - -#endif /* __TINC_ERROR_H__ */