1 /* $Id: prototypes.h,v 1.3 1993/07/04 04:04:21 root Exp root $
4 * Copyright Robert J. Amstadt, 1993
17 extern struct segment_descriptor_s
*
18 CreateSelectors(struct w_files
*);
20 extern void PrintFileHeader(struct ne_header_s
*ne_header
);
21 extern void PrintSegmentTable(struct ne_segment_table_entry_s
*seg_table
,
23 extern void PrintRelocationTable(char *exe_ptr
,
24 struct ne_segment_table_entry_s
*seg_entry_p
,
26 extern int FixupSegment(struct w_files
* wpnt
, int segment_num
);
27 extern struct dll_table_entry_s
*FindDLLTable(char *dll_name
);
28 extern unsigned int GetEntryPointFromOrdinal(struct w_files
* wpnt
,
31 extern struct segment_descriptor_s
*GetNextSegment(unsigned int flags
,
33 extern struct segment_descriptor_s
*CreateNewSegments(int code_flag
,
37 extern struct mz_header_s
*CurrentMZHeader
;
38 extern struct ne_header_s
*CurrentNEHeader
;
39 extern int CurrentNEFile
;
40 extern do_int1A(struct sigcontext_struct
* context
);
41 extern do_int21(struct sigcontext_struct
* context
);
43 extern void GetUnixDirName(char *rootdir
, char *name
);
44 extern char *GetDirectUnixFileName(char *dosfilename
);
45 extern char *GetUnixFileName(char *dosfilename
);
47 extern char *FindFile(char *buffer
, int buflen
, char *rootname
, char **extensions
, char *path
);
48 extern char *WineIniFileName(void);
49 extern char *WinIniFileName(void);
50 extern struct dosdirent
*DOS_opendir(char *dosdirname
);
51 extern struct dosdirent
*DOS_readdir(struct dosdirent
*de
);
52 extern void DOS_closedir(struct dosdirent
*de
);
56 #endif /* PROTOTYPES_H */