home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / jove-4.16-src.tgz / tar.out / bsd / jove / extend.h < prev    next >
C/C++ Source or Header  |  1996-09-28  |  2KB  |  46 lines

  1. /************************************************************************
  2.  * This program is Copyright (C) 1986-1996 by Jonathan Payne.  JOVE is  *
  3.  * provided to you without charge, and with no warranty.  You may give  *
  4.  * away copies of JOVE, including sources, provided that this notice is *
  5.  * included in all the files.                                           *
  6.  ************************************************************************/
  7.  
  8. /* values for the `flags' argument to complete (may be combined) */
  9. #define CASEIND        001    /* map all to lower case */
  10. #define ALLOW_OLD    002    /* accept member */
  11. #define ALLOW_INDEX    004    /* accept index number as answer (on CR) */
  12. #define ALLOW_NEW    010    /* accept non-member (on CR) */
  13. #define ALLOW_EMPTY    020    /* accept empty answer (on CR) */
  14.  
  15. extern int    InJoverc;    /* depth in sourcing */
  16.  
  17. extern bool    joverc proto((char *file));
  18.  
  19. #ifdef USE_PROTOTYPES
  20. struct variable;    /* forward declaration preventing prototype scoping */
  21. #endif /* USE_PROTOTYPES */
  22.  
  23. extern void
  24.     DoAutoExec proto((char *new, char *old)),
  25.     vpr_aux proto((const struct variable *, char *, size_t)),
  26.     vset_aux proto((const struct variable *, char *));
  27.  
  28. extern ZXchar
  29.     addgetc proto((void));
  30.  
  31. extern int
  32.     ask_int proto((char *def, char *prompt, int base)),
  33.     complete proto((char **possible, const char *def, const char *prompt, int flags));
  34.  
  35. extern bool    chr_to_int proto((char *cp, int base, bool allints, int *result));
  36.  
  37. /* Commands: */
  38. extern void
  39.     BufPos proto((void)),
  40.     CAutoExec proto((void)),
  41.     Extend proto((void)),
  42.     MAutoExec proto((void)),
  43.     PrVar proto((void)),
  44.     SetVar proto((void)),
  45.     Source proto((void));
  46.