Lines Matching refs:md
47 MESG *md; local
60 if ((md = (MESG *)Malloc(MDSIZE)) == NULL)
63 memset(md, 0, sizeof (MESG));
64 md->admin = 1;
65 md->file = Strdup(path);
66 md->gid = getgid();
67 md->readfd = fds[0];
68 md->state = MDS_IDLE;
69 md->type = MD_MASTER;
70 md->uid = getuid();
72 md->writefd = fds[1];
74 md->writefd = fds[0];
78 return(md);