ndmpc.h

来自「网络数据管理协议的开发」· C头文件 代码 · 共 65 行

H
65
字号
/*                               -*- Mode: C -*-  * ndmpc.h *  * Description     : NDMP client application commons. *  * Copyright (c) 1996,1997 PDC, Network Appliance. All Rights Reserved. * * $Id: ndmpc.h,v 1.6 1998/05/26 03:51:52 tim Exp $ */#ifndef ndmpc_h_#define ndmpc_h_#if !defined(lint) && !defined(SABER)static char ndmpc_h_rcsId[] __attribute__ ((unused)) = "@(#) $Id: ndmpc.h,v 1.6 1998/05/26 03:51:52 tim Exp $";#endif#include <tcl.h>#include "ndmp_common.h"Tcl_Interp*		ndmpcTclInit(void	*client_data);void			ndmpcNewTclInit(Tcl_Interp*	interp,								void*		client_data);void			ndmpcProcessTclCmdString(Tcl_Interp*	interp,										 char*			s);char*			ndmpErrToName(ndmp_error	err);char*			ndmpErrToStr(ndmp_error		err);int				ndmpcCheckNdmpSend(Tcl_Interp*	interp,								   int			sendErr,								   int			bodyErr);void			ndmpcTclAddToResult(Tcl_Interp*	interp,									char*		element,									char*		value);void			ndmpcTclAddHexToResult(Tcl_Interp*	interp,									   char*		element,									   char*		value,									   u_long		length);int				getCdb(int		num,					   char		**cdb,					   int		*cdb_len,					   char		**data,					   int		*data_len);void			displayCdbReply(char	status,								u_long	dataout_len,								char	*data,								int		data_len,								char	*sense,								int		sense_len);NdmpMsgHandlerFunc	notifyConnected;NdmpMsgHandlerFunc	notifyDataHalted;NdmpMsgHandlerFunc	notifyMoverHalted;NdmpMsgHandlerFunc	notifyMoverPaused;NdmpMsgHandlerFunc	notifyDataRead;NdmpMsgHandlerFunc	logMessage;NdmpMsgHandlerFunc	logFile;NdmpMsgHandlerFunc	fileHistoryAddFile;NdmpMsgHandlerFunc	fileHistoryAddDir;NdmpMsgHandlerFunc	fileHistoryAddNode;#endif /* ifndef ndmpc_h_ */

⌨️ 快捷键说明

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