summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/rtfconv.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SecureIM/src/rtfconv.h')
-rw-r--r--plugins/SecureIM/src/rtfconv.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/SecureIM/src/rtfconv.h b/plugins/SecureIM/src/rtfconv.h
new file mode 100644
index 0000000000..2a3e75089b
--- /dev/null
+++ b/plugins/SecureIM/src/rtfconv.h
@@ -0,0 +1,23 @@
+#ifndef __RTFCONV_H__
+#define __RTFCONV_H__
+
+#include <windows.h>
+
+#ifndef _INTPTR_T_DEFINED
+#define intptr_t int
+#endif
+
+#define CONVMODE_USE_SYSTEM_TABLE 0x800000 /* Use OS's table only */
+
+typedef intptr_t (WINAPI *RTFCONVSTRING) ( const void *pSrcBuffer, void *pDstBuffer,
+ int nSrcCodePage, int nDstCodePage, unsigned long dwFlags,
+ size_t nMaxLen );
+
+extern RTFCONVSTRING pRtfconvString;
+
+BOOL load_rtfconv ();
+void free_rtfconv ();
+void rtfconvA(LPCSTR rtf, LPWSTR plain);
+void rtfconvW(LPCWSTR rtf, LPWSTR plain);
+
+#endif