Lines Matching defs:ent
65 fill_ent (ent, path)
66 ENT *ent;
87 ent->dos_name = (char *)malloc (null-last_slash);
89 ent->dos_name = (char *)malloc (13);
90 ent->full_name = (char *)malloc (null-last_slash);
91 ent->path = (char *)malloc (last_slash-first+1);
93 strcpy (ent->full_name, last_slash+1);
96 strncpy (ent->path, first, last_slash-first);
97 ent->path[last_slash-first] = '\0';
100 *ent->path = '\0';
103 dp = ent->dos_name;
205 mpath (ent)
206 ENT *ent;
209 if (ent->path && ent->path[0])
210 sprintf (buf, "%s/%s", ent->path, ent->full_name);
212 return ent->full_name;
221 add_ent (ent)
222 ENT *ent;
224 ent->next = eroot;
225 eroot = ent;
232 ENT *ent = alloc_ent ();
233 fill_ent (ent, line);
234 add_ent (ent);
240 ENT **elist, *ent;
243 for (ecount=0, ent=eroot; ent; ent=ent->next, ecount++);
245 for (ecount=0, ent=eroot; ent; ent=ent->next, ecount++)
246 elist[ecount] = ent;