Rev 4337 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4337 | Rev 4343 | ||
---|---|---|---|
Line 42... | Line 42... | ||
42 | typedef struct { |
42 | typedef struct { |
43 | /** ID of the phone connected to the loader. */ |
43 | /** ID of the phone connected to the loader. */ |
44 | int phone_id; |
44 | int phone_id; |
45 | } loader_t; |
45 | } loader_t; |
46 | 46 | ||
47 | extern loader_t *loader_spawn(const char *name); |
47 | extern int loader_spawn(const char *); |
- | 48 | extern loader_t *loader_connect(void); |
|
48 | extern int loader_get_task_id(loader_t *, task_id_t *); |
49 | extern int loader_get_task_id(loader_t *, task_id_t *); |
49 | extern int loader_set_pathname(loader_t *, const char *); |
50 | extern int loader_set_pathname(loader_t *, const char *); |
50 | extern int loader_set_args(loader_t *, char *const []); |
51 | extern int loader_set_args(loader_t *, char *const []); |
51 | extern int loader_load_program(loader_t *); |
52 | extern int loader_load_program(loader_t *); |
52 | extern int loader_run(loader_t *); |
53 | extern int loader_run(loader_t *); |