OpenMPI 0.1.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

show_help_lex.h
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
40 extern FILE *opal_show_help_yyin;
41 extern bool opal_show_help_parse_done;
42 extern char *opal_show_help_yytext;
43 extern int opal_show_help_yynewlines;
44
45 /*
46 * Make lex-generated files not issue compiler warnings
47 */
48 #define YY_STACK_USED 0
49 #define YY_ALWAYS_INTERACTIVE 0
50 #define YY_NEVER_INTERACTIVE 0
51 #define YY_MAIN 0
52 #define YY_NO_UNPUT 1
53 #define YY_SKIP_YYWRAP 1
54
55 enum {
56 OPAL_SHOW_HELP_PARSE_DONE,
57 OPAL_SHOW_HELP_PARSE_ERROR,
58
59 OPAL_SHOW_HELP_PARSE_TOPIC,
60 OPAL_SHOW_HELP_PARSE_MESSAGE,
61
62 OPAL_SHOW_HELP_PARSE_MAX
63 };
64 END_C_DECLS
65 #endif