From dcd966ba50fa18853c5ae06125a5b08b0ee6b10d Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 3 Aug 2005 01:48:35 +0000 Subject: Language Fixes and Improvements - rccmutex - Language autodetection fixes and improvements - Language translation fixes and improvements - The current state is near to be usable --- src/rcctranslate.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/rcctranslate.h') 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; -- cgit v1.2.3