genericcallback.h

来自「vc环境下的pgp源码」· C头文件 代码 · 共 44 行

H
44
字号
//////////////////////////////////////////////////////////////////////////////
// GenericCallback.h
//
// The PGPdisk GenericCallback implementation.
//////////////////////////////////////////////////////////////////////////////

// $Id: GenericCallback.h,v 1.4 1998/12/14 19:00:58 nryan Exp $

// Copyright (C) 1998 by Network Associates, Inc.
// All rights reserved.

#ifndef Included_GenericCallback_h	// [
#define Included_GenericCallback_h

#include "DualErr.h"


////////
// Types
////////

struct GenericCallbackInfo;

// PEZCALLBACK defines a pointer to a simple callback function.

typedef void (* PEZCALLBACK)(PGPUInt32);

// PGENCBFUNC defines a pointer to a GenericCallbackInfo callback function.

typedef void (* PGENCBFUNC)(GenericCallbackInfo *);

// GenericCallbackInfo is for use by certain PGPdisk classes that use
// callbacks.

typedef struct GenericCallbackInfo
{
	PGENCBFUNC	callback;		// address of callback
	PGPUInt32	refData[8];		// reference data
	DualErr		derr;			// error code

} GenericCallbackInfo, *PGenericCallbackInfo;

#endif // ] Included_GenericCallback_h

⌨️ 快捷键说明

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