Lines Matching defs:md
68 MESG *md;
120 if ((md = (MESG *)Malloc(MDSIZE)) == NULL)
126 memset(md, 0, sizeof (MESG));
127 md->gid = getgid();
128 md->on_discon = NULL;
129 md->readfd = fd;
130 md->state = MDS_IDLE;
131 md->type = MD_STREAM;
132 md->uid = getuid();
133 md->writefd = fd;
135 ResetFifoBuffer (md->readfd);
136 return(md);
144 if ((md = (MESG *)Malloc(MDSIZE)) == NULL)
150 memset(md, 0, sizeof (MESG));
151 md->gid = getgid();
152 md->on_discon = NULL;
153 md->readfd = id1;
154 md->state = MDS_IDLE;
155 md->type = MD_BOUND;
156 md->uid = getuid();
157 md->writefd = id2;
159 ResetFifoBuffer (md->readfd);
161 return(md);