Changeset 7171760 in mainline for uspace/lib/c/include
- Timestamp:
- 2011-08-18T12:05:00Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b33ec43
- Parents:
- 866e627
- Location:
- uspace/lib/c/include
- Files:
-
- 4 edited
-
loader/loader.h (modified) (2 diffs)
-
loader/pcb.h (modified) (2 diffs)
-
task.h (modified) (2 diffs)
-
vfs/vfs.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/loader/loader.h
r866e627 r7171760 39 39 #include <task.h> 40 40 41 typedef struct fdi_node fdi_node_t;42 43 41 /** Forward declararion */ 44 42 struct loader; … … 51 49 extern int loader_set_pathname(loader_t *, const char *); 52 50 extern int loader_set_args(loader_t *, const char *const[]); 53 extern int loader_set_files(loader_t *, fdi_node_t *const[]);51 extern int loader_set_files(loader_t *, int *const[]); 54 52 extern int loader_load_program(loader_t *); 55 53 extern int loader_run(loader_t *); -
uspace/lib/c/include/loader/pcb.h
r866e627 r7171760 38 38 39 39 #include <sys/types.h> 40 #include <vfs/vfs.h>41 40 42 41 typedef void (*entry_point_t)(void); … … 62 61 63 62 /** Number of preset files. */ 64 int filc; 65 /** Preset files. */ 66 fdi_node_t **filv; 63 unsigned int filc; 67 64 68 65 /* -
uspace/lib/c/include/task.h
r866e627 r7171760 38 38 #include <sys/types.h> 39 39 40 typedef struct fdi_node fdi_node_t;41 42 40 typedef uint64_t task_id_t; 43 41 … … 54 52 extern int task_spawnv(task_id_t *, const char *path, const char *const []); 55 53 extern int task_spawnvf(task_id_t *, const char *path, const char *const [], 56 fdi_node_t *const []);54 int *const []); 57 55 extern int task_spawnl(task_id_t *, const char *path, ...); 58 56 -
uspace/lib/c/include/vfs/vfs.h
r866e627 r7171760 46 46 }; 47 47 48 /** Libc version of the VFS triplet.49 *50 * Unique identification of a file system node51 * within a file system instance.52 *53 */54 typedef struct fdi_node {55 fs_handle_t fs_handle;56 devmap_handle_t devmap_handle;57 fs_index_t index;58 } fdi_node_t;59 60 48 extern char *absolutize(const char *, size_t *); 61 49 … … 64 52 extern int unmount(const char *); 65 53 66 extern int open_node(fdi_node_t *, int); 67 extern int fd_node(int, fdi_node_t *); 68 69 extern FILE *fopen_node(fdi_node_t *, const char *); 70 extern int fnode(FILE *, fdi_node_t *); 54 extern FILE *fopen_handle(int); 55 extern int fhandle(FILE *, int *); 71 56 72 57 extern async_exch_t *vfs_exchange_begin(void);
Note:
See TracChangeset
for help on using the changeset viewer.
