modules/er/er_yacc_helper.h

/* [<][>][^][v][top]
[bottom][index][help] */

FUNCTIONS

This source file includes following functions.

   1 /******************
   2   Copyright (c) 2002                                        RIPE NCC
   3 
   4   All Rights Reserved
   5 
   6   Permission to use, copy, modify, and distribute this software and its
   7   documentation for any purpose and without fee is hereby granted,
   8   provided that the above copyright notice appear in all copies and that
   9   both that copyright notice and this permission notice appear in
  10   supporting documentation, and that the name of the author not be
  11   used in advertising or publicity pertaining to distribution of the
  12   software without specific, written prior permission.
  13 
  14   THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  15   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO EVENT SHALL
  16   AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
  17   DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
  18   AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  19   OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  20   ***************************************/
  21 
  22 /* defined in the inc file */
  23 
  24 #ifndef ER_YACC_HELPER_H
  25 #define ER_YACC_HELPER_H
  26 
  27 #ifdef __cplusplus
  28 extern "C" {
  29 #endif
  30 
  31 void myerror(void *ypar, char *s);
  32 er_ret_t mysetsev(lexerr_t *erst, int ismax, char *spec);
  33 void mycleanup(void *ypar);
  34 void er_yy_tracelog(char *fmt, ...);
  35 int ER_parse_spec(char *buf, char **ert);
  36 
  37 /* defined for the lex file */
  38 void lexcleancurbuf(void);
  39 int er_yylex();
  40 
  41 /* defined in the lex generated file */
  42 extern void er_yy_delete_buffer();
  43 extern void er_yy_switch_to_buffer();
  44 
  45 #ifdef __cplusplus
  46 }
  47 #endif
  48 
  49 
  50 #endif /* ER_YACC_HELPER_H */

/* [<][>][^][v][top][bottom][index][help] */