xorp_if_mib_xif.hh

来自「BCAST Implementation for NS2」· HH 代码 · 共 83 行

HH
83
字号
/* * Copyright (c) 2001-2003 International Computer Science Institute * See LICENSE file for licensing, conditions, and warranties on use. * * DO NOT EDIT THIS FILE - IT IS PROGRAMMATICALLY GENERATED * * Generated by 'clnt-gen'. * * $XORP: xorp/xrl/interfaces/xorp_if_mib_xif.hh,v 1.2 2003/08/07 04:52:28 hodson Exp $ */#ifndef __XRL_INTERFACES_XORP_IF_MIB_XIF_HH__#define __XRL_INTERFACES_XORP_IF_MIB_XIF_HH__#undef XORP_LIBRARY_NAME#define XORP_LIBRARY_NAME "XifXorpIfMib"#include "libxorp/xlog.h"#include "libxorp/callback.hh"#include "libxipc/xrl.hh"#include "libxipc/xrl_error.hh"#include "libxipc/xrl_sender.hh"class XrlXorpIfMibV0p1Client {public:    XrlXorpIfMibV0p1Client(XrlSender* s) : _sender(s) {}    virtual ~XrlXorpIfMibV0p1Client() {}    typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr LoadMibCB;    /**     *  Send Xrl intended to:     *       *  Load a MIB module     *       *  @param tgt_name Xrl Target name     *       *  @param mod_name the mib module file name (without extension)     *       *  @param abs_path absolute path to the module file     */    bool send_load_mib(	const char*	target_name, 	const string&	mod_name, 	const string&	abs_path, 	const LoadMibCB&	cb    );    typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr UnloadMibCB;    /**     *  Send Xrl intended to:     *       *  Unload a MIB module     *       *  @param tgt_name Xrl Target name     */    bool send_unload_mib(	const char*	target_name, 	const uint32_t&	mib_index, 	const UnloadMibCB&	cb    );protected:    XrlSender* _sender;private:    void unmarshall_load_mib(	const XrlError&	e, 	XrlArgs*	a, 	LoadMibCB		cb    );    void unmarshall_unload_mib(	const XrlError&	e, 	XrlArgs*	a, 	UnloadMibCB		cb    );};#endif /* __XRL_INTERFACES_XORP_IF_MIB_XIF_HH__ */

⌨️ 快捷键说明

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