summaryrefslogtreecommitdiff
path: root/src/internal/sofort_driver_impl.h
blob: b901629705d732a625ebacc196c2e49b6b657418 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef SFRT_DRIVER_IMPL_H
#define SFRT_DRIVER_IMPL_H

#include <stdint.h>
#include <stdio.h>
#include <sys/types.h>

#include <sofort/sofort.h>

enum app_tags {
	TAG_HELP,
	TAG_VERSION,
	TAG_OUTPUT_DUMMY,	/* dummy */
	TAG_OUTPUT_PROPERTY,	/* dummy */
};

struct sfrt_driver_ctx_impl {
	struct sfrt_common_ctx	cctx;
	struct sfrt_driver_ctx	ctx;
};

struct sfrt_unit_ctx_impl {
	const char *		path;
	struct sfrt_input	map;
	struct sfrt_common_ctx	cctx;
	struct sfrt_unit_ctx	uctx;
};

#endif