1/* 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)); 14void enc_to_acp __ARGS((char_u *str, int str_size, char_u **out, int *outlen)); 15/* vim: set ft=c : */ 16