summaryrefslogtreecommitdiff
path: root/src/internal/apimagic_driver_impl.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-12-29 04:48:00 -0500
committermidipix <writeonce@midipix.org>2016-01-01 22:50:23 -0500
commit383aa6559ee06236b7600df8df17d7f3ab254ca3 (patch)
tree1745e2888f440a7f56d54e29ce4a37a486d9d272 /src/internal/apimagic_driver_impl.h
parentd764f2cab0ed73a95f3574f7974ec53a516f3c0d (diff)
downloadapimagic-383aa6559ee06236b7600df8df17d7f3ab254ca3.tar.bz2
apimagic-383aa6559ee06236b7600df8df17d7f3ab254ca3.tar.xz
created skeleton.
Diffstat (limited to 'src/internal/apimagic_driver_impl.h')
-rw-r--r--src/internal/apimagic_driver_impl.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/internal/apimagic_driver_impl.h b/src/internal/apimagic_driver_impl.h
new file mode 100644
index 0000000..a3c6238
--- /dev/null
+++ b/src/internal/apimagic_driver_impl.h
@@ -0,0 +1,27 @@
+#ifndef APIMAGIC_DRIVER_IMPL_H
+#define APIMAGIC_DRIVER_IMPL_H
+
+#include <stdint.h>
+#include <stdio.h>
+#include <sys/types.h>
+
+#include <apimagic/apimagic.h>
+
+enum app_tags {
+ TAG_HELP,
+ TAG_VERSION,
+};
+
+struct amgc_driver_ctx_impl {
+ struct amgc_common_ctx cctx;
+ struct amgc_driver_ctx ctx;
+};
+
+struct amgc_unit_ctx_impl {
+ const char * path;
+ struct amgc_input map;
+ struct amgc_common_ctx cctx;
+ struct amgc_unit_ctx uctx;
+};
+
+#endif