summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/rtfconv.h
blob: eed541a85e16d951fb84056e214df6d80e5dcc32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __RTFCONV_H__
#define __RTFCONV_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