home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / src / baseline / jove-4.14.6.lha / jove-4.14.6 / externs.h < prev    next >
C/C++ Source or Header  |  1994-01-22  |  15KB  |  596 lines

  1. /***************************************************************************
  2.  * This program is Copyright (C) 1986, 1987, 1988 by Jonathan Payne.  JOVE *
  3.  * is 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. extern char
  9. /* proc.c */
  10.     *MakeName proto((char *command)),
  11.  
  12. /* ask.c */
  13.     *ask_file proto((const char *prmt, char *def, char *buf)),
  14.     *ask proto((char *, char *, ...)),
  15.     *do_ask proto((char *, bool (*) proto((int)), char *, const char *, ...));
  16.  
  17. extern int
  18.     yes_or_no_p proto((char *, ...));
  19.  
  20. extern void
  21.     minib_add proto((char *str, bool movedown));
  22.  
  23. extern void
  24.     isprocbuf proto((char *bufname)),
  25.     DoAutoExec proto((char *new, char *old));
  26.  
  27. extern void
  28.     /* extend.c */
  29.     vpr_aux proto((const struct variable *, char *, size_t)),
  30.  
  31.     /* proc.c */
  32. #ifndef    MSDOS
  33.     dowait proto((int pid, int *status)),
  34. #endif
  35.     get_FL_info proto((char *, char *)),
  36.     ChkErrorLines proto((void)),
  37.     ErrFree proto((void));
  38.  
  39. extern SIGRESULT
  40. /* jove.c */
  41.     finish proto((int code));    /* doesn't return at all! */
  42.  
  43. extern int
  44. /* ctype.h */
  45.     ismword proto((int c)),
  46.  
  47. /* proc.c */
  48.     UnixToBuf proto((char *, char *, bool, int, bool, ...)),
  49.  
  50. /* extend.c */
  51.     addgetc proto((void)),
  52.     ask_int proto((char *prompt, int base)),
  53.     chr_to_int proto((char *cp, int base, int allints, int *result)),
  54.     complete proto((char **possible, const char *prompt, int flags)),
  55.  
  56. /* jove.c */
  57. #ifdef    MAC
  58.     win_reshape proto((int /*junk*/)),
  59. #endif
  60.     charp proto((void)),
  61.     getch proto((void)),
  62.     jgetchar proto((void)),
  63.     getrawinchar proto((void));
  64.  
  65. #ifdef    LOAD_AV
  66. extern int
  67.     get_la proto((void));    /* integer, units of .01 */
  68.  
  69. extern void
  70.     closekmem proto((void));
  71. #endif    /* LOAD_AV */
  72.  
  73. extern bool
  74.     joverc proto((char *file));
  75.  
  76. extern void
  77.     raw_scream proto((const char *)),
  78.     error proto((const char *, ...)),
  79.     complain proto((const char *, ...)),
  80.     raw_complain proto((const char *, ...)),
  81.     confirm proto((const char *, ...)),
  82.     ttyset proto((bool n)),
  83.     tty_reset proto ((void)),
  84.     Ungetc proto((int c));
  85.  
  86.  
  87. #ifdef    IBMPC
  88. extern bool
  89.     rawkey_ready proto((void));
  90. extern char
  91.     switchar proto((void));
  92. #endif
  93.  
  94. extern Bufpos
  95. /* insert.c */
  96.     *DoYank proto((struct line *fline, int fchar, struct line *tline, int tchar, struct line *atline, int atchar, struct buffer *whatbuf));
  97.  
  98. extern void
  99.     LineInsert proto((int num));
  100.  
  101. /* c.c */
  102. extern Bufpos
  103.     *c_indent proto((int brace)),
  104.     *m_paren proto((int p_type, int dir, int can_mismatch, int can_stop));
  105.  
  106. extern void
  107.     mp_error proto((void));
  108.  
  109. extern unsigned char
  110.     chpl proto((void)),
  111.     lpp proto((void));
  112.  
  113. extern void
  114.     DoJustify proto((struct line *l1, int c1, struct line *l2, int c2, bool scrunch, int indent)),
  115.  
  116.     /* abbrev.c */
  117. #ifdef    ABBREV
  118.     AbbrevExpand proto((void)),
  119. #endif
  120.  
  121.     /* disp.c */
  122.     message proto((char *)),
  123.  
  124.     /* insert.c */
  125. #ifdef    ABBREV
  126.     MaybeAbbrevExpand proto((void)),
  127. #endif
  128.     GCchunks proto((void)),
  129.  
  130.     /* fmt.c */
  131.     format proto((char *buf, size_t len, const char *fmt, char *ap)),
  132.     add_mess proto((const char *, ...)),
  133.     f_mess proto((const char *, ...)),
  134.     fwritef proto((struct FileStruct *, const char *, ...)),
  135.     writef proto((const char *, ...)),
  136.     s_mess proto((const char *, ...)),
  137.     swritef proto((char *, size_t, const char *, ...)),
  138.  
  139.     /* keymaps.c */
  140.     InitKeymaps proto((void)),
  141.  
  142.     /* paragraph.c */
  143.     do_rfill proto((bool ulm)),
  144.  
  145.     /* macros.c */
  146.     mac_init proto((void)),
  147.  
  148.     /* misc.c */
  149.     skip_wht_space proto((void)),
  150.     put_bufs proto((bool askp)),
  151.  
  152.     /* term.c */
  153. #ifndef    IBMPC
  154.     getTERM proto((void)),
  155. #endif
  156.     putpad proto((char *str, int lines)),
  157.     putargpad proto((char *str, int arg, int lines)),
  158.     settout proto((char *ttbuf));
  159.  
  160. #ifdef    IBMPC
  161. extern void
  162.     write_em proto((char *s)),
  163.     write_emc proto((char *s, int n)),
  164.     write_emif proto((char *s));
  165. #endif
  166.  
  167. #ifdef    MAC
  168.  
  169. extern int
  170.     creat proto((char *, int)),
  171.     open proto((const char *, int, ...)),
  172.     close proto((int)),
  173.     read proto((int, const char *, unsigned)),
  174.     write proto((int, const char *, unsigned)),
  175.     unlink proto((const char *)),
  176.     chdir proto((const char *)),
  177.     getArgs proto((char ***));
  178.  
  179. extern bool
  180.     rawchkc proto((void));
  181.  
  182. extern long
  183.     lseek proto((int, long, unsigned));
  184.  
  185. extern time_t
  186.     time proto((time_t *));
  187.  
  188. #endif    /* MAC */
  189.  
  190. extern char
  191.     *pwd proto((void)),
  192. #ifdef    MAC
  193.     *getwd proto((void)),    /* OOPS: same name, different type! */
  194. #else
  195.     *getwd proto((char *)),
  196. #endif
  197.     *pfile proto((char *)),
  198.     *gfile proto((char *));
  199.  
  200. #ifdef    MAC
  201. extern void
  202.     MacInit proto((void)),
  203.     InitBinds proto((void)),
  204.     NPlacur proto((int, int)),
  205.     i_lines proto((int, int, int)),
  206.     d_lines proto((int, int, int)),
  207.     clr_page proto((void)),
  208.     clr_eoln proto((void)),
  209.     docontrols proto((void)),
  210.     RemoveScrollBar proto((Window *)),
  211.     InitEvents proto((void)),
  212.     menus_on proto((void)),
  213.     menus_off proto((void));
  214. #endif
  215.  
  216. /* Wired Commands */
  217.  
  218. extern void
  219.     UnbindC proto((void)),
  220.     ShowVersion proto((void)),
  221.     WVisSpace proto((void)),
  222.     AppReg proto((void)),
  223.     Apropos proto((void)),
  224.     BackChar proto((void)),
  225.     BList proto((void)),
  226.     FList proto((void)),
  227.     BUpList proto((void)),
  228.     FDownList proto((void)),
  229.     BSexpr proto((void)),
  230.     BackWord proto((void)),
  231.     Bof proto((void)),
  232.     Bol proto((void)),
  233.     Bos proto((void)),
  234.     Bow proto((void)),
  235.     BindAKey proto((void)),
  236.     BindMac proto((void)),
  237.     BufPos proto((void)),
  238. #ifdef    MSDOS
  239.     Buf0Select proto((void)),
  240.     Buf1Select proto((void)),
  241.     Buf2Select proto((void)),
  242.     Buf3Select proto((void)),
  243.     Buf4Select proto((void)),
  244.     Buf5Select proto((void)),
  245.     Buf6Select proto((void)),
  246.     Buf7Select proto((void)),
  247.     Buf8Select proto((void)),
  248.     Buf9Select proto((void)),
  249.     Buf10Select proto((void)),
  250. #endif    /* MSDOS */
  251.     CasRegLower proto((void)),
  252.     CasRegUpper proto((void)),
  253.     CapChar proto((void)),
  254.     CapWord proto((void)),
  255.     LowWord proto((void)),
  256.     UppWord proto((void)),
  257.     Chdir proto((void)),
  258.     prCWD proto((void)),
  259.     prDIRS proto((void)),
  260.     Pushd proto((void)),
  261.     Popd proto((void)),
  262.     prCTIME proto((void)),
  263.     ChrToOct proto((void)),
  264.     ClAndRedraw proto((void)),
  265. #ifndef    MAC
  266.     MakeErrors proto((void)),
  267.     ErrParse proto((void)),
  268. #endif
  269.     CopyRegion proto((void)),
  270.     BufSelect proto((void)),
  271.     DelBlnkLines proto((void)),
  272.     DelNChar proto((void)),
  273.     DelNWord proto((void)),
  274.     OneWindow proto((void)),
  275.     DelPChar proto((void)),
  276.     DelPWord proto((void)),
  277.     DelReg proto((void)),
  278.     KillSome proto((void)),
  279.     DelWtSpace proto((void)),
  280.     DelCurWindow proto((void)),
  281.     KeyDesc proto((void)),
  282.     Digit proto((void)),
  283.     Digit0 proto((void)),
  284.     Digit1 proto((void)),
  285.     Digit2 proto((void)),
  286.     Digit3 proto((void)),
  287.     Digit4 proto((void)),
  288.     Digit5 proto((void)),
  289.     Digit6 proto((void)),
  290.     Digit7 proto((void)),
  291.     Digit8 proto((void)),
  292.     Digit9 proto((void)),
  293.     DescBindings proto((void)),
  294.     DescCom proto((void)),
  295.     Eof proto((void)),
  296.     Eol proto((void)),
  297.     Eos proto((void)),
  298.     Eow proto((void)),
  299.     ForPara proto((void)),
  300.     BackPara proto((void)),
  301.     BufErase proto((void)),
  302.     PtToMark proto((void)),
  303.     Extend proto((void)),
  304.     ExecMacro proto((void)),
  305.     RunMacro proto((void)),
  306.     Leave proto((void)),
  307.     FindFile proto((void)),
  308.     WindFind proto((void)),
  309.     FindTag proto((void)),
  310.     FDotTag proto((void)),
  311.     ToIndent proto((void)),
  312.     ForChar proto((void)),
  313.     FSexpr proto((void)),
  314.     ForWord proto((void)),
  315.     TimesFour proto((void)),
  316.     GoLine proto((void)),
  317.     GrowWindowCmd proto((void)),
  318.     IncFSearch proto((void)),
  319.     IncRSearch proto((void)),
  320.     InsFile proto((void)),
  321.     Justify proto((void)),
  322.     RegJustify proto((void)),
  323.     SetLMargin proto((void)),
  324.     SetRMargin proto((void)),
  325.     LRShift proto((void)),
  326.     RRShift proto((void)),
  327.     BufKill proto((void)),
  328.     KillBos proto((void)),
  329.     KillEos proto((void)),
  330.     KillEOL proto((void)),
  331.     KillExpr proto((void)),
  332.     BufList proto((void)),
  333.     NotModified proto((void)),
  334.     NameMac proto((void)),
  335.     DelMacro proto((void)),
  336.     Newline proto((void)),
  337.     OpenLine proto((void)),
  338.     LineAI proto((void)),
  339. #ifndef    MAC
  340.     ShowErr proto((void)),
  341.     NextError proto((void)),
  342.     PrevError proto((void)),
  343.     ParseAll proto((void)),
  344. #endif    /* MAC */
  345. #ifdef    MSDOS
  346.     PageScrollUp proto((void)),
  347.     PageScrollDown proto((void)),
  348. #endif    /* MSDOS */
  349.     NextLine proto((void)),
  350.     NextPage proto((void)),
  351.     NextWindow proto((void)),
  352.     Recur proto((void)),
  353.     PopMark proto((void