Lines Matching refs:ept

61 static int	procassign(struct cfent *ept, char **server_local,
91 procassign(struct cfent *ept, char **server_local, char **client_local, in procassign() argument
99 if (nc >= 0 && ept->ftype != 'i') in procassign()
100 if ((ept->pkg_class_idx = cl_idx(ept->pkg_class)) == -1) in procassign()
103 if (ept->volno > nparts) in procassign()
113 if ((mapflag > 1) && strchr("fve", ept->ftype)) { in procassign()
114 if (ept->ainfo.local == NULL) { in procassign()
116 (void) strcpy(&source[1], ept->path); in procassign()
117 ept->ainfo.local = pathdup(source); in procassign()
118 *server_local = ept->ainfo.local; in procassign()
119 *client_local = ept->ainfo.local; in procassign()
130 if (mapflag && (ept->ftype != 'i')) { in procassign()
131 mappath(getmapmode(), ept->path); /* evaluate variables */ in procassign()
132 canonize(ept->path); /* Fix path as necessary. */ in procassign()
137 ept->path); in procassign()
139 ept->path = *server_path; /* default */ in procassign()
145 if (strchr("sl", ept->ftype)) { in procassign()
147 mappath(getmapmode(), ept->ainfo.local); in procassign()
148 if (!RELATIVE(ept->ainfo.local)) { in procassign()
149 canonize(ept->ainfo.local); in procassign()
152 if (ept->ftype == 'l') { in procassign()
157 ept->ainfo.local); in procassign()
161 ept->ainfo.local = *server_local; in procassign()
172 *server_path = pathdup(ept->path); in procassign()
174 ept->path = *server_path; in procassign()
178 if (ept->ainfo.local != NULL) in procassign()
180 *server_local = pathdup(ept->ainfo.local); in procassign()
181 ept->ainfo.local = *server_local; in procassign()
182 *client_local = ept->ainfo.local; in procassign()
198 struct cfent *ept = (struct cfent *)NULL; in procmap() local
229 (ept && ept->path && *ept->path) ? in procmap()
230 ept->path : "Unknown"); in procmap()
246 ept = *ept_ptr; in procmap()
249 (void) memcpy(ept, &map_entry, sizeof (struct cfent)); in procmap()
251 if (procassign(ept, &server_local, &client_local, in procmap()
290 struct cfent *ept, *ept_i; in sortentry() local
307 ept = eptlist[index]; in sortentry()
310 if (strcmp(ept->path, eptlist[index-1]->path) > 0) { in sortentry()
327 n = strcmp(ept->path, ept_i->path); in sortentry()
329 if (!ckdup(ept, ept_i)) { in sortentry()
331 ept->path); in sortentry()
359 eptlist[i] = ept; in sortentry()