Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #ifndef __LOADER_H
  2. #define __LOADER_H
  3.  
  4. #include<stdio.h>
  5. #include<stdlib.h>
  6. #include<string.h>
  7. #include<errno.h>
  8. #include<mcoff/mcoff.h>
  9.  
  10. unsigned long kexport_lookup(char * name);
  11.  
  12. typedef struct {
  13.  coffobj_t * obj;
  14.  void (* entry_point)(void);
  15. } dll_t;
  16.  
  17. SYMENT * dl_find_dll_symbol(char * name,dll_t ** xdll);
  18. unsigned long dl_get_ref(char * symname);
  19. void init_dll(void);
  20. dll_t * load_dll(char * name);
  21. int relocate_dlls(void);
  22.  
  23. #endif
  24.