root/opal/util/show_help_lex.h

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

INCLUDED FROM


   1 /*
   2  * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
   3  *                         University Research and Technology
   4  *                         Corporation.  All rights reserved.
   5  * Copyright (c) 2004-2005 The University of Tennessee and The University
   6  *                         of Tennessee Research Foundation.  All rights
   7  *                         reserved.
   8  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
   9  *                         University of Stuttgart.  All rights reserved.
  10  * Copyright (c) 2004-2005 The Regents of the University of California.
  11  *                         All rights reserved.
  12  * Copyright (c) 2006      Cisco Systems, Inc.  All rights reserved.
  13  * $COPYRIGHT$
  14  *
  15  * Additional copyrights may follow
  16  *
  17  * $HEADER$
  18  */
  19 
  20 #ifndef OPAL_SHOW_HELP_LEX_H
  21 #define OPAL_SHOW_HELP_LEX_H
  22 
  23 #include "opal_config.h"
  24 
  25 #ifdef malloc
  26 #undef malloc
  27 #endif
  28 #ifdef realloc
  29 #undef realloc
  30 #endif
  31 #ifdef free
  32 #undef free
  33 #endif
  34 
  35 #include <stdio.h>
  36 BEGIN_C_DECLS
  37 int opal_show_help_yylex(void);
  38 int opal_show_help_init_buffer(FILE *file);
  39 int opal_show_help_yylex_destroy(void);
  40 
  41 extern FILE *opal_show_help_yyin;
  42 extern bool opal_show_help_parse_done;
  43 extern char *opal_show_help_yytext;
  44 extern int opal_show_help_yynewlines;
  45 
  46 /*
  47  * Make lex-generated files not issue compiler warnings
  48  */
  49 #define YY_STACK_USED 0
  50 #define YY_ALWAYS_INTERACTIVE 0
  51 #define YY_NEVER_INTERACTIVE 0
  52 #define YY_MAIN 0
  53 #define YY_NO_UNPUT 1
  54 #define YY_SKIP_YYWRAP 1
  55 
  56 enum {
  57     OPAL_SHOW_HELP_PARSE_DONE,
  58     OPAL_SHOW_HELP_PARSE_ERROR,
  59 
  60     OPAL_SHOW_HELP_PARSE_TOPIC,
  61     OPAL_SHOW_HELP_PARSE_MESSAGE,
  62 
  63     OPAL_SHOW_HELP_PARSE_MAX
  64 };
  65 END_C_DECLS
  66 #endif

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