speech-recognition: token macros for dictionary operations.
authorKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 6 Jun 2013 13:40:37 +0000 (16:40 +0300)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 6 Jun 2013 13:53:11 +0000 (16:53 +0300)
src/daemon/client.h

index a79162b..19eec5a 100644 (file)
@@ -70,6 +70,16 @@ typedef struct {
 } srs_command_t;
 
 
+/*
+ * special command tokens
+ */
+
+#define SRS_TOKEN_SWITCHDICT "__switch_dict__"
+#define SRS_TOKEN_PUSHDICT   "__push_dict__"
+#define SRS_TOKEN_POPDICT    "__pop_dict__"
+#define SRS_TOKEN_WILDCARD   "*"
+
+
 /* dictionary pseudo-commands */
 #define SRS_DICTCMD_SWITCH    "__switch_dict__"
 #define SRS_DICTCMD_PUSH      "__push_dict__"