Blame src/internal/mdso_driver_impl.h

cde03b
#ifndef MDSO_DRIVER_IMPL_H
cde03b
#define MDSO_DRIVER_IMPL_H
cde03b
cde03b
#include <stdint.h>
cde03b
#include <stdio.h>
cde03b
#include <sys/types.h>
cde03b
cde03b
#include <mdso/mdso.h>
cde03b
cde03b
enum app_tags {
cde03b
	TAG_HELP,
cde03b
	TAG_VERSION,
7c0ec4
	TAG_QUAD_PTR,
d8c2b3
	TAG_LIBNAME,
d8c2b3
	TAG_DSTDIR,
8cfad6
	TAG_PRETTY,
8cfad6
	TAG_EXPSYMS,
cde03b
};
cde03b
43f283
struct mdso_expsyms {
43f283
	char *		buffer;
43f283
	const char *	syms[];
43f283
};
43f283
cde03b
struct mdso_driver_ctx_impl {
cde03b
	struct mdso_common_ctx	cctx;
cde03b
	struct mdso_driver_ctx	ctx;
938a47
	char *			asmbase;
938a47
	int			fddst;
cde03b
};
cde03b
cde03b
struct mdso_unit_ctx_impl {
cde03b
	const char *		path;
cde03b
	struct mdso_input	map;
43f283
	struct mdso_expsyms *	expsyms;
cde03b
	struct mdso_common_ctx	cctx;
cde03b
	struct mdso_unit_ctx	uctx;
cde03b
};
cde03b
cde03b
#endif