⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 translatorutils.h

📁 vc环境下的pgp源码
💻 H
字号:
/*____________________________________________________________________________
	Copyright (C) 1997 Network Associates Inc. and affiliated companies.
	All rights reserved.
	
	

	TranslatorUtils.h,v 1.4 1997/10/22 23:05:59 elrod Exp
____________________________________________________________________________*/

#ifndef Included_TranslatorUtils_h	/* [ */
#define Included_TranslatorUtils_h


#define DELIMITERLENGTH 256

#include "emssdk/ems-win.h"

unsigned long CreateRecipientList(
	char** EudoraAddresses, 
	char*** Recipients
	);

void 
FreeRecipientList(
	char** Recipients, 
	unsigned long  numRecipients
	);

long ConvertFileToEncryptedPGPMIME(
	const char*			file,
	char *				delimiter 
	);

long ConvertFileToSignedPGPMIME(
	const char*			file,
	const char*			sigfile, 
	long				hash,
	char*				delimiter 
	);

long WrapWithEncryptedPGPMIME(
	const char*			inputfile,
	const char*			outputfile,
	const char *		delimiter	// does not include the "--" part
	);

long WrapWithSignedPGPMIME(
	const char *		inputfile,
	const char *		sigfile,
	const char *		outputfile,
	const char *		delimiter, // does not include the "--" part
	unsigned long		hash
	);

void GetUniqueMIMEDelimiter( 
	char * delimiter 
	);

long CopyInputFileToOutputFile(
	const char* szInputFile, 
	HANDLE hOutputFile
	);


void AddCRLFToEOF(
	const char* szInputFile
	);

void RecreateOriginalMessageFile(
	const char* szInputFile, 
	const char* szOutputFile
	);

char* RecreateOriginalMessageBuffer(
	const char* pInputBuffer, 
	const char* pOutputBuffer
	);

#endif /* ] Included_TranslatorUtils_h */


/*__Editor_settings____

	Local Variables:
	tab-width: 4
	End:
	vi: ts=4 sw=4
	vim: si
_____________________*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -