home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c004 / 4.ddi / NETBIOS / CTSXCFG.H < prev    next >
Encoding:
C/C++ Source or Header  |  1989-04-18  |  1.9 KB  |  68 lines

  1. /*
  2.  *  server extension version of c-tree
  3.  *    System Config
  4.  *
  5.  *    This program is the CONFIDENTIAL and PROPRIETARY property 
  6.  *    of FairCom(R) Corporation. Any unauthorized use, reproduction or
  7.  *    transfer of this program is strictly prohibited.
  8.  *
  9.  *      Copyright (c) 1987, 1989 FairCom
  10.  *    (Subject to limited distribution and
  11.  *     restricted disclosure only.)
  12.  *    *** ALL RIGHTS RESERVED ***
  13.  *
  14.  *    4006 West Broadway
  15.  *    Columbia, MO 65203
  16.  *
  17.  *
  18.  *    c-tree(R)    Version 4.3
  19.  *            Release C
  20.  *            February 7, 1989 17:30
  21.  *
  22.  */
  23.  
  24. #define MEM_CUSHION 2000 /* number of bytes to preserve for alloc */
  25.              /* after terminate/stay resident */
  26.  
  27.  
  28.  
  29. #define SRV_SMBNAME       "CTREE   "    /* server network name (8 chars) */
  30. #define SRV_SMBNAME_NOPAD "CTREE"    /* same thing - no spaces */
  31. #define SRV_MUXID 0x93        /* servers ID on dos int 2f chain */
  32.  
  33. /* int 2f function codes to communicate with local server */
  34.  
  35. #define I2Ftestres 0        /* test if server resident */
  36. #define I2Frequest 1        /* send smb-like request to local server */
  37. #define I2Fdiscon  2        /* send disconnect to local server */
  38.  
  39.  
  40. #define VBLOCKID 5        /* block id code in smb */
  41.  
  42.  
  43. /* smb (server message block) is defined as a byte array to avoid
  44.  * having to compile with structure packing option
  45.  */
  46.  
  47. typedef struct smb
  48. {
  49.   UTEXT        a[33];
  50. } SMB;
  51.  
  52. /* offsets in SMB */
  53.  
  54. #define SMBid        0    /* b[4] smb id ("/0xffSMB")  */
  55. #define SMBcmd        4    /* b    cmd code 0xff for us */
  56. #define SMBeclass    5    /* b    error class */
  57. #define SMBcmdx        6    /* b    set to 0xdd by us */
  58. #define SMBerr        7    /* w    not used by us */
  59. #define SMBctsig    10    /* b[8] set to "CTREE   " */
  60. #define SMBwct        32    /* b    set to 0 */
  61. #define SMBvwv        33    /*    no word parms */
  62. #define SMBbct        33    /* w    byte parms len + 3 */
  63. #define SMBblkid    35    /* b    a 5 */
  64. #define SMBdatsz    36    /* w    size of following data */
  65. #define SMBdata        38    /* b[]    variable len data msg */
  66.  
  67. /* end of ctsxcfg.h */
  68.