1  /* api.h - declarations for api.c */
       2  #ifndef API_H
       3  #define API_H
       4  
       5  int init (int texinfo_uninstalled, char *srcdir_in);
       6  
       7  int parse_file (char *filename);
       8  void parse_piece (char *, int line_nr);
       9  void parse_string (char *, int line_nr);
      10  void parse_text (char *, int line_nr);
      11  void reset_parser (int debug_output);
      12  void reset_parser_except_conf (void);
      13  void set_debug (int);
      14  void wipe_values (void);
      15  void reset_context_stack (void);
      16  
      17  void set_DOC_ENCODING_FOR_INPUT_FILE_NAME (int i);
      18  void conf_set_input_file_name_encoding (char *value);
      19  void conf_set_locale_encoding (char *value);
      20  void conf_set_documentlanguage_override (char *value);
      21  
      22  HV *build_texinfo_tree (void);
      23  AV *build_target_elements_list (void);
      24  AV *build_internal_xref_list (void);
      25  HV *build_float_list (void);
      26  HV *build_index_data (void);
      27  HV *build_global_info (void);
      28  HV *build_global_info2 (void);
      29  AV *get_errors (void);
      30  
      31  #endif