1993-07-08 19:37:25 +02:00
|
|
|
/* $Id: prototypes.h,v 1.3 1993/07/04 04:04:21 root Exp root $
|
1993-06-29 18:33:12 +02:00
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* Copyright Robert J. Amstadt, 1993
|
|
|
|
*/
|
|
|
|
#ifndef PROTOTYPES_H
|
|
|
|
#define PROTOTYPES_H
|
|
|
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include "neexe.h"
|
|
|
|
#include "segmem.h"
|
1993-07-08 19:37:25 +02:00
|
|
|
#include "wine.h"
|
1993-06-29 18:33:12 +02:00
|
|
|
|
|
|
|
extern struct segment_descriptor_s *
|
1993-07-08 19:37:25 +02:00
|
|
|
CreateSelectors(struct w_files *);
|
1993-06-29 18:33:12 +02:00
|
|
|
|
|
|
|
extern void PrintFileHeader(struct ne_header_s *ne_header);
|
|
|
|
extern void PrintSegmentTable(struct ne_segment_table_entry_s *seg_table,
|
|
|
|
int nentries);
|
|
|
|
extern void PrintRelocationTable(char *exe_ptr,
|
|
|
|
struct ne_segment_table_entry_s *seg_entry_p,
|
|
|
|
int segment);
|
1993-07-08 19:37:25 +02:00
|
|
|
extern int FixupSegment(struct w_files * wpnt, int segment_num);
|
1993-06-29 18:33:12 +02:00
|
|
|
extern struct dll_table_entry_s *FindDLLTable(char *dll_name);
|
1993-07-08 19:37:25 +02:00
|
|
|
extern unsigned int GetEntryPointFromOrdinal(struct w_files * wpnt,
|
1993-07-01 12:58:21 +02:00
|
|
|
int ordinal);
|
1993-06-29 18:33:12 +02:00
|
|
|
|
1993-07-08 19:37:25 +02:00
|
|
|
extern struct segment_descriptor_s *GetNextSegment(unsigned int flags,
|
|
|
|
unsigned int limit);
|
1993-07-01 12:58:21 +02:00
|
|
|
extern struct mz_header_s *CurrentMZHeader;
|
|
|
|
extern struct ne_header_s *CurrentNEHeader;
|
|
|
|
extern int CurrentNEFile;
|
1993-06-29 18:33:12 +02:00
|
|
|
|
|
|
|
#endif /* PROTOTYPES_H */
|