projects
/
profile
/
ivi
/
speech-recognition.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74fbb42
)
speech-recognition: token macros for dictionary operations.
author
Krisztian Litkey
<krisztian.litkey@intel.com>
Thu, 6 Jun 2013 13:40:37 +0000
(16:40 +0300)
committer
Krisztian Litkey
<krisztian.litkey@intel.com>
Thu, 6 Jun 2013 13:53:11 +0000
(16:53 +0300)
src/daemon/client.h
patch
|
blob
|
history
diff --git
a/src/daemon/client.h
b/src/daemon/client.h
index
a79162b
..
19eec5a
100644
(file)
--- a/
src/daemon/client.h
+++ b/
src/daemon/client.h
@@
-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__"