summaryrefslogtreecommitdiff
path: root/include/MESA/sapp_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/MESA/sapp_state.h')
-rw-r--r--include/MESA/sapp_state.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/MESA/sapp_state.h b/include/MESA/sapp_state.h
new file mode 100644
index 0000000..5b54428
--- /dev/null
+++ b/include/MESA/sapp_state.h
@@ -0,0 +1,27 @@
+#ifndef _SAPP_STATE_H_
+#define _SAPP_STATE_H_ 1
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#if 0 //move to stream_control.h
+enum sapp_state_t{
+ SAPP_STATE_JUST_START, /* main() called by shell command */
+ SAPP_STATE_CONFIG_PARSE,
+ SAPP_STATE_PLATFORM_INITING,
+ SAPP_STATE_PLATFORM_INITED,
+ SAPP_STATE_PKT_IO_INITING,
+ SAPP_STATE_PKT_IO_INITED,
+ SAPP_STATE_PLUG_INITING,
+ SAPP_STATE_PLUG_INITED,
+ SAPP_STATE_PROCESSING,
+ SAPP_STATE_READY_TO_EXIT, /* only for pcap dumpfile */
+};
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+