Home | History | Annotate | Download | only in fastboot

Lines Matching refs:Action

61 typedef struct Action Action;
65 struct Action
68 Action *next;
76 int (*func)(Action *a, int status, char *resp);
81 static Action *action_list = 0;
82 static Action *action_last = 0;
124 static int cb_default(Action *a, int status, char *resp)
136 static Action *queue_action(unsigned op, const char *fmt, ...)
138 Action *a;
142 a = calloc(1, sizeof(Action));
170 Action *a;
177 Action *a;
190 Action *a;
225 static int cb_check(Action *a, int status, char *resp, int invert)
268 static int cb_require(Action *a, int status, char *resp)
273 static int cb_reject(Action *a, int status, char *resp)
281 Action *a;
291 static int cb_display(Action *a, int status, char *resp)
303 Action *a;
310 static int cb_save(Action *a, int status, char *resp)
322 Action *a;
329 static int cb_do_nothing(Action *a __unused, int status __unused, char *resp __unused)
337 Action *a = queue_action(OP_COMMAND, "reboot");
344 Action *a = queue_action(OP_COMMAND, cmd);
350 Action *a = queue_action(OP_DOWNLOAD, "");
358 Action *a = queue_action(OP_NOTICE, "");
369 Action *a;
407 die("bogus action");