1  /* handle_commands.h - declarations for handle_commands.c */
       2  #ifndef HANDLE_COMMANDS_H
       3  #define HANDLE_COMMANDS_H
       4  
       5  #include "tree_types.h"
       6  
       7  ELEMENT *handle_other_command (ELEMENT *current, char **line_inout,
       8                                 enum command_id cmd_id, int *status,
       9                                 ELEMENT **command_element);
      10  ELEMENT *handle_line_command (ELEMENT *current, char **line_inout,
      11                                enum command_id cmd_id, enum command_id data_cmd,
      12                                int *status, ELEMENT **command_element);
      13  ELEMENT *handle_block_command (ELEMENT *current, char **line_inout,
      14                                 enum command_id cmd_id, int *new_line,
      15                                 ELEMENT **command_element);
      16  ELEMENT *handle_brace_command (ELEMENT *current, char **line_inout,
      17                               enum command_id cmd_id, ELEMENT **command_element);
      18  int check_no_text (ELEMENT *current);
      19  
      20  void clear_expanded_formats (void);
      21  void add_expanded_format (char *format);
      22  
      23  struct expanded_format {
      24      char *format;
      25      int expandedp;
      26  };
      27  
      28  extern struct expanded_format expanded_formats[7];
      29  
      30  #endif