summaryrefslogtreecommitdiff
path: root/src/internal/sofort_driver_impl.h
blob: f72d200df4011f100af515eb4d1f62b438654c79 (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,
	TAG_OUTPUT_PROPERTY,
};

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