1: /* C K U U S R . H -- Symbol definitions for C-Kermit ckuus*.c modules */ 2: 3: /* 4: Author: Frank da Cruz (fdc@columbia.edu, FDCCU@CUVMA.BITNET), 5: Columbia University Center for Computing Activities. 6: First released January 1985. 7: Copyright (C) 1985, 1992, Trustees of Columbia University in the City of New 8: York. Permission is granted to any individual or institution to use this 9: software as long as it is not sold for profit. This copyright notice must be 10: retained. This software may not be included in commercial products without 11: written permission of Columbia University. 12: */ 13: #ifndef CKUUSR_H 14: #define CKUUSR_H 15: 16: #include "ckucmd.h" /* Get symbols from command package */ 17: 18: /* Sizes of things */ 19: 20: #define FSPECL 300 /* Max length for MSEND/GET string */ 21: #define VNAML 20 /* Max length for variable name */ 22: #define FORDEPTH 10 /* Maximum depth of nested FOR loops */ 23: #define GVARS 126 /* Highest global var allowed */ 24: #define MAXTAKE 30 /* Maximum nesting of TAKE files */ 25: #define MACLEVEL 50 /* Maximum nesting for macros */ 26: #define NARGS 10 /* Max number of macro arguments */ 27: #define LINBUFSIZ CMDBL+10 /* Size of line[] buffer */ 28: #define INPBUFSIZ 257 /* Size of INPUT buffer */ 29: #define CMDSTKL ( MACLEVEL + MAXTAKE + 2) /* Command stack depth */ 30: #define MAC_MAX 256 /* Maximum number of macros */ 31: #define MSENDMAX 100 /* Number of filespecs for MSEND */ 32: 33: struct cmdptr { /* Command stack structure */ 34: int src; /* Command Source */ 35: int lvl; /* Current TAKE or DO level */ 36: }; 37: 38: struct mtab { /* Macro table, like keyword table */ 39: char *kwd; /* But with pointers for vals */ 40: char *mval; /* instead of ints. */ 41: short flgs; 42: }; 43: 44: /* Name of C-Kermit program initialization file. */ 45: 46: #ifdef vms 47: #define KERMRC "CKERMIT.INI" 48: #else 49: #ifdef OS2 50: #define KERMRC "ckermit.ini" 51: #else 52: #ifdef UNIX 53: #define KERMRC ".kermrc" 54: #else 55: #ifdef OSK 56: #define KERMRC ".kermrc" 57: #else 58: #define KERMRC "CKERMIT.INI" 59: #endif /* OSK */ 60: #endif /* UNIX */ 61: #endif /* OS2 */ 62: #endif /* vms */ 63: 64: /* Includes */ 65: 66: #ifdef MINIX 67: /* why? */ 68: #include <sys/types.h> 69: #endif /* MINIX */ 70: 71: /* Symbols for command source */ 72: 73: #define CMD_KB 0 /* KeyBoard or standard input */ 74: #define CMD_TF 1 /* TAKE command File */ 75: #define CMD_MD 2 /* Macro Definition */ 76: 77: /* Top Level Commands */ 78: /* Values associated with top-level commands must be 0 or greater. */ 79: 80: #define XXBYE 0 /* BYE */ 81: #define XXCLE 1 /* CLEAR */ 82: #define XXCLO 2 /* CLOSE */ 83: #define XXCON 3 /* CONNECT */ 84: #define XXCPY 4 /* COPY */ 85: #define XXCWD 5 /* CWD (Change Working Directory) */ 86: #define XXDEF 6 /* DEFINE (a command macro) */ 87: #define XXDEL 7 /* (Local) DELETE */ 88: #define XXDIR 8 /* (Local) DIRECTORY */ 89: #define XXDIS 9 /* DISABLE <-- changed from DISCONNECT! */ 90: #define XXECH 10 /* ECHO */ 91: #define XXEXI 11 /* EXIT */ 92: #define XXFIN 12 /* FINISH */ 93: #define XXGET 13 /* GET */ 94: #define XXHLP 14 /* HELP */ 95: #define XXINP 15 /* INPUT */ 96: #define XXLOC 16 /* LOCAL */ 97: #define XXLOG 17 /* LOG */ 98: #define XXMAI 18 /* MAIL */ 99: #define XXMOU 19 /* (Local) MOUNT */ 100: #define XXMSG 20 /* (Local) MESSAGE */ 101: #define XXOUT 21 /* OUTPUT */ 102: #define XXPAU 22 /* PAUSE */ 103: #define XXPRI 23 /* (Local) PRINT */ 104: #define XXQUI 24 /* QUIT */ 105: #define XXREC 25 /* RECEIVE */ 106: #define XXREM 26 /* REMOTE */ 107: #define XXREN 27 /* (Local) RENAME */ 108: #define XXSEN 28 /* SEND */ 109: #define XXSER 29 /* SERVER */ 110: #define XXSET 30 /* SET */ 111: #define XXSHE 31 /* Command for SHELL */ 112: #define XXSHO 32 /* SHOW */ 113: #define XXSPA 33 /* (Local) SPACE */ 114: #define XXSTA 34 /* STATISTICS */ 115: #define XXSUB 35 /* (Local) SUBMIT */ 116: #define XXTAK 36 /* TAKE */ 117: #define XXTRA 37 /* TRANSMIT */ 118: #define XXTYP 38 /* (Local) TYPE */ 119: #define XXWHO 39 /* (Local) WHO */ 120: #define XXDIAL 40 /* (Local) DIAL */ 121: #define XXLOGI 41 /* (Local) SCRIPT */ 122: #define XXCOM 42 /* Comment */ 123: #define XXHAN 43 /* HANGUP */ 124: #define XXXLA 44 /* TRANSLATE */ 125: #define XXIF 45 /* IF */ 126: #define XXLBL 46 /* label */ 127: #define XXGOTO 47 /* GOTO */ 128: #define XXEND 48 /* END */ 129: #define XXSTO 49 /* STOP */ 130: #define XXDO 50 /* DO */ 131: #define XXPWD 51 /* PWD */ 132: #define XXTES 52 /* TEST */ 133: #define XXASK 53 /* ASK */ 134: #define XXASKQ 54 /* ASKQ */ 135: #define XXASS 55 /* ASSIGN */ 136: #define XXREI 56 /* REINPUT */ 137: #define XXINC 57 /* INCREMENT */ 138: #define XXDEC 59 /* DECREMENT */ 139: #define XXELS 60 /* ELSE */ 140: #define XXEXE 61 /* EXECUTE */ 141: #define XXWAI 62 /* WAIT */ 142: #define XXVER 63 /* VERSION */ 143: #define XXENA 64 /* ENABLE */ 144: #define XXWRI 65 /* WRITE */ 145: #define XXCLS 66 /* CLS (clear screen) */ 146: #define XXRET 67 /* RETURN */ 147: #define XXOPE 68 /* OPEN */ 148: #define XXREA 69 /* READ */ 149: #define XXON 70 /* ON */ 150: #define XXDCL 71 /* DECLARE */ 151: #define XXBEG 72 /* BEGIN (not used) */ 152: #define XXFOR 72 /* FOR */ 153: #define XXWHI 73 /* WHILE */ 154: #define XXIFX 74 /* Extended IF */ 155: #define XXCMS 75 /* SEND from command output (not yet) */ 156: #define XXCMR 76 /* RECEIVE to a command's input (not yet) */ 157: #define XXCMG 77 /* GET to a command's input (not yet) */ 158: #define XXSUS 78 /* SUSPEND */ 159: #define XXERR 79 /* ERROR */ 160: #define XXMSE 80 /* MSEND */ 161: #define XXBUG 81 /* BUG */ 162: #define XXPAD 82 /* PAD (as in X.25 PAD) SUNX25 */ 163: #define XXRED 83 /* REDIAL */ 164: #define XXGTA 84 /* _getargs (invisible internal) */ 165: #define XXPTA 85 /* _putargs (invisible internal) */ 166: #define XXGOK 86 /* GETOK - Ask for YES/NO */ 167: #define XXTEL 87 /* TELNET */ 168: #define XXASX 88 /* _ASSIGN (evaluates var name) */ 169: #define XXDFX 89 /* _DEFINE (evaluates var name) */ 170: #define XXPNG 90 /* PING (for TCP/IP) */ 171: #define XXINT 91 /* INTRODUCTION */ 172: #define XXCHK 92 /* CHECK (a feature) */ 173: #define XXMSL 93 /* MSLEEP, MPAUSE (millisecond sleep) */ 174: 175: /* IF conditions */ 176: 177: #define XXIFCO 0 /* IF COUNT */ 178: #define XXIFER 1 /* IF ERRORLEVEL */ 179: #define XXIFEX 2 /* IF EXIST */ 180: #define XXIFFA 3 /* IF FAILURE */ 181: #define XXIFSU 4 /* IF SUCCESS */ 182: #define XXIFNO 5 /* IF NOT */ 183: #define XXIFDE 6 /* IF DEFINED */ 184: #define XXIFEQ 7 /* IF EQUAL (strings) */ 185: #define XXIFAE 8 /* IF = (numbers) */ 186: #define XXIFLT 9 /* IF < (numbers) */ 187: #define XXIFGT 10 /* IF > (numbers) */ 188: #define XXIFLL 11 /* IF Lexically Less Than (strings) */ 189: #define XXIFLG 12 /* IF Lexically Greater Than (strings) */ 190: #define XXIFEO 13 /* IF EOF (READ file) */ 191: #define XXIFBG 14 /* IF BACKGROUND */ 192: #define XXIFNU 15 /* IF NUMERIC */ 193: #define XXIFFG 16 /* IF FOREGROUND */ 194: 195: /* SET parameters */ 196: 197: #define XYBREA 0 /* BREAK simulation */ 198: #define XYCHKT 1 /* Block check type */ 199: #define XYDEBU 2 /* Debugging */ 200: #define XYDELA 3 /* Delay */ 201: #define XYDUPL 4 /* Duplex */ 202: #define XYEOL 5 /* End-Of-Line (packet terminator) */ 203: #define XYESC 6 /* Escape character */ 204: #define XYFILE 7 /* File Parameters */ 205: /* (this space available) */ 206: #define XYFLOW 9 /* Flow Control */ 207: #define XYHAND 10 /* Handshake */ 208: #define XYIFD 11 /* Incomplete File Disposition */ 209: #define XYIMAG 12 /* "Image Mode" */ 210: #define XYINPU 13 /* INPUT command parameters */ 211: #define XYLEN 14 /* Maximum packet length to send */ 212: #define XYLINE 15 /* Communication line to use */ 213: #define XYLOG 16 /* Log file */ 214: #define XYMARK 17 /* Start of Packet mark */ 215: #define XYNPAD 18 /* Amount of padding */ 216: #define XYPADC 19 /* Pad character */ 217: #define XYPARI 20 /* Parity */ 218: #define XYPAUS 21 /* Interpacket pause */ 219: #define XYPROM 22 /* Program prompt string */ 220: #define XYQBIN 23 /* 8th-bit prefix */ 221: #define XYQCTL 24 /* Control character prefix */ 222: #define XYREPT 25 /* Repeat count prefix */ 223: #define XYRETR 26 /* Retry limit */ 224: #define XYSPEE 27 /* Line speed (baud rate) */ 225: #define XYTACH 28 /* Character to be doubled */ 226: #define XYTIMO 29 /* Timeout interval */ 227: #define XYMODM 30 /* Modem type */ 228: #define XYSEND 31 /* SEND parameters, used with some of the above */ 229: #define XYRECV 32 /* RECEIVE parameters, ditto */ 230: #define XYTERM 33 /* Terminal parameters */ 231: #define XYTBYT 0 /* Terminal Bytesize (7 or 8) */ 232: #define XYTTYP 1 /* Terminal Type */ 233: #define TT_NONE 0 /* NONE */ 234: #define TT_VT52 1 /* DEC VT-52 */ 235: #define TT_VT100 2 /* DEC VT-100 */ 236: #define TT_VT102 3 /* DEC VT-102 */ 237: #define TT_VT220 4 /* DEC VT-220 */ 238: #define TT_VT320 5 /* DEC VT-320 */ 239: #define TT_TEK40 6 /* Tektronix 401x */ 240: #define XYTCS 2 /* Terminal Character Set */ 241: #define XYTSO 3 /* Terminal Shift-In/Shift-Out */ 242: #define XYTNL 4 /* Terminal newline mode */ 243: #define XYTCOL 5 /* Terminal colors */ 244: #define XYTEC 6 /* Terminal echo = duplex = local-echo */ 245: #define XYTCUR 7 /* Terminal cursor */ 246: #define XYTARR 8 /* Terminal arrow-key mode */ 247: #define XYTKPD 9 /* Terminal keypad mode */ 248: #define XYTWRP 10 /* Terminal wrap */ 249: #define XYTCRD 11 /* Terminal CR-display */ 250: #define XYATTR 34 /* Attribute packets */ 251: #define XYSERV 35 /* Server parameters */ 252: #define XYSERT 0 /* Server timeout */ 253: #define XYSERD 1 /* Server display */ 254: #define XYWIND 36 /* Window size */ 255: #define XYXFER 37 /* Transfer */ 256: #define XYLANG 38 /* Language */ 257: #define XYCOUN 39 /* Count */ 258: #define XYTAKE 40 /* Take */ 259: #define XYUNCS 41 /* Unknown-character-set */ 260: #define XYKEY 42 /* Key */ 261: #define XYMACR 43 /* Macro */ 262: #define XYHOST 44 /* Hostname on network */ 263: #define XYNET 45 /* Type of Network */ 264: #define XYCARR 46 /* Carrier */ 265: #define XYXMIT 47 /* Transmit */ 266: #define XYDIAL 48 /* Dial options */ 267: #define XYDHUP 0 /* Dial Hangup */ 268: #define XYDINI 1 /* Dial Initialization string */ 269: #define XYDKSP 2 /* Dial Kermit-Spoof */ 270: #define XYDTMO 3 /* Dial Timeout */ 271: #define XYDDPY 4 /* Dial Display */ 272: #define XYDSPD 5 /* Dial Speed matching */ 273: #define XYDMNP 6 /* Dial MNP negotiation enabled */ 274: #define XYDV32 7 /* Dial V.32 mode enabled */ 275: #define XYDV42 8 /* Dial V.42 mode enabled */ 276: #define XYDV42B 9 /* Dial V.42bis mode enabled */ 277: #define XYDDIR 10 /* Dial directory */ 278: #define XYDDIA 11 /* Dial dial-command */ 279: #define XYDMHU 12 /* Dial modem-hangup */ 280: #define XYDNPR 13 /* Dial number-prefix */ 281: #define XYSESS 49 /* SET SESSION options */ 282: #define XYBUF 50 /* Buffer length */ 283: #define XYBACK 51 /* Background */ 284: #define XYDFLT 52 /* Default */ 285: #define XYDOUB 53 /* Double */ 286: #define XYCMD 54 /* Command */ 287: #define XYCASE 55 /* Case */ 288: #define XYCOMP 56 /* Compression */ 289: #define XYX25 57 /* X.25 parameter (SUNX25) */ 290: #define XYPAD 58 /* X.3 PAD parameter (SUNX25) */ 291: #define XYWILD 59 /* Wildcard expansion method */ 292: #define XYSUSP 60 /* Suspend */ 293: #define XYMAIL 61 /* Mail-Command */ 294: #define XYPRIN 62 /* Print-Command */ 295: #define XYQUIE 63 /* Quiet */ 296: #define XYLCLE 64 /* Local-echo */ 297: #define XYSCRI 65 /* SCRIPT command paramaters */ 298: #define XYMSGS 66 /* MESSAGEs ON/OFF */ 299: #define XYTEL 67 /* TELNET parameters */ 300: #define CK_TN_EC 0 /* TELNET ECHO */ 301: #define CK_TN_TT 1 /* TELNET TERMINAL-TYPE */ 302: #define CK_TN_NL 2 /* TELNET NEWLINE-MODE */ 303: 304: /* #ifdef SUNX25 */ 305: /* PAD command parameters */ 306: 307: #define XYPADL 0 /* clear virtual call */ 308: #define XYPADS 1 /* status of virtual call */ 309: #define XYPADR 2 /* reset of virtual call */ 310: #define XYPADI 3 /* send an interrupt packet */ 311: 312: /* Used with XYX25... */ 313: #define XYUDAT 0 /* X.25 call user data */ 314: #define XYCLOS 1 /* X.25 closed user group call */ 315: #define XYREVC 2 /* X.25 reverse charge call */ 316: /* #endif */ /* SUNX25 */ 317: 318: /* SHOW command symbols */ 319: 320: #define SHPAR 0 /* Parameters */ 321: #define SHVER 1 /* Versions */ 322: #define SHCOM 2 /* Communications */ 323: #define SHPRO 3 /* Protocol */ 324: #define SHFIL 4 /* File */ 325: #define SHLNG 5 /* Language */ 326: #define SHCOU 6 /* Count */ 327: #define SHMAC 7 /* Macros */ 328: #define SHKEY 8 /* Key */ 329: #define SHSCR 9 /* Scripts */ 330: #define SHSPD 10 /* Speed */ 331: #define SHSTA 11 /* Status */ 332: #define SHSER 12 /* Server */ 333: #define SHXMI 13 /* Transmit */ 334: #define SHATT 14 /* Attributes */ 335: #define SHMOD 15 /* Modem */ 336: #define SHDFLT 16 /* Default (as in VMS) */ 337: #define SHVAR 17 /* Show global variables */ 338: #define SHARG 18 /* Show macro arguments */ 339: #define SHARR 19 /* Show arrays */ 340: #define SHBUI 20 /* Show builtin variables */ 341: #define SHFUN 21 /* Show functions */ 342: #define SHPAD 22 /* Show (X.25) PAD */ 343: #define SHTER 23 /* Show terminal settings */ 344: #define SHESC 24 /* Show escape character */ 345: #define SHDIA 25 /* Show DIAL parameters */ 346: #define SHNET 26 /* Show network parameters */ 347: #define SHLBL 27 /* Show VMS labeled file parameters */ 348: #define SHSTK 28 /* Show stack, MAC debugging */ 349: #define SHCSE 29 /* Show character sets */ 350: #define SHFEA 30 /* Show features */ 351: 352: /* REMOTE command symbols */ 353: 354: #define XZCPY 0 /* Copy */ 355: #define XZCWD 1 /* Change Working Directory */ 356: #define XZDEL 2 /* Delete */ 357: #define XZDIR 3 /* Directory */ 358: #define XZHLP 4 /* Help */ 359: #define XZHOS 5 /* Host */ 360: #define XZKER 6 /* Kermit */ 361: #define XZLGI 7 /* Login */ 362: #define XZLGO 8 /* Logout */ 363: #define XZMAI 9 /* Mail <-- wrong, this should be top-level */ 364: #define XZMOU 10 /* Mount */ 365: #define XZMSG 11 /* Message */ 366: #define XZPRI 12 /* Print */ 367: #define XZREN 13 /* Rename */ 368: #define XZSET 14 /* Set */ 369: #define XZSPA 15 /* Space */ 370: #define XZSUB 16 /* Submit */ 371: #define XZTYP 17 /* Type */ 372: #define XZWHO 18 /* Who */ 373: 374: /* SET INPUT command parameters */ 375: 376: #define IN_DEF 0 /* Default timeout */ 377: #define IN_TIM 1 /* Timeout action */ 378: #define IN_CAS 2 /* Case (matching) */ 379: #define IN_ECH 3 /* Echo */ 380: #define IN_SIL 4 /* Silence */ 381: 382: /* ENABLE/DISABLE command parameters */ 383: 384: #define EN_ALL 0 /* All */ 385: #define EN_CWD 1 /* CD/CWD */ 386: #define EN_DIR 2 /* Directory */ 387: #define EN_FIN 3 /* FINISH */ 388: #define EN_GET 4 /* Get */ 389: #define EN_HOS 5 /* Host command */ 390: #define EN_KER 6 /* Kermit command */ 391: #define EN_LOG 7 /* Login */ 392: #define EN_SEN 8 /* Send */ 393: #define EN_SET 9 /* Set */ 394: #define EN_SPA 10 /* Space */ 395: #define EN_TYP 11 /* Type */ 396: #define EN_WHO 12 /* Who/Finger */ 397: #define EN_DEL 13 /* Delete */ 398: #define EN_BYE 14 /* BYE (as opposed to FINISH) */ 399: 400: /* Symbols for logs */ 401: 402: #define LOGD 0 /* Debugging */ 403: #define LOGP 1 /* Packets */ 404: #define LOGS 2 /* Session */ 405: #define LOGT 3 /* Transaction */ 406: #define LOGX 4 /* Screen */ 407: #define LOGR 5 /* The "OPEN read file */ 408: #define LOGW 6 /* The "OPEN" write/append file */ 409: #define LOGE 7 /* Error (e.g. stderr) */ 410: 411: /* Symbols for builtin variables */ 412: 413: #define VN_ARGC 0 /* ARGC */ 414: #define VN_COUN 1 /* COUNT */ 415: #define VN_DATE 2 /* DATE */ 416: #define VN_DIRE 3 /* DIRECTORY */ 417: #define VN_ERRO 4 /* ERRORLEVEL */ 418: #define VN_TIME 5 /* TIME */ 419: #define VN_VERS 6 /* VERSION */ 420: #define VN_IBUF 7 /* INPUT buffer */ 421: #define VN_SUCC 8 /* SUCCESS flag */ 422: #define VN_LINE 9 /* LINE */ 423: #define VN_ARGS 10 /* Program command-line arg count */ 424: #define VN_SYST 11 /* System type */ 425: #define VN_SYSV 12 /* System version */ 426: #define VN_RET 13 /* RETURN value */ 427: #define VN_FILE 14 /* Most recent filespec */ 428: #define VN_NDAT 15 /* Numeric date yyyy/mm/dd */ 429: #define VN_HOME 16 /* Home directory */ 430: #define VN_SPEE 17 /* Transmission speed */ 431: #define VN_HOST 18 /* Host name */ 432: #define VN_TTYF 19 /* TTY file descriptor (UNIX only) */ 433: #define VN_PROG 20 /* Program name */ 434: #define VN_NTIM 21 /* NTIME */ 435: #define VN_FFC 22 /* Characters in last file xferred */ 436: #define VN_TFC 23 /* Chars in last file group xferred */ 437: #define VN_CPU 24 /* CPU type */ 438: #define VN_CMDL 25 /* Command level */ 439: #define VN_DAY 26 /* Day of week, string */ 440: #define VN_NDAY 27 /* Day of week, numeric */ 441: #define VN_LCL 28 /* Local (vs) remote mode */ 442: #define VN_CMDS 29 /* Command source */ 443: #define VN_CMDF 30 /* Command file name */ 444: #define VN_MAC 31 /* Macro name */ 445: #define VN_EXIT 32 /* Exit status */ 446: #define VN_ICHR 33 /* INPUT character */ 447: #define VN_ICNT 34 /* INPUT count */ 448: 449: /* Symbols for builtin functions */ 450: 451: #define FNARGS 6 /* Maximum number of function args */ 452: 453: #define FN_IND 0 /* Index (of string 1 in string 2) */ 454: #define FN_LEN 1 /* Length (of string) */ 455: #define FN_LIT 2 /* Literal (don't expand the string) */ 456: #define FN_LOW 3 /* Lower (convert to lowercase) */ 457: #define FN_MAX 4 /* Max (maximum) */ 458: #define FN_MIN 5 /* Min (minimum) */ 459: #define FN_MOD 6 /* Mod (modulus) */ 460: #define FN_EVA 7 /* Eval (evaluate arith expression) */ 461: #define FN_SUB 8 /* Substr (substring) */ 462: #define FN_UPP 9 /* Upper (convert to uppercase) */ 463: #define FN_REV 10 /* Reverse (a string) */ 464: #define FN_REP 11 /* Repeat (a string) */ 465: #define FN_EXE 12 /* Execute (a macro) */ 466: #define FN_VAL 13 /* Return value (of a macro) */ 467: #define FN_LPA 14 /* LPAD (left pad) */ 468: #define FN_RPA 15 /* RPAD (right pad) */ 469: #define FN_DEF 16 /* Definition of a macro, unexpanded */ 470: #define FN_CON 17 /* Contents of a variable, ditto */ 471: #define FN_FIL 18 /* File list */ 472: #define FN_FC 19 /* File count */ 473: #define FN_CHR 20 /* Character (like BASIC CHR$()) */ 474: #define FN_RIG 21 /* Right (like BASIC RIGHT$()) */ 475: #define FN_COD 22 /* Code value of character */ 476: 477: /* ANSI-style prototypes for user interface functions */ 478: 479: _PROTOTYP( int parser, ( int ) ); 480: _PROTOTYP( int xxstring, (char *, char **, int *) ); 481: _PROTOTYP( int yystring, (char *, char **) ); 482: _PROTOTYP( int xxstrcmp, (char *, char *, int) ); 483: _PROTOTYP( int xxout, (char) ); 484: _PROTOTYP( int getncm, (char *, int) ); 485: _PROTOTYP( int getnct, (char *, int) ); 486: _PROTOTYP( VOID bgchk, (void) ); 487: _PROTOTYP( char * fneval, (char *, char * [], int ) ); 488: _PROTOTYP( char * nvlook, (char *) ); 489: _PROTOTYP( char * arrayval, (int, int) ); 490: _PROTOTYP( int arraynam, (char *, int *, int *) ); 491: _PROTOTYP( char * bldlen, (char *, char *) ); 492: _PROTOTYP( int chkarray, (int, int) ); 493: _PROTOTYP( int dclarray, (char, int) ); 494: _PROTOTYP( int parsevar, (char *, int *, int *) ); 495: _PROTOTYP( int macini, (void) ); 496: _PROTOTYP( VOID initmac, (void) ); 497: _PROTOTYP( int delmac, (char *) ); 498: _PROTOTYP( int addmac, (char *, char *) ); 499: _PROTOTYP( int addmmac, (char *, char *[]) ); 500: _PROTOTYP( int dobug, (void) ); 501: _PROTOTYP( int docd, (void) ); 502: _PROTOTYP( int doclslog, (int) ); 503: _PROTOTYP( int docmd, (int) ); 504: _PROTOTYP( int doconect, (void) ); 505: _PROTOTYP( int dodo, (int, char *) ); 506: _PROTOTYP( int doenable, (int, int) ); 507: _PROTOTYP( int doget, (void) ); 508: _PROTOTYP( int dogoto, (char *) ); 509: _PROTOTYP( int dohlp, (int) ); 510: _PROTOTYP( int dohrmt, (int) ); 511: _PROTOTYP( int doif, (int) ); 512: _PROTOTYP( int doinput, (int, char *) ); 513: _PROTOTYP( int doreinp, (int, char *) ); 514: _PROTOTYP( int dolog, (int) ); 515: _PROTOTYP( int dologin, (char *) ); 516: _PROTOTYP( int doopen, (void) ); 517: _PROTOTYP( int dooutput, (char *) ); 518: _PROTOTYP( int doprm, (int, int) ); 519: _PROTOTYP( int doreturn, (char *) ); 520: _PROTOTYP( int dormt, (int) ); 521: _PROTOTYP( int doshow, (int) ); 522: _PROTOTYP( int doshodial, (void) ); 523: _PROTOTYP( int dostat, (void) ); 524: _PROTOTYP( int dostop, (void) ); 525: _PROTOTYP( int dotype, (char *) ); 526: _PROTOTYP( int transmit, (char *, char) ); 527: _PROTOTYP( int xlate, (char *, char *, int, int) ); 528: _PROTOTYP( int litcmd, (char **, char **) ); 529: _PROTOTYP( int incvar, (char *, int, int, int *) ); 530: _PROTOTYP( int ckdial, (char *) ); 531: _PROTOTYP( char * getdws, (int) ); 532: _PROTOTYP( char * getdcs, (int) ); 533: _PROTOTYP( int hmsg, (char *) ); 534: _PROTOTYP( int hmsga, (char * []) ); 535: _PROTOTYP( int mlook, (struct mtab [], char *, int) ); 536: _PROTOTYP( int mxlook, (struct mtab [], char *, int) ); 537: _PROTOTYP( VOID prtopt, (char *) ); 538: _PROTOTYP( CHAR rfilop, (char *, char) ); 539: _PROTOTYP( int setcc, (int *, int, int) ); 540: _PROTOTYP( int setnum, (int *, int, int, int) ); 541: _PROTOTYP( int seton, (int *) ); 542: _PROTOTYP( VOID shmdmlin, (void) ); 543: _PROTOTYP( int shoatt, (void) ); 544: _PROTOTYP( VOID shocharset, (void) ); 545: _PROTOTYP( int shomac, (char *, char *) ); 546: _PROTOTYP( VOID shopar, (void) ); 547: _PROTOTYP( VOID shoparc, (void) ); 548: _PROTOTYP( VOID shoparc, (void) ); 549: _PROTOTYP( VOID shoparf, (void) ); 550: _PROTOTYP( VOID shoparp, (void) ); 551: #ifndef NOCSETS 552: _PROTOTYP( VOID shoparl, (void) ); 553: #endif /* NOCSETS */ 554: _PROTOTYP( VOID shodial, (void) ); 555: _PROTOTYP( VOID shomdm, (void) ); 556: _PROTOTYP( VOID shonet, (void) ); 557: _PROTOTYP( VOID shover, (void) ); 558: _PROTOTYP( int pktopn, (char *,int) ); 559: _PROTOTYP( int traopn, (char *,int) ); 560: _PROTOTYP( int sesopn, (char *,int) ); 561: _PROTOTYP( int debopn, (char *,int) ); 562: _PROTOTYP( char * parnam, (char) ); 563: _PROTOTYP( int popclvl, (void) ); 564: _PROTOTYP( int varval, (char *, int *) ); 565: _PROTOTYP( char * evala, (char *) ); 566: _PROTOTYP( int setat, (int) ); 567: _PROTOTYP( int setinp, (void) ); 568: _PROTOTYP( int setlin, (int, int) ); 569: _PROTOTYP( int setdial, (void) ); 570: _PROTOTYP( int setfil, (int) ); 571: _PROTOTYP( int settrm, (void) ); 572: _PROTOTYP( int setsr, (int, int) ); 573: _PROTOTYP( int setxmit, (void) ); 574: _PROTOTYP( int set_key, (void) ); 575: _PROTOTYP( int dochk, (void) ); 576: _PROTOTYP( char *ludial, (char *, FILE *) ); 577: _PROTOTYP( VOID xwords, (char *, int, char *[]) ); 578: _PROTOTYP( VOID shotcs, (int, int) ); 579: _PROTOTYP( char *hhmmss, (long x) ); 580: #endif /* CKUUSR_H */ 581: 582: /* End of ckuusr.h */