loader.h File Reference

Program loader interface. More...

#include <task.h>
#include <vfs/vfs.h>

Go to the source code of this file.

Data Structures

struct  loader_t
 Abstraction of a loader connection. More...

Functions

void loader_abort (loader_t *)
 Cancel the loader session.
loader_tloader_connect (void)
int loader_get_task_id (loader_t *, task_id_t *)
 Get ID of the new task.
int loader_load_program (loader_t *)
 Instruct loader to load the program.
int loader_run (loader_t *)
 Instruct loader to execute the program.
int loader_set_args (loader_t *, const char *const [])
 Set command-line arguments for the program.
int loader_set_cwd (loader_t *)
 Set current working directory for the loaded task.
int loader_set_files (loader_t *, fdi_node_t *const [])
 Set preset files for the program.
int loader_set_pathname (loader_t *, const char *)
 Set pathname of the program to load.
int loader_spawn (const char *)
 Connect to a new program loader.


Detailed Description

Program loader interface.

Definition in file loader.h.


Generated on Thu Jun 2 07:45:53 2011 for HelenOS/USB by  doxygen 1.4.7