/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/rcciconv.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:
8
8
};
9
9
typedef struct rcc_iconv_t rcc_iconv_s;
10
10
 
11
 
size_t rccIConv(rcc_context ctx, rcc_iconv icnv, const char *buf, size_t len);
 
11
size_t rccIConvInternal(rcc_context ctx, rcc_iconv icnv, const char *buf, size_t len);
 
12
 
 
13
/** 
 
14
  * Recodes chunk of data.
 
15
  *
 
16
  * @param icnv is recoding context
 
17
  * @param outbuf is preallocated output buffer
 
18
  * @param outsize is size of output buffer (striped string will be returned if buffer to small) 
 
19
  * @param buf is data for recoding
 
20
  * @param size is size of the data
 
21
  * @return number of recoded bytes in output buffer or -1 in the case of error
 
22
  */
 
23
size_t rccIConvRecode(rcc_iconv icnv, char *outbuf, size_t outsize, const char *buf, size_t size);
12
24
 
13
25
#endif /* _RCC_ICONV_H */