home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / historic / v92.tgz / v92.tar / v92 / src / h / mproto.h < prev    next >
C/C++ Source or Header  |  1996-03-22  |  3KB  |  65 lines

  1. /*
  2.  * mproto.h -- prototypes for functions common to several modules.
  3.  */
  4.  
  5. char    *db_string    Params((noargs));
  6. char    *makename    Params((char *dest,char *d,char *name,char *e));
  7. char    *pathfind    Params((char *buf, char *path, char *name, char *extn));
  8. char    *salloc    Params((char *s));
  9. char    *spec_str    Params((char *s));
  10. char    *str_install    Params((struct str_buf *sbuf));
  11. int    cmp_pre    Params((char *pre1, char *pre2));
  12. int    db_open    Params((char *s, char **lrgintflg));
  13. int    db_tbl    Params((char *section, struct implement **tbl));
  14. int    ppch    Params((noargs));
  15. int    ppinit    Params((char *fname, int m4flag));
  16. int    prt_i_str    Params((FILE *f, char *s, int len));
  17. int    redirerr    Params((char *p));
  18. int    smatch    Params((char *s,char *t));
  19. int    tonum    Params((int c));
  20. long    longwrite    Params((char *s,long len,FILE *file));
  21. long    millisec    Params((noargs));
  22. novalue clear_sbuf    Params((struct str_buf *sbuf));
  23. novalue cset_init    Params((FILE *f, unsigned short *bv));
  24. novalue    db_chstr    Params((char *s1, char *s2));
  25. novalue    db_close    Params((noargs));
  26. novalue    db_code    Params((struct implement *ip));
  27. novalue    db_dscrd    Params((struct implement *ip));
  28. novalue    db_err1    Params((int fatal, char *s1));
  29. novalue    db_err2    Params((int fatal, char *s1, char *s2));
  30. novalue free_stbl    Params((noargs));
  31. novalue    getctime    Params((char *sbuf));
  32. novalue    getitime    Params((struct cal_time *ct));
  33. novalue    id_comment    Params((FILE *f));
  34. novalue    init_sbuf    Params((struct str_buf *sbuf));
  35. novalue    init_str    Params((noargs));
  36. novalue    new_sbuf    Params((struct str_buf *sbuf));
  37. novalue    nxt_pre Params((char *pre, char *nxt, int n));
  38. novalue    ppdef    Params((char *name, char *value));
  39. novalue    ppecho    Params((noargs));
  40. pointer    alloc    Params((unsigned int n));
  41. struct    fileparts *fparse    Params((char *s));
  42. struct    il_code *new_il    Params((int il_type, int size));
  43. struct    implement    *db_ilkup    Params((char *id, struct implement **tbl));
  44. struct    implement    *db_impl     Params((int oper_typ));
  45. unsigned short   *bitvect    Params((char *image, int len));
  46.  
  47. #ifndef SysMem
  48. pointer    memcopy        Params((char *to, char* from, word n));
  49. pointer    memfill        Params((char *to, int con, word n));
  50. #endif                    /* SysMem */
  51.  
  52. #ifndef SysOpt
  53. #ifndef Linux
  54. int    getopt    Params((int nargs, char **nargv, char *ostr));
  55. #endif                    /* Linux */
  56. #endif                    /* SysOpt */
  57.  
  58. #if IntBits == 16
  59. long    lstrlen    Params((char *s));
  60. novalue    lqsort    Params((char *base, int nel, int width, int (*cmp)()));
  61. #endif                    /* IntBits == 16 */
  62.  
  63. #define NewStruct(type)\
  64.    (struct type *)alloc((unsigned int) sizeof (struct type))
  65.