2005-07-26 15:08:57 +02:00
|
|
|
/* Function prototypes. */
|
|
|
|
|
2009-12-11 01:08:19 +01:00
|
|
|
/* Structs used in prototypes must be declared as such first. */
|
|
|
|
struct rproc;
|
|
|
|
|
2006-05-11 16:58:33 +02:00
|
|
|
/* exec.c */
|
|
|
|
_PROTOTYPE( int dev_execve, (int proc_e,
|
|
|
|
char *exec, size_t exec_len, char *argv[], char **env));
|
|
|
|
|
2005-10-12 17:07:38 +02:00
|
|
|
/* main.c */
|
2005-08-25 14:33:09 +02:00
|
|
|
_PROTOTYPE( int main, (void));
|
2005-07-26 15:08:57 +02:00
|
|
|
|
|
|
|
/* manager.c */
|
2009-12-17 02:53:26 +01:00
|
|
|
_PROTOTYPE( int do_up, (message *m));
|
2005-10-20 22:31:18 +02:00
|
|
|
_PROTOTYPE( int do_down, (message *m));
|
|
|
|
_PROTOTYPE( int do_refresh, (message *m));
|
2006-10-20 17:01:32 +02:00
|
|
|
_PROTOTYPE( int do_restart, (message *m));
|
2009-09-21 17:25:15 +02:00
|
|
|
_PROTOTYPE( int do_lookup, (message *m));
|
2005-10-12 17:07:38 +02:00
|
|
|
_PROTOTYPE( int do_shutdown, (message *m));
|
|
|
|
_PROTOTYPE( void do_period, (message *m));
|
|
|
|
_PROTOTYPE( void do_exit, (message *m));
|
2005-10-20 22:31:18 +02:00
|
|
|
_PROTOTYPE( int do_getsysinfo, (message *m));
|
2005-07-26 15:08:57 +02:00
|
|
|
|
2009-12-11 01:08:19 +01:00
|
|
|
/* utility.c */
|
|
|
|
_PROTOTYPE( int publish_service, (struct rproc *rp));
|
|
|
|
|
|
|
|
/* memory.c */
|
|
|
|
_PROTOTYPE( void* rs_startup_sbrk, (size_t size));
|
|
|
|
_PROTOTYPE( void* rs_startup_sbrk_synch, (size_t size));
|
|
|
|
_PROTOTYPE( int rs_startup_segcopy, (endpoint_t src_proc, int src_s,
|
|
|
|
int dst_s, vir_bytes dst_vir, phys_bytes bytes));
|
2005-08-23 13:31:32 +02:00
|
|
|
|