Lines Matching defs:action
155 Action action = 0;
237 action = set_action(add_form, "-F");
242 action = set_action(list_alert, "\"-A list\"");
245 action = set_action(quiet_alert, "\"-A quiet\"");
252 action = set_action(add_alert, "-A");
276 action = set_action(add_alert, "-Q");
295 action = set_action(add_alert, "-W");
302 action = set_action(add_form, "-u");
306 action = set_action(delete_form, "-x");
311 action = set_action(list_form, "-L");
314 action = set_action(list_form, "-l");
319 action = set_action(add_form, "-d");
325 action = set_action(add_form, "-P");
350 action = set_action(any_alert, "\"-f any\"");
353 action = set_action(add_form, "-");
360 if (!action) {
365 if (action == any_alert && STREQU(alert.shcmd, NAME_NONE)) {
380 action == add_form
386 || action == any_alert && !alert.shcmd
413 result = ((*action)(P, NULL, &alert, u));
416 ((*action)(form, input, &alert, u)));
424 return ((*action)(form, input, &alert, u));
1242 Action action,
1246 set_action (action, option)
1247 Action action;
1257 action == list_form && prev_action == list_alert
1258 || action == list_alert && prev_action == list_form
1260 action = list_both;
1263 action == add_form && prev_action == add_alert
1264 || action == add_alert && prev_action == add_form
1266 action = add_form;
1269 action == any_alert && prev_action == add_alert
1270 || action == add_alert && prev_action == any_alert
1272 action = any_alert;
1274 else if (prev_action && prev_action != action) {
1279 OK: prev_action = action;
1281 return (action);