1 | /*************************************** 2 | $Revision: 1.3 $ 3 | 4 | Error reporting (er) er_macro.h - header file for the simple macro processor 5 | 6 | Status: NOT REVUED, PARTLY TESTED 7 | 8 | Design and implementation by: Marek Bukowy 9 | 10 | ******************/ /****************** 11 | Copyright (c) 1999,2000,2001,2002 RIPE NCC 12 | 13 | All Rights Reserved 14 | 15 | Permission to use, copy, modify, and distribute this software and its 16 | documentation for any purpose and without fee is hereby granted, 17 | provided that the above copyright notice appear in all copies and that 18 | both that copyright notice and this permission notice appear in 19 | supporting documentation, and that the name of the author not be 20 | used in advertising or publicity pertaining to distribution of the 21 | software without specific, written prior permission. 22 | 23 | THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 24 | ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO EVENT SHALL 25 | AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY 26 | DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN 27 | AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 28 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 29 | ***************************************/ 30 | 31 | #ifndef ER_MACRO_H 32 | #define ER_MACRO_H 33 | 34 | 35 | #include "sk.h" 36 | 37 | int ER_process_split(int argc, char **argv, char **output); 38 | int ER_macro_spec(char *input, char **errbuf); 39 | void ER_make_macro(char *name, char *def); 40 | void ER_macro_predef(void); 41 | void ER_macro_list(sk_conn_st *condat); 42 | void ER_proc_ca_macro(void); 43 | void ER_proc_ca_err(void); 44 | 45 | 46 | #endif /* ER_MACRO_H */