/* * Copyright (c) 2001-2006 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/ospfv3_xif.hh,v 1.5 2006/03/27 00:09:17 pavlin Exp $ */ #ifndef __XRL_INTERFACES_OSPFV3_XIF_HH__ #define __XRL_INTERFACES_OSPFV3_XIF_HH__ #undef XORP_LIBRARY_NAME #define XORP_LIBRARY_NAME "XifOspfv3" #include "libxorp/xlog.h" #include "libxorp/callback.hh" #include "libxipc/xrl.hh" #include "libxipc/xrl_error.hh" #include "libxipc/xrl_sender.hh" class XrlOspfv3V0p1Client { public: XrlOspfv3V0p1Client(XrlSender* s) : _sender(s) {} virtual ~XrlOspfv3V0p1Client() {} typedef XorpCallback1<void, const XrlError&>::RefPtr SetRouterIdCB; /** * Send Xrl intended to: * * Set router id * * @param dst_xrl_target_name the Xrl target name of the destination. */ bool send_set_router_id( const char* dst_xrl_target_name, const uint32_t& id, const SetRouterIdCB& cb ); protected: XrlSender* _sender; private: void unmarshall_set_router_id( const XrlError& e, XrlArgs* a, SetRouterIdCB cb ); }; #endif /* __XRL_INTERFACES_OSPFV3_XIF_HH__ */