]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - charset/charset.h
Add ability for ssh2_userkey_loadpub() to return the key comment.
[PuTTY.git] / charset / charset.h
index 1a2152dc78be85325ce35f60e634b547bc8243b1..0a2e9190fac5d564528a8e0c04e66de6a82e0202 100644 (file)
@@ -136,4 +136,18 @@ int charset_from_xenc(const char *name);
 const char *charset_to_mimeenc(int charset);
 int charset_from_mimeenc(const char *name);
 
+/*
+ * Convert our own encoding names to and from our charset
+ * identifiers.
+ */
+const char *charset_to_localenc(int charset);
+int charset_from_localenc(const char *name);
+int charset_localenc_nth(int n);
+
+/*
+ * Convert Mac OS script/region/font to our charset identifiers.
+ */
+int charset_from_macenc(int script, int region, int sysvers,
+                       const char *fontname);
+
 #endif /* charset_charset_h */