1 /* $Id: prototypes.h,v 1.3 1993/07/04 04:04:21 root Exp root $
4 * Copyright Robert J. Amstadt, 1993
15 extern struct segment_descriptor_s *
16 CreateSelectors(struct w_files *);
18 extern void PrintFileHeader(struct ne_header_s *ne_header);
19 extern void PrintSegmentTable(struct ne_segment_table_entry_s *seg_table,
21 extern void PrintRelocationTable(char *exe_ptr,
22 struct ne_segment_table_entry_s *seg_entry_p,
24 extern int FixupSegment(struct w_files * wpnt, int segment_num);
25 extern struct dll_table_entry_s *FindDLLTable(char *dll_name);
26 extern unsigned int GetEntryPointFromOrdinal(struct w_files * wpnt,
29 extern struct segment_descriptor_s *GetNextSegment(unsigned int flags,
31 extern struct mz_header_s *CurrentMZHeader;
32 extern struct ne_header_s *CurrentNEHeader;
33 extern int CurrentNEFile;
34 extern do_int1A(struct sigcontext_struct * context);
35 extern do_int21(struct sigcontext_struct * context);
37 extern void GetUnixDirName(char *rootdir, char *name);
38 extern char *GetDirectUnixFileName(char *dosfilename);
39 extern char *GetUnixFileName(char *dosfilename);
41 extern char *FindFile(char *buffer, int buflen, char *rootname, char **extensions, char *path);
42 extern char *WineIniFileName(void);
43 extern char *WinIniFileName(void);
44 extern struct dosdirent *DOS_opendir(char *dosdirname);
45 extern struct dosdirent *DOS_readdir(struct dosdirent *de);
46 extern void DOS_closedir(struct dosdirent *de);
48 #endif /* PROTOTYPES_H */