/*
 * Template File for PMDF Structure Compiler
 *
 * This file is used to generate that required structure definitions for
 * the compiler. The program will not alter this file in any way. It is up to
 * the user to insure that everything that is necessary to generate the
 * required structures is included. A dummy main routine is included to
 * satisfy the compiler.
 *
 */


#define SCCSID ""
#define FAR32   _far                    // fp (48-bit pointer, restricted)
#define _stdcall

#define INCL_ERROR_H            /* for bseerr.h */
#define INCL_TYPES
#define  INCL_DOS
#include <os2.h>
//#include <basemac.h>
//#include <basedef.h>
#include <osconst.h>
#include <ostypes.h>

#define FNO_NUM         FNO_LDRMTE_C
#include <fnomem.h>
#include <osmac.h>
#include <mi.h>
//#include <bseerr.h>
#include <dossymc.h>
#include <sigdef.h>
#include <except.h>
#include <pgexport.h>
#include <vmexport.h>
#include <selxport.h>
#include <tkexport.h>
typedef (PASCAL FAR32 *FPVOID)();       // fp (the only kind of FPVOID allowed)
#include <kmode.h>
#include <infoseg.h>
#include <curdir.h>
#include <dirent.h>
#include <find.h>
#include <screen.h>
#include <sem.h>
#include <tkptda.h>
#define FOR_EXEHDR      1
#define EXE386          1
#include <newexe.h>
#include <exe386.h>

#undef PT_16BIT
#undef PT_32BIT
#undef HEADER_EXEINFO
#undef HEADER_READRSRCTBL
#undef HEADER_READSECTOR
#undef HEADER_LIBPATHLEN
#undef HEADER_LIBPATH
#undef HEADER_FIXENTRY
#undef HEADER_STE
#undef HEADER_MAPSEL


struct  ldrnewseg_s                     /* Segment Table entry info */
{
    USHORT      ns_sector;              /* file sector of start of segment */
    USHORT      ns_cbseg;               /* number of bytes in file */
    USHORT      ns_flags;               /* attribute flags */
    USHORT      ns_minalloc;            /* minimum alloc in bytes */
};

#include <ldrxport.h>
#include <ldrvars.h>



// ldrnewseg_s is not used anywhere putting this typedef here to
// make the structure compiler reference ldrnewseg_s to newseg
// which seemed to be what it was intended to reference.

#include <vmowner.h>
#include <seldesc.h>
#include <sft.h>
#include <mvdmexp.h>
#include <kutil.h>
#include <string.h>
#include <dynxport.h>
#include <harderr.h>
#include <limits.h>
#include <memory.h>

#include <tklocal.h>


/*
 * Dummy Main Routine
 */
main (int argc, char *argv[])
{

}
/* End of Template File */
