Code

frontend parser: Added support for parsing single expressions.
[sysdb.git] / src / include / frontend / proto.h
index 1d021519cd02cf2de2f2e9c376067cd9cd4448fd..76d1997be470b33c592f5f93aa5837656515f5c5 100644 (file)
@@ -35,7 +35,9 @@ extern "C" {
 /* status codes returned to a client */
 typedef enum {
        CONNECTION_OK = 0,
-       CONNECTION_ERROR
+       CONNECTION_ERROR,
+
+       CONNECTION_LOG,
 } sdb_conn_status_t;
 
 /* accepted commands / state of the connection */
@@ -46,7 +48,11 @@ typedef enum {
        CONNECTION_STARTUP,
 
        /* querying */
+       CONNECTION_QUERY,
        CONNECTION_LIST,
+
+       /* command elements */
+       CONNECTION_EXPR,
 } sdb_conn_state_t;
 
 #ifdef __cplusplus