Blame nkf32.h

Packit Service 949123
#ifndef NKF32_H
Packit Service 949123
#ifndef CLASS_DECLSPEC
Packit Service 949123
/* dll __declspec(dllexport) */
Packit Service 949123
/* app __declspec(dllimport) */
Packit Service 949123
#define CLASS_DECLSPEC
Packit Service 949123
#endif
Packit Service 949123
Packit Service 949123
#ifndef LPSTR
Packit Service 949123
#include <windows.h>
Packit Service 949123
#endif
Packit Service 949123
Packit Service 949123
#ifdef __cplusplus
Packit Service 949123
extern "C" {
Packit Service 949123
#endif /* __cplusplus */
Packit Service 949123
#ifdef __BORLANDC__
Packit Service 949123
#pragma argsused
Packit Service 949123
#endif /*__BORLANDC__*/
Packit Service 949123
/* uminchu nkf32103a.lzh 1.00 */
Packit Service 949123
void CALLBACK CLASS_DECLSPEC GetNkfVersion(LPSTR verStr);
Packit Service 949123
int CALLBACK CLASS_DECLSPEC SetNkfOption(LPSTR optStr);
Packit Service 949123
void CALLBACK CLASS_DECLSPEC NkfConvert(LPSTR outStr, LPCSTR inStr);
Packit Service 949123
/* uminchu nkf32103a.lzh 1.02 */
Packit Service 949123
void CALLBACK CLASS_DECLSPEC ToHankaku(LPSTR inStr);
Packit Service 949123
void CALLBACK CLASS_DECLSPEC ToZenkakuKana(LPSTR outStr ,LPCSTR inStr);
Packit Service 949123
/* uminchu nkf32103a.lzh 1.03 */
Packit Service 949123
void CALLBACK CLASS_DECLSPEC EncodeSubject(LPSTR outStr ,LPCSTR inStr);
Packit Service 949123
/* tkaneto nkf32204.zip 2.0.4.0 */
Packit Service 949123
#ifdef TOMIME
Packit Service 949123
void CALLBACK CLASS_DECLSPEC ToMime(LPSTR outStr ,LPCSTR inStr);
Packit Service 949123
#endif /*TOMIME*/
Packit Service 949123
#ifdef GETKANJICODE
Packit Service 949123
int CALLBACK CLASS_DECLSPEC NkfGetKanjiCode(VOID);
Packit Service 949123
#endif /*GETKANJICODE*/
Packit Service 949123
#ifdef FILECONVERT1
Packit Service 949123
void CALLBACK CLASS_DECLSPEC NkfFileConvert1(LPCSTR fName);
Packit Service 949123
#endif /*FILECONVERT1*/
Packit Service 949123
#ifdef FILECONVERT2
Packit Service 949123
void CALLBACK CLASS_DECLSPEC NkfFileConvert2(LPCSTR fInName,LPCSTR fOutName);
Packit Service 949123
#endif /*FILECONVERT2*/
Packit Service 949123
#ifndef NKF32103A
Packit Service 949123
/* safe */
Packit Service 949123
BOOL WINAPI CLASS_DECLSPEC GetNkfVersionSafeA(LPSTR verStr,DWORD nBufferLength /*in TCHARs*/,LPDWORD lpTCHARsReturned /*in TCHARs*/);
Packit Service 949123
BOOL WINAPI CLASS_DECLSPEC NkfConvertSafe(LPSTR outStr,DWORD nOutBufferLength /*in Bytes*/,LPDWORD lpBytesReturned /*in Bytes*/, LPCSTR inStr,DWORD nInBufferLength /*in Bytes*/);
Packit Service 949123
BOOL WINAPI CLASS_DECLSPEC ToZenkakuKanaSafe(LPSTR outStr,DWORD nOutBufferLength /*in Bytes*/,LPDWORD lpBytesReturned /*in Bytes*/,LPCSTR inStr,DWORD nInBufferLength /*in Bytes*/);
Packit Service 949123
BOOL WINAPI CLASS_DECLSPEC ToHankakuSafe(LPSTR outStr,DWORD nOutBufferLength /*in Bytes*/,LPDWORD lpBytesReturned /*in Bytes*/,LPCSTR inStr,DWORD nInBufferLength /*in Bytes*/);
Packit Service 949123
BOOL WINAPI CLASS_DECLSPEC EncodeSubjectSafe(LPSTR outStr,DWORD nOutBufferLength /*in Bytes*/,LPDWORD lpBytesReturned /*in Bytes*/,LPCSTR inStr,DWORD nInBufferLength /*in Bytes*/);
Packit Service 949123
BOOL WINAPI CLASS_DECLSPEC NkfFileConvert1SafeA(LPCSTR fName,DWORD nBufferLength /*in TCHARs*/);
Packit Service 949123
BOOL WINAPI CLASS_DECLSPEC NkfFileConvert2SafeA(LPCSTR fInName,DWORD fInBufferLength /*in TCHARs*/,LPCSTR fOutName,DWORD fOutBufferLength /*in TCHARs*/);
Packit Service 949123
BOOL WINAPI CLASS_DECLSPEC GetNkfGuessA(LPSTR outStr,DWORD nBufferLength /*in TCHARs*/,LPDWORD lpTCHARsReturned /*in TCHARs*/);
Packit Service 949123
Packit Service 949123
BOOL WINAPI CLASS_DECLSPEC GetNkfVersionSafeW(LPWSTR verStr,DWORD nBufferLength /*in TCHARs*/,LPDWORD lpTCHARsReturned /*in TCHARs*/);
Packit Service 949123
BOOL WINAPI CLASS_DECLSPEC NkfFileConvert1SafeW(LPCWSTR fName,DWORD nBufferLength /*in TCHARs*/);
Packit Service 949123
BOOL WINAPI CLASS_DECLSPEC NkfFileConvert2SafeW(LPCWSTR fInName,DWORD fInBufferLength /*in TCHARs*/,LPCWSTR fOutName,DWORD fOutBufferLength /*in TCHARs*/);
Packit Service 949123
BOOL WINAPI CLASS_DECLSPEC GetNkfGuessW(LPWSTR outStr,DWORD nBufferLength /*in TCHARs*/,LPDWORD lpTCHARsReturned /*in TCHARs*/);
Packit Service 949123
BOOL WINAPI CLASS_DECLSPEC GetNkfSupportFunctions(void *outStr,DWORD nBufferLength /*in Bytes*/,LPDWORD lpBytesReturned /*in Bytes*/);
Packit Service 949123
BOOL WINAPI CLASS_DECLSPEC NkfUsage(LPSTR outStr,DWORD nBufferLength /*in Bytes*/,LPDWORD lpBytesReturned /*in Bytes*/);
Packit Service 949123
Packit Service 949123
#ifdef UNICODE
Packit Service 949123
#define GetNkfVersionSafe   GetNkfVersionSafeW
Packit Service 949123
#define GetNkfGuess         GetNkfGuessW
Packit Service 949123
#define NkfFileConvert1Safe NkfFileConvert1SafeW
Packit Service 949123
#define NkfFileConvert2Safe NkfFileConvert2SafeW
Packit Service 949123
#else /*UNICODE*/
Packit Service 949123
#define GetNkfVersionSafe   GetNkfVersionSafeA
Packit Service 949123
#define GetNkfGuess         GetNkfGuessA
Packit Service 949123
#define NkfFileConvert1Safe NkfFileConvert1SafeA
Packit Service 949123
#define NkfFileConvert2Safe NkfFileConvert2SafeA
Packit Service 949123
#endif /*UNICODE*/
Packit Service 949123
Packit Service 949123
struct NKFSUPPORTFUNCTIONS {
Packit Service 949123
DWORD size;
Packit Service 949123
LPCSTR copyrightA;
Packit Service 949123
LPCSTR versionA;
Packit Service 949123
LPCSTR dateA;
Packit Service 949123
DWORD functions;
Packit Service 949123
};
Packit Service 949123
Packit Service 949123
Packit Service 949123
void reinitdll(void);
Packit Service 949123
#endif /*!defined(NKF32103A)*/
Packit Service 949123
Packit Service 949123
#ifdef __cplusplus
Packit Service 949123
}       // Balance extern "C" above
Packit Service 949123
#endif /*__cplusplus*/
Packit Service 949123
#endif