/rusxmms/librcc

To get this branch, use:
bzr branch http://suren.me/webbzr/rusxmms/librcc

« back to all changes in this revision

Viewing changes to src/rccdb4.h

  • Committer: Suren A. Chilingaryan
  • Date: 2005-07-29 03:26:28 UTC
  • Revision ID: Arch-1:ds@dside.dyndns.org--darksoft-2004%librcc--main--0.1--patch-23
Translation
    - Language Translation using libtranslate is implemented
    - Autoengine sets current charset (option)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
#include "../config.h"
5
5
 
 
6
#include "librcc.h"
 
7
 
6
8
#ifdef HAVE_DB_H
7
9
# include <db.h>
8
10
#endif /* HAVE_DB_H */
9
11
 
10
 
#include "rccstring.h"
11
 
 
12
12
struct db4_context_t {
13
13
#ifdef HAVE_DB_H
14
14
    DB_ENV *dbe;
24
24
db4_context rccDb4CreateContext(const char *dbpath, rcc_db4_flags flags);
25
25
void rccDb4FreeContext(db4_context ctx);
26
26
 
27
 
int rccDb4SetKey(db4_context ctx, const char *orig, size_t olen, const rcc_string string);
28
 
rcc_string rccDb4GetKey(db4_context ctx, const char *orig, size_t olen);
 
27
int rccDb4SetKey(db4_context ctx, const char *orig, size_t olen, const char *string);
 
28
char *rccDb4GetKey(db4_context ctx, const char *orig, size_t olen);
29
29
 
30
30
#endif /* _RCC_DB4_H */