1 /* Avoid namespace conflicts. */ 2 #define context perl_context 3 4 #define PERL_NO_GET_CONTEXT 5 #include "EXTERN.h" 6 #include "perl.h" 7 #include "XSUB.h" 8 9 #undef context 10 11 #include "ppport.h" 12 13 #include "parser.h" 14 #include "api.h" 15 #include "indices.h" 16 #include "input.h" 17 18 MODULE = Texinfo::Parser PACKAGE = Texinfo::Parser 19 20 PROTOTYPES: ENABLE 21 22 int 23 init (texinfo_uninstalled, srcdir) 24 int texinfo_uninstalled 25 char *srcdir 26 27 char * 28 dump_errors () 29 30 void 31 wipe_errors () 32 33 int 34 parse_file(filename) 35 char * filename 36 37 void 38 parse_string(string) 39 char * string 40 41 void 42 parse_text(string) 43 char * string 44 45 void 46 store_value (name, value) 47 char *name 48 char *value 49 50 void 51 wipe_values () 52 53 void 54 reset_context_stack () 55 56 void 57 init_index_commands () 58 59 void 60 add_include_directory (filename) 61 char *filename 62 63 HV * 64 build_texinfo_tree () 65 66 AV * 67 build_label_list () 68 69 AV * 70 build_internal_xref_list () 71 72 HV * 73 build_float_list () 74 75 HV * 76 build_index_data () 77 78 HV * 79 build_global_info () 80 81 HV * 82 build_global_info2 () 83 84 void 85 reset_parser () 86 87 void 88 clear_expanded_formats () 89 90 void 91 add_expanded_format (format) 92 char *format 93 94 void 95 conf_set_show_menu (int i) 96 97 void 98 conf_set_CPP_LINE_DIRECTIVES (int i) 99 100 void 101 conf_set_IGNORE_SPACE_AFTER_BRACED_COMMAND_NAME (int i) 102 103 void 104 set_novalidate (int i) 105 106 void 107 set_documentlanguage (value) 108 char *value 109 110 void 111 set_debug (int i) 112