Blame src/internal/apimagic_driver_impl.h

383aa6
#ifndef APIMAGIC_DRIVER_IMPL_H
383aa6
#define APIMAGIC_DRIVER_IMPL_H
383aa6
383aa6
#include <stdint.h>
383aa6
#include <stdio.h>
383aa6
#include <sys/types.h>
383aa6
383aa6
#include <apimagic/apimagic.h>
383aa6
7b509c
#ifndef AMGC_TAB_WIDTH
7b509c
#define AMGC_TAB_WIDTH	8
7b509c
#endif
7b509c
383aa6
enum app_tags {
383aa6
	TAG_HELP,
383aa6
	TAG_VERSION,
6adb90
	TAG_PRINT_ENUMS,
fd0662
	TAG_LANG_STD,
383aa6
};
383aa6
383aa6
struct amgc_driver_ctx_impl {
f0e1b6
	struct amgc_common_ctx		cctx;
f0e1b6
	struct amgc_driver_ctx		ctx;
6adb90
	struct amgc_action *		actions;
43c8c9
	struct compilation_env_t	ccenv;
f0e1b6
	int				fdtmpin;
383aa6
};
383aa6
383aa6
struct amgc_unit_ctx_impl {
f0e1b6
	const char *			path;
f0e1b6
	struct amgc_input		map;
f0e1b6
	struct amgc_common_ctx		cctx;
f0e1b6
	struct amgc_unit_ctx		uctx;
9c2028
	struct amgc_unit_meta		meta;
7a622c
	struct amgc_unit_entities *	entities;
43c8c9
	struct compilation_unit_t	ccunit;
383aa6
};
383aa6
383aa6
#endif