/rusxmms/librcd

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

« back to all changes in this revision

Viewing changes to src/librcd.c

  • Committer: Suren A. Chilingaryan
  • Date: 2005-06-28 16:37:40 UTC
  • Revision ID: Arch-1:ds@dside.dyndns.org--darksoft-2004%librcd--main--0.1--patch-1
0.1.6
* Function name is changed to conform LibRCC naming conventions
* AutoConf Improvements
* Release Script
* Other minor changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#include <stdio.h>
2
2
 
 
3
#define _LIBRCD_C
3
4
#include "librcd.h"
4
5
 
5
6
#define NF_VALUE -2
254
255
}
255
256
 
256
257
 
257
 
enum russian_charsets get_russian_charset(const char *buf,int len) {
 
258
 
 
259
rcd_russian_charset rcdGetRussianCharset(const char *buf,int len) {
258
260
    long l;
259
261
 
260
262
    l = STRNLEN(buf,len);
261
263
    if (check_utf8(buf,l)>1) return RUSSIAN_CHARSET_UTF8;
262
264
    return is_win_charset2(buf,l);
263
265
}
 
266
 
 
267
/* Compatibility */
 
268
rcd_russian_charset get_russian_charset(const char *buf,int len) {
 
269
    return rcdGetRussianCharset(buf, len);
 
270
}