blob: 996847e1ab77fe983f15cc31bf38b4ce09d7b6ec [file] [log] [blame]
Bram Moolenaar693e40c2013-02-26 14:56:42 +01001/* winclip.c */
2int utf8_to_utf16 __ARGS((char_u *instr, int inlen, short_u *outstr, int *unconvlenp));
3int utf16_to_utf8 __ARGS((short_u *instr, int inlen, char_u *outstr));
4void MultiByteToWideChar_alloc __ARGS((UINT cp, DWORD flags, LPCSTR in, int inlen, LPWSTR *out, int *outlen));
5void WideCharToMultiByte_alloc __ARGS((UINT cp, DWORD flags, LPCWSTR in, int inlen, LPSTR *out, int *outlen, LPCSTR def, LPBOOL useddef));
6void win_clip_init __ARGS((void));
7int clip_mch_own_selection __ARGS((VimClipboard *cbd));
8void clip_mch_lose_selection __ARGS((VimClipboard *cbd));
9void clip_mch_request_selection __ARGS((VimClipboard *cbd));
10void clip_mch_set_selection __ARGS((VimClipboard *cbd));
11short_u *enc_to_utf16 __ARGS((char_u *str, int *lenp));
12char_u *utf16_to_enc __ARGS((short_u *str, int *lenp));
13void acp_to_enc __ARGS((char_u *str, int str_size, char_u **out, int *outlen));
14/* vim: set ft=c : */