1: /* $Header$ */
   2: 
   3: /*
   4:  * Project Link Directory Definitions
   5:  *
   6:  * Author: Peter J. Nicklin
   7:  */
   8: 
   9: /*
  10:  * Nomenclature
  11:  */
  12: #define PLDNAME     "..."       /* project link directory */
  13: 
  14: /*
  15:  * Buffer sizes
  16:  */
  17: #define PD_BUFSIZE  1012        /* project directory entry buf size */
  18: 
  19: /*
  20:  * Project link directory (PLD) flag definitions
  21:  */
  22: #define PDIRDESC    "dd"        /* directory description */
  23: #define PDIRPATH    "dp"        /* directory path */
  24: #define PDIRTYPE    "dt"        /* directory type */
  25: #define PROOTDIR    "^^"        /* project root directory flag */
  26: 
  27: /*
  28:  * Project link directory entry struct
  29:  */
  30: typedef struct _pdir
  31:     {
  32:     unsigned long pd_mode;      /* type of project directory */
  33:     unsigned long pd_reclen;    /* actual length of this record */
  34:     unsigned short pd_alen;     /* alias length */
  35:     unsigned short pd_plen;     /* pathname length */
  36:     unsigned short pd_tlen;     /* type labels length */
  37:     unsigned short pd_dlen;     /* directory description length */
  38:     char pd_buf[PD_BUFSIZE];    /* project directory entry buffer */
  39:     } PDIR;
  40: 
  41: /*
  42:  * Handy macros
  43:  */
  44: #define PD_ALIAS(p) ((p).pd_buf)
  45: #define PD_PATH(p)  ((p).pd_buf+(p).pd_alen+1)
  46: #define PD_TYPE(p)  ((p).pd_buf+(p).pd_alen+(p).pd_plen+2)
  47: #define PD_DESC(p)  ((p).pd_buf+(p).pd_alen+(p).pd_plen+(p).pd_tlen+3)

Defined struct's

_pdir defined in line 30; never used

Defined typedef's

PDIR defined in line 39; never used

Defined macros

PDIRDESC defined in line 22; never used
PDIRPATH defined in line 23; never used
PDIRTYPE defined in line 24; never used
PD_ALIAS defined in line 44; never used
PD_BUFSIZE defined in line 17; used 1 times
  • in line 38
PD_DESC defined in line 47; never used
PD_PATH defined in line 45; never used
PD_TYPE defined in line 46; never used
PLDNAME defined in line 12; never used
PROOTDIR defined in line 25; never used
Last modified: 1985-07-03
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 640
Valid CSS Valid XHTML 1.0 Strict