home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / most423.zip / externs.h < prev    next >
C/C++ Source or Header  |  1994-01-28  |  1KB  |  35 lines

  1. #define MALLOC most_malloc
  2. #define REALLOC most_realloc
  3. extern unsigned char *most_malloc(unsigned int);
  4. extern unsigned char *most_realloc(unsigned char *, unsigned int);
  5. extern void exit_error(char *);
  6.  
  7. extern char SEARCH_STR[80];
  8. extern int SEARCH_DIR;
  9. extern int STARTING_LINE;   /*  begin at this line upon startup of most */
  10. extern int CASE_SENSITIVE;
  11.  
  12. extern int NUM_LINES;
  13. extern int ACTUAL_LINES;
  14. extern int CURS_ROW;
  15. extern int CURS_COL;
  16. extern unsigned char *CURS_POS;
  17.  
  18. extern int SQUEEZE_LINES;          /* switch parameters */
  19. extern int MOST_L_OPT;             /* use ^L (formfeed) to clear screen */
  20. extern int MOST_V_OPT;             /* display control chars */
  21. extern int MOST_B_OPT;             /* display Binary File */
  22. extern int MOST_T_OPT;             /* display tab as ^I-- valid only with V option */
  23. extern int MOST_W_OPT;             /* wrap lines if true */
  24. extern int MOST_S_OPT;             /* selective display */
  25. extern int MOST_K_OPT;             /* Kanji option */
  26.  
  27. extern int MOST_D_OPT;             /* delete file mode  (see ':D')  */
  28.  
  29. #define _MOST_V_OPT  1
  30. #define _MOST_T_OPT  2
  31. #define _MOST_B_OPT  4
  32. #define _MOST_SQ_OPT 8
  33. #define _MOST_W_OPT 16
  34.  
  35.