orbea / cross / slibtool

Forked from cross/slibtool 3 years ago
Clone

Blame src/internal/slibtool_driver_impl.h

9ca8c4
#ifndef SOFORT_DRIVER_IMPL_H
9ca8c4
#define SOFORT_DRIVER_IMPL_H
9ca8c4
9ca8c4
#include <stdint.h>
9ca8c4
#include <stdio.h>
9ca8c4
#include <sys/types.h>
9ca8c4
9ca8c4
#include <slibtool/slibtool.h>
9ca8c4
#include "argv/argv.h"
9ca8c4
9ca8c4
extern int slibtool_main(int, char **, char **);
9ca8c4
extern const struct argv_option slbt_default_options[];
9ca8c4
9ca8c4
enum app_tags {
9ca8c4
	TAG_HELP,
efd47f
	TAG_HELP_ALL,
9ca8c4
	TAG_VERSION,
efd47f
	TAG_CONFIG,
efd47f
	TAG_DEBUG,
efd47f
	TAG_DRY_RUN,
efd47f
	TAG_FEATURES,
efd47f
	TAG_MODE,
efd47f
	TAG_WARNINGS,
efd47f
	TAG_DEPS,
efd47f
	TAG_SILENT,
efd47f
	TAG_TAG,
efd47f
	TAG_VERBOSE,
9ca8c4
};
9ca8c4
9ca8c4
struct slbt_driver_ctx_impl {
9ca8c4
	struct slbt_common_ctx	cctx;
9ca8c4
	struct slbt_driver_ctx	ctx;
9ca8c4
};
9ca8c4
9ca8c4
struct slbt_unit_ctx_impl {
9ca8c4
	const char *		path;
9ca8c4
	struct slbt_input	map;
9ca8c4
	struct slbt_common_ctx	cctx;
9ca8c4
	struct slbt_unit_ctx	uctx;
9ca8c4
};
9ca8c4
9ca8c4
#endif