home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / D / CLISP / CLISPSRC.TAR / clisp-1995-01-01 / src / readline / funmap.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-03-16  |  541 b   |  25 lines

  1. /* funmap.h -- Manipulation of readline funmaps. */
  2. /* Bruno Haible 16.3.1993 */
  3.  
  4. #ifndef _FUNMAP_H_
  5. #define _FUNMAP_H_
  6.  
  7. #ifndef __FUNCTION_DEF
  8. typedef int Function ();
  9. #define __FUNCTION_DEF
  10. #endif
  11.  
  12. /* The data structure for mapping textual names to code addresses. */
  13. typedef struct {
  14.   char *name;
  15.   Function *function;
  16. } FUNMAP;
  17.  
  18. extern FUNMAP** funmap;
  19.  
  20. extern void rl_add_funmap_entry RL((char* name, Function* function));
  21. extern void rl_initialize_funmap RL((void));
  22. extern char** rl_funmap_names RL((void));
  23.  
  24. #endif /* _FUNMAP_H_ */
  25.