home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / snip9707.zip / EDITGETS.H < prev    next >
C/C++ Source or Header  |  1997-07-05  |  766b  |  41 lines

  1. /* +++Date last modified: 05-Jul-1997 */
  2.  
  3. /*
  4. ** jgets() - line input w/editing
  5. */
  6.  
  7. #ifndef EDITGETS__H
  8. #define EDITGETS__H
  9.  
  10. #include "minmax.h"
  11.  
  12. extern int TabSize;
  13.  
  14. /*
  15. **  Password mode:
  16. **
  17. **  0 - Normal operation
  18. **  1 - Conventional password mode - '*' is echoed for all characters,
  19. **      only ESC, ENTER, BACKSPC, and CTLHOME are active.
  20. **  2 - Secure password mode - same as above except random characters are
  21. **      displayed rather than '*'s to distract snoops from watching the keys.
  22. */
  23.  
  24. extern int password_mode;
  25.  
  26. /*
  27. **  Line editing formatted text entry function.
  28. */
  29.  
  30. int editgets(char *s, int maxlen, char *string);
  31.  
  32.  
  33. /*
  34. **  Get a string of unknown length
  35. */
  36.  
  37. char *getstring(void);
  38.  
  39.  
  40. #endif /* EDITGETS__H */
  41.