Lines Matching defs:eu
32 static int parse_noeopt(struct exec_util *eu, int argc, char **argv)
36 "is unparsable\n", eu->id, *argv);
45 struct exec_util *eu;
49 for (eu = exec_list; eu; eu = eu->next)
50 if (strcmp(eu->id, name) == 0)
51 return eu;
65 eu = dlsym(dlh, buf);
66 if (eu == NULL)
69 eu->next = exec_list;
70 exec_list = eu;
72 return eu;
74 eu = malloc(sizeof(*eu));
75 if (eu) {
76 memset(eu, 0, sizeof(*eu));
77 strncpy(eu->id, name, sizeof(eu->id) - 1);
78 eu->parse_eopt = parse_noeopt;
82 return eu;
87 struct exec_util *eu;
103 eu = get_exec_kind(kind);
108 return eu->parse_eopt(eu, argc, argv);