File: dieticonv.h

package info (click to toggle)
dietlibc 0.34~cvs20160606-10
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 11,336 kB
  • sloc: ansic: 71,631; asm: 13,006; cpp: 1,860; makefile: 799; sh: 292; perl: 62
file content (15 lines) | stat: -rw-r--r-- 202 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
enum charset {
  INVALID=0,
  ISO_8859_1,
  UTF_8,
  UCS_2,
  UCS_4,
  UTF_16_BE,
  UTF_16_LE,
  UTF_16
};

#define ic_from(x)	(((x)    )&0xffff)
#define ic_to(x)	(((x)>>16)&0xffff)

#include <iconv.h>