Blame src/internal/sofort_driver_impl.h

8805b2
#ifndef SOFORT_DRIVER_IMPL_H
8805b2
#define SOFORT_DRIVER_IMPL_H
f46039
f46039
#include <stdint.h>
f46039
#include <stdio.h>
f46039
#include <sys/types.h>
f46039
f46039
#include <sofort/sofort.h>
0090d8
#include "argv/argv.h"
0090d8
0090d8
extern const struct argv_option sfrt_default_options[];
f46039
f46039
enum app_tags {
f46039
	TAG_HELP,
f46039
	TAG_VERSION,
bbc20f
	TAG_OUTPUT_DUMMY,	/* dummy */
bbc20f
	TAG_OUTPUT_PROPERTY,	/* dummy */
f46039
};
f46039
f46039
struct sfrt_driver_ctx_impl {
7a0b56
	struct sfrt_common_ctx          cctx;
7a0b56
	struct sfrt_driver_ctx	        ctx;
7a0b56
	const  struct sfrt_unit_ctx *   euctx;
7a0b56
	const  char *                   eunit;
7a0b56
	struct sfrt_error_info **       errinfp;
7a0b56
	struct sfrt_error_info **       erricap;
7a0b56
	struct sfrt_error_info *        erriptr[64];
7a0b56
	struct sfrt_error_info	        erribuf[64];
f46039
};
f46039
f46039
struct sfrt_unit_ctx_impl {
f46039
	const char *		path;
f46039
	struct sfrt_input	map;
f46039
	struct sfrt_common_ctx	cctx;
f46039
	struct sfrt_unit_ctx	uctx;
f46039
};
f46039
f46039
#endif