Lines Matching defs:exec

84 _print_execstr(execstr_t *exec)
87 (void) fprintf(stdout, " exec-name: [%s]\n", exec->name);
88 if (exec->policy != (char *)NULL) {
89 (void) fprintf(stdout, " policy: [%s]\n", exec->policy);
91 if (exec->type != (char *)NULL) {
92 (void) fprintf(stdout, " type: [%s]\n", exec->type);
94 if (exec->res1 != (char *)NULL) {
95 (void) fprintf(stdout, " res1: [%s]\n", exec->res1);
97 if (exec->res2 != (char *)NULL) {
98 (void) fprintf(stdout, " res2: [%s]\n", exec->res2);
100 if (exec->id != (char *)NULL) {
101 (void) fprintf(stdout, " id: [%s]\n", exec->id);
103 if (exec->attr != (char *)NULL) {
104 (void) fprintf(stdout, " attr: [%s]\n", exec->attr);
106 if (exec->next != (execstr_t *)NULL) {
107 (void) fprintf(stdout, " next: [%s]\n", exec->next->name);
109 _print_execstr(exec->next);
125 execstr_t *exec = (execstr_t *)NULL;
131 exec = (execstr_t *)(argp->buf.result);
133 exec->name = (char *)NULL;
134 exec->policy = (char *)NULL;
135 exec->type = (char *)NULL;
136 exec->res1 = (char *)NULL;
137 exec->res2 = (char *)NULL;
138 exec->id = (char *)NULL;
139 exec->attr = (char *)NULL;
151 exec->name = buffer;
156 (void) strcpy(exec->name, attrptr->attrvalue[0]);
162 exec->policy = nullstring;
164 exec->policy = buffer;
169 (void) strcpy(exec->policy,
177 exec->type = nullstring;
179 exec->type = buffer;
184 (void) strcpy(exec->type,
192 exec->res1 = nullstring;
194 exec->res1 = buffer;
199 (void) strcpy(exec->res1,
207 exec->res2 = nullstring;
209 exec->res2 = buffer;
214 (void) strcpy(exec->res2,
222 exec->id = nullstring;
224 exec->id = buffer;
229 (void) strcpy(exec->id, attrptr->attrvalue[0]);
236 exec->attr = nullstring;
238 exec->attr = buffer;
243 (void) strcpy(exec->attr,
250 exec->next = (execstr_t *)NULL;
254 _print_execstr(exec);