translatorutils.h

来自「pgp soucecode pgp soucecode」· C头文件 代码 · 共 91 行

H
91
字号
/*____________________________________________________________________________
	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 + =
减小字号Ctrl + -
显示快捷键?