|
|
1.1 ! root 1: /* ! 2: * Defines for things used in find.c ! 3: * ! 4: * @(#)network.h 4.33 (Berkeley) 5/3/83 ! 5: */ ! 6: ! 7: /* ! 8: * Don't change the constants, since they are used for sizes in many ! 9: * places in the program. ! 10: */ ! 11: ! 12: #define MAXSTR 80 /* maximum length of strings */ ! 13: #define MAXLINES 32 /* maximum number of screen lines used */ ! 14: #define MAXCOLS 80 /* maximum number of screen columns used */ ! 15: ! 16: #define RN (((Seed = Seed*11109+13849) >> 16) & 0xffff) ! 17: #ifdef CTRL ! 18: #undef CTRL ! 19: #endif ! 20: #define CTRL(c) ('c' & 037) ! 21: ! 22: /* ! 23: * Now all the global variables ! 24: */ ! 25: ! 26: extern bool Got_ltc, In_shell, Wizard; ! 27: ! 28: extern char Fruit[], Orig_dsusp, Prbuf[], Whoami[]; ! 29: ! 30: extern int Fd; ! 31: ! 32: #ifdef TIOCGLTC ! 33: extern struct ltchars Ltc; ! 34: #endif TIOCGLTC ! 35: ! 36: /* ! 37: * Function types ! 38: */ ! 39: ! 40: char *brk(), *charge_str(), *choose_str(), *ctime(), *getenv(), ! 41: *inv_name(), *killname(), *malloc(), *nothing(), *nullstr(), ! 42: *num(), *pick_color(), *ring_num(), *sbrk(), *set_mname(), ! 43: *sprintf(), *strcat(), *strcpy(), *type_name(), *vowelstr(); ! 44: ! 45: int auto_save(), come_down(), doctor(), endit(), land(), leave(), ! 46: nohaste(), quit(), rollwand(), runners(), sight(), stomach(), ! 47: swander(), tstp(), turn_see(), unconfuse(), unsee(), visuals(); ! 48: ! 49: #ifdef CHECKTIME ! 50: int checkout(); ! 51: #endif ! 52: ! 53: long lseek(), time();
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.