diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2006-11-24 20:23:09 +0000 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2006-11-24 20:23:09 +0000 |
commit | b91203daf1a2b5865bfd284821c0c0b103f5b8e7 (patch) | |
tree | 60949a1c16c1ce22c897393ab4534dab5e8acc0c /src/internal.h | |
parent | 0e5da4d706fa83d29999d9d90976fa4822c3e2e1 (diff) | |
download | librcc-b91203daf1a2b5865bfd284821c0c0b103f5b8e7.tar.gz librcc-b91203daf1a2b5865bfd284821c0c0b103f5b8e7.tar.bz2 librcc-b91203daf1a2b5865bfd284821c0c0b103f5b8e7.tar.xz librcc-b91203daf1a2b5865bfd284821c0c0b103f5b8e7.zip |
DB4 Recovery
- RCC Subsystem Locking (per user)
- DB4 Recovery (automatically restores environment in the case of db4 upgrades)
Diffstat (limited to 'src/internal.h')
-rw-r--r-- | src/internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/internal.h b/src/internal.h index 5e64551..c5170be 100644 --- a/src/internal.h +++ b/src/internal.h @@ -5,6 +5,10 @@ # define LIBRCC_DATA_DIR "/usr/lib/rcc" #endif /* LIBRCC_DATA_DIR */ +#ifndef LIBRCC_LOCK_WAIT +# define LIBRCC_LOCK_WAIT 3000 /* ms */ +#endif /* LIBRCC_LOCK_WAIT */ + #define RCC_MAX_LANGUAGE_PARRENTS 4 #define RCC_MAX_RELATIONS RCC_MAX_LANGUAGES @@ -91,6 +95,9 @@ struct rcc_context_t { }; typedef struct rcc_context_t rcc_context_s; +int rccLock(); +void rccUnLock(); + int rccConfigure(rcc_context ctx); char *rccCreateResult(rcc_context ctx, size_t len); |