Changeset 76d0d284 in mainline


Ignore:
Timestamp:
2009-06-03T19:20:09Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ca3ba3a
Parents:
5779a74
Message:

sync header files with implementation

Location:
uspace/lib/libc/include/loader
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/loader/loader.h

    r5779a74 r76d0d284  
    3838
    3939#include <task.h>
     40#include <vfs/vfs.h>
    4041
    4142/** Abstraction of a loader connection */
     
    4950extern int loader_get_task_id(loader_t *, task_id_t *);
    5051extern int loader_set_pathname(loader_t *, const char *);
    51 extern int loader_set_args(loader_t *, char *const []);
     52extern int loader_set_args(loader_t *, char *const[]);
     53extern int loader_set_files(loader_t *, fs_node_t *const[]);
    5254extern int loader_load_program(loader_t *);
    5355extern int loader_run(loader_t *);
  • uspace/lib/libc/include/loader/pcb.h

    r5779a74 r76d0d284  
    3838
    3939#include <sys/types.h>
     40#include <vfs/vfs.h>
    4041
    4142typedef void (*entry_point_t)(void);
     
    4647 * and/or to the dynamic linker. This includes the program entry point,
    4748 * arguments, environment variables etc.
     49 *
    4850 */
    4951typedef struct {
    5052        /** Program entry point. */
    5153        entry_point_t entry;
    52 
     54       
    5355        /** Number of command-line arguments. */
    5456        int argc;
    5557        /** Command-line arguments. */
    5658        char **argv;
    57 
     59       
     60        /** Number of preset files. */
     61        int filc;
     62        /** Preset files. */
     63        fs_node_t **filv;
     64       
    5865        /*
    5966         * ELF-specific data.
    6067         */
     68       
    6169        /** Pointer to ELF dynamic section of the program. */
    6270        void *dynamic;
Note: See TracChangeset for help on using the changeset viewer.