summaryrefslogtreecommitdiffstats
path: root/src/rccexternal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rccexternal.h')
-rw-r--r--src/rccexternal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rccexternal.h b/src/rccexternal.h
index 236e2df..1038329 100644
--- a/src/rccexternal.h
+++ b/src/rccexternal.h
@@ -3,6 +3,7 @@
typedef enum rcc_external_module_t {
RCC_EXTERNAL_MODULE_CONTROL = 0,
+ RCC_EXTERNAL_MODULE_OPTIONS,
RCC_EXTERNAL_MODULE_LIBRTRANSLATE,
RCC_EXTERNAL_MODULE_MAX
} rcc_external_module;
@@ -13,6 +14,11 @@ struct rcc_external_info_t {
typedef struct rcc_external_info_t rcc_external_info_s;
typedef struct rcc_external_info_t *rcc_external_info;
+typedef enum rcc_external_option_t {
+ RCC_EXTERNAL_OPTION_OFFLINE = 0,
+ RCC_EXTERNAL_OPTION_MAX
+} rcc_external_option;
+
struct rcc_external_command_t {
unsigned long size;
unsigned char cmd;
@@ -25,6 +31,8 @@ typedef struct rcc_external_command_t *rcc_external_command;
int rccExternalInit();
void rccExternalFree();
+int rccExternalAllowOfflineMode();
+
size_t rccExternalWrite(int s, const char *buffer, ssize_t size, unsigned long timeout);
size_t rccExternalRead(int s, char *buffer, ssize_t size, unsigned long timeout);
int rccExternalConnect(unsigned char module);