home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / d / d-linux.zip / dm-dist / interpreter.h < prev    next >
C/C++ Source or Header  |  1991-03-01  |  976b  |  24 lines

  1. /* ************************************************************************
  2. *  file: Interpreter.h , Command interpreter module.      Part of DIKUMUD *
  3. *  Usage: Procedures interpreting user command                            *
  4. ************************************************************************* */
  5.  
  6. void command_interpreter(struct char_data *ch, char *argument);
  7. int search_block(char *arg, char **list, bool exact);
  8. int old_search_block(char *argument,int begin,int length,char **list,int mode);
  9. char lower( char c );
  10. void argument_interpreter(char *argument, char *first_arg, char *second_arg);
  11. char *one_argument(char *argument,char *first_arg);
  12. int fill_word(char *argument);
  13. void half_chop(char *string, char *arg1, char *arg2);
  14. void nanny(struct descriptor_data *d, char *arg);
  15. int is_abbrev(char *arg1, char *arg2);
  16.  
  17.  
  18. struct command_info
  19. {
  20.     void (*command_pointer) (struct char_data *ch, char *argument, int cmd);
  21.     byte minimum_position;
  22.     byte minimum_level;
  23. };
  24.