MCPcopy Create free account
hub / github.com/OpenPrinting/cups / _cupsCharmapFlush

Function _cupsCharmapFlush

cups/transcode.c:41–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 */
40
41void
42_cupsCharmapFlush(void)
43{
44#ifdef HAVE_ICONV_H
45 if (map_from_utf8 != (iconv_t)-1)
46 {
47 iconv_close(map_from_utf8);
48 map_from_utf8 = (iconv_t)-1;
49 }
50
51 if (map_to_utf8 != (iconv_t)-1)
52 {
53 iconv_close(map_to_utf8);
54 map_to_utf8 = (iconv_t)-1;
55 }
56
57 map_encoding = CUPS_AUTO_ENCODING;
58#endif /* HAVE_ICONV_H */
59}
60
61
62/*

Callers 3

mainFunction · 0.85
cupsCharsetToUTF8Function · 0.85
cupsUTF8ToCharsetFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68