Blame src/internal/perk_driver_impl.h

249590
#ifndef PE_DRIVER_IMPL_H
249590
#define PE_DRIVER_IMPL_H
249590
eb4c04
#include <stdint.h>
eb4c04
#include <stdio.h>
eb4c04
#include <sys/types.h>
eb4c04
eb4c04
#include <perk/perk.h>
eb4c04
#include <perk/perk_meta.h>
eb4c04
249590
enum app_tags {
249590
	TAG_HELP,
249590
	TAG_VERSION,
249590
	TAG_OUTPUT,
249590
	TAG_PRETTY,
249590
	TAG_EXPSYMS,
249590
	TAG_IMPLIBS,
249590
	TAG_IMPSYMS,
249590
};
249590
eb4c04
struct pe_driver_ctx_impl {
eb4c04
	struct pe_symbol_ctx	symctx;
eb4c04
	struct pe_output_ctx	outctx;
eb4c04
	struct pe_linker_ctx	lnkctx;
eb4c04
	struct pe_server_ctx	srvctx;
eb4c04
	struct pe_io_ctx	ioctx;
eb4c04
	struct pe_common_ctx	cctx;
eb4c04
	struct pe_driver_ctx	ctx;
eb4c04
};
eb4c04
eb4c04
struct pe_unit_ctx_impl {
eb4c04
	const char *		path;
eb4c04
	struct pe_raw_image	map;
eb4c04
	struct pe_image_meta *	meta;
eb4c04
	struct pe_io_ctx	ioctx;
eb4c04
	struct pe_common_ctx	cctx;
eb4c04
	struct pe_unit_ctx	uctx;
eb4c04
};
eb4c04
249590
#endif