first import of old cilux linux platform code
[cilux] / src / platform / container.h
diff --git a/src/platform/container.h b/src/platform/container.h
new file mode 100644 (file)
index 0000000..adb9cce
--- /dev/null
@@ -0,0 +1,19 @@
+/* -------------------------------------------------------------------------- */
+/*
+    container.h:  lifecycle and external event functions 
+                  from executable to kernel
+*/
+
+PUBLIC void     c_init(CONSOLE console,
+                       char*   version,
+                       char*   ciux,
+                       void  (*terminate)(void));
+
+PUBLIC C_RUN_RV c_run(C_RUN_ARG arg);
+
+PUBLIC void     c_running(int running);
+PUBLIC void     c_key(unsigned char key, int down);
+PUBLIC void     c_signal(int signum);
+
+/* -------------------------------------------------------------------------- */
+