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

📄 ndmpc.h

📁 网络数据管理协议的开发
💻 H
字号:
/*                               -*- 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -