summaryrefslogtreecommitdiffstats
path: root/src/rcctranslate.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2005-08-03 01:48:35 +0000
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2005-08-03 01:48:35 +0000
commitdcd966ba50fa18853c5ae06125a5b08b0ee6b10d (patch)
tree8147928dbe65fc6b4d83e5cc15d1b3ac5993e0eb /src/rcctranslate.h
parent8b75f9bb6a09d54d634ff661655659951378aa2c (diff)
downloadlibrcc-dcd966ba50fa18853c5ae06125a5b08b0ee6b10d.tar.gz
librcc-dcd966ba50fa18853c5ae06125a5b08b0ee6b10d.tar.bz2
librcc-dcd966ba50fa18853c5ae06125a5b08b0ee6b10d.tar.xz
librcc-dcd966ba50fa18853c5ae06125a5b08b0ee6b10d.zip
Language Fixes and Improvements
- rccmutex - Language autodetection fixes and improvements - Language translation fixes and improvements - The current state is near to be usable
Diffstat (limited to 'src/rcctranslate.h')
-rw-r--r--src/rcctranslate.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/rcctranslate.h b/src/rcctranslate.h
index 961af6f..b00cdfd 100644
--- a/src/rcctranslate.h
+++ b/src/rcctranslate.h
@@ -1,9 +1,10 @@
#ifndef _RCC_TRANSLATE_H
#define _RCC_TRANSLATE_H
+#include "rccmutex.h"
#include "rccexternal.h"
-#define RCC_TRANSLATE_DEFAULT_TIMEOUT 5000000 /* 5s */
#define RCC_EXTERNAL_COMMAND_TRANSLATE 0x80
+#define RCC_EXTERNAL_COMMAND_TRANSLATE_QUEUE 0x81
struct rcc_translate_prefix_t {
@@ -19,8 +20,13 @@ typedef struct rcc_translate_prefix_t *rcc_translate_prefix;
struct rcc_translate_t {
rcc_translate_prefix_s prefix;
+ rcc_translate_prefix_s wprefix;
size_t remaining;
+ rcc_mutex mutex;
+ rcc_mutex wmutex;
int sock;
+
+ unsigned char werror;
};
typedef struct rcc_translate_t rcc_translate_s;