xorp

olsr4_xif.hh

00001 /*
00002  * obj/i686-pc-linux-gnu/xrl/interfaces/olsr4_xif.hh
00003  * vim:set sts=4 ts=8 ft=cpp:
00004  *
00005  * Copyright (c) 2001-2010 XORP, Inc and Others
00006  * See the XORP LICENSE.lgpl file for licensing, conditions, and warranties
00007  * on use.
00008  *
00009  * DO NOT EDIT THIS FILE - IT IS PROGRAMMATICALLY GENERATED
00010  *
00011  * Generated by 'clnt-gen'.
00012  */
00013 
00014 #ifndef __XRL_INTERFACES_OLSR4_XIF_HH__
00015 #define __XRL_INTERFACES_OLSR4_XIF_HH__
00016 
00017 #undef XORP_LIBRARY_NAME
00018 #define XORP_LIBRARY_NAME "XifOlsr4"
00019 
00020 #include "libxorp/xlog.h"
00021 #include "libxorp/callback.hh"
00022 
00023 #include "libxipc/xrl.hh"
00024 #include "libxipc/xrl_error.hh"
00025 #include "libxipc/xrl_sender.hh"
00026 
00027 //#include <memory>
00028 
00029 class XrlOlsr4V0p1Client {
00030 public:
00031     XrlOlsr4V0p1Client(XrlSender* s) : _sender(s) {}
00032     virtual ~XrlOlsr4V0p1Client() {}
00033 
00034     typedef XorpCallback1<void, const XrlError&>::RefPtr TraceCB;
00046     bool send_trace(
00047     const char* dst_xrl_target_name,
00048     const string&   tvar,
00049     const bool& enable,
00050     const TraceCB&  cb
00051     );
00052 
00053     typedef XorpCallback1<void, const XrlError&>::RefPtr ClearDatabaseCB;
00061     bool send_clear_database(
00062     const char* dst_xrl_target_name,
00063     const ClearDatabaseCB&  cb
00064     );
00065 
00066     typedef XorpCallback1<void, const XrlError&>::RefPtr SetWillingnessCB;
00076     bool send_set_willingness(
00077     const char* dst_xrl_target_name,
00078     const uint32_t& willingness,
00079     const SetWillingnessCB& cb
00080     );
00081 
00082     typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetWillingnessCB;
00090     bool send_get_willingness(
00091     const char* dst_xrl_target_name,
00092     const GetWillingnessCB& cb
00093     );
00094 
00095     typedef XorpCallback1<void, const XrlError&>::RefPtr SetMprCoverageCB;
00105     bool send_set_mpr_coverage(
00106     const char* dst_xrl_target_name,
00107     const uint32_t& coverage,
00108     const SetMprCoverageCB& cb
00109     );
00110 
00111     typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetMprCoverageCB;
00119     bool send_get_mpr_coverage(
00120     const char* dst_xrl_target_name,
00121     const GetMprCoverageCB& cb
00122     );
00123 
00124     typedef XorpCallback1<void, const XrlError&>::RefPtr SetTcRedundancyCB;
00132     bool send_set_tc_redundancy(
00133     const char* dst_xrl_target_name,
00134     const string&   redundancy,
00135     const SetTcRedundancyCB&    cb
00136     );
00137 
00138     typedef XorpCallback2<void, const XrlError&, const string*>::RefPtr GetTcRedundancyCB;
00146     bool send_get_tc_redundancy(
00147     const char* dst_xrl_target_name,
00148     const GetTcRedundancyCB&    cb
00149     );
00150 
00151     typedef XorpCallback1<void, const XrlError&>::RefPtr SetTcFisheyeCB;
00161     bool send_set_tc_fisheye(
00162     const char* dst_xrl_target_name,
00163     const bool& enabled,
00164     const SetTcFisheyeCB&   cb
00165     );
00166 
00167     typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr GetTcFisheyeCB;
00175     bool send_get_tc_fisheye(
00176     const char* dst_xrl_target_name,
00177     const GetTcFisheyeCB&   cb
00178     );
00179 
00180     typedef XorpCallback1<void, const XrlError&>::RefPtr SetHnaBaseCostCB;
00188     bool send_set_hna_base_cost(
00189     const char* dst_xrl_target_name,
00190     const uint32_t& metric,
00191     const SetHnaBaseCostCB& cb
00192     );
00193 
00194     typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetHnaBaseCostCB;
00202     bool send_get_hna_base_cost(
00203     const char* dst_xrl_target_name,
00204     const GetHnaBaseCostCB& cb
00205     );
00206 
00207     typedef XorpCallback1<void, const XrlError&>::RefPtr SetHelloIntervalCB;
00217     bool send_set_hello_interval(
00218     const char* dst_xrl_target_name,
00219     const uint32_t& interval,
00220     const SetHelloIntervalCB&   cb
00221     );
00222 
00223     typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetHelloIntervalCB;
00231     bool send_get_hello_interval(
00232     const char* dst_xrl_target_name,
00233     const GetHelloIntervalCB&   cb
00234     );
00235 
00236     typedef XorpCallback1<void, const XrlError&>::RefPtr SetRefreshIntervalCB;
00246     bool send_set_refresh_interval(
00247     const char* dst_xrl_target_name,
00248     const uint32_t& interval,
00249     const SetRefreshIntervalCB& cb
00250     );
00251 
00252     typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetRefreshIntervalCB;
00260     bool send_get_refresh_interval(
00261     const char* dst_xrl_target_name,
00262     const GetRefreshIntervalCB& cb
00263     );
00264 
00265     typedef XorpCallback1<void, const XrlError&>::RefPtr SetTcIntervalCB;
00275     bool send_set_tc_interval(
00276     const char* dst_xrl_target_name,
00277     const uint32_t& interval,
00278     const SetTcIntervalCB&  cb
00279     );
00280 
00281     typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetTcIntervalCB;
00289     bool send_get_tc_interval(
00290     const char* dst_xrl_target_name,
00291     const GetTcIntervalCB&  cb
00292     );
00293 
00294     typedef XorpCallback1<void, const XrlError&>::RefPtr SetMidIntervalCB;
00304     bool send_set_mid_interval(
00305     const char* dst_xrl_target_name,
00306     const uint32_t& interval,
00307     const SetMidIntervalCB& cb
00308     );
00309 
00310     typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetMidIntervalCB;
00318     bool send_get_mid_interval(
00319     const char* dst_xrl_target_name,
00320     const GetMidIntervalCB& cb
00321     );
00322 
00323     typedef XorpCallback1<void, const XrlError&>::RefPtr SetHnaIntervalCB;
00333     bool send_set_hna_interval(
00334     const char* dst_xrl_target_name,
00335     const uint32_t& interval,
00336     const SetHnaIntervalCB& cb
00337     );
00338 
00339     typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetHnaIntervalCB;
00347     bool send_get_hna_interval(
00348     const char* dst_xrl_target_name,
00349     const GetHnaIntervalCB& cb
00350     );
00351 
00352     typedef XorpCallback1<void, const XrlError&>::RefPtr SetDupHoldTimeCB;
00362     bool send_set_dup_hold_time(
00363     const char* dst_xrl_target_name,
00364     const uint32_t& dup_hold_time,
00365     const SetDupHoldTimeCB& cb
00366     );
00367 
00368     typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetDupHoldTimeCB;
00376     bool send_get_dup_hold_time(
00377     const char* dst_xrl_target_name,
00378     const GetDupHoldTimeCB& cb
00379     );
00380 
00381     typedef XorpCallback1<void, const XrlError&>::RefPtr SetMainAddressCB;
00391     bool send_set_main_address(
00392     const char* dst_xrl_target_name,
00393     const IPv4& addr,
00394     const SetMainAddressCB& cb
00395     );
00396 
00397     typedef XorpCallback2<void, const XrlError&, const IPv4*>::RefPtr GetMainAddressCB;
00405     bool send_get_main_address(
00406     const char* dst_xrl_target_name,
00407     const GetMainAddressCB& cb
00408     );
00409 
00410     typedef XorpCallback1<void, const XrlError&>::RefPtr BindAddressCB;
00438     bool send_bind_address(
00439     const char* dst_xrl_target_name,
00440     const string&   ifname,
00441     const string&   vifname,
00442     const IPv4& local_addr,
00443     const uint32_t& local_port,
00444     const IPv4& all_nodes_addr,
00445     const uint32_t& all_nodes_port,
00446     const BindAddressCB&    cb
00447     );
00448 
00449     typedef XorpCallback1<void, const XrlError&>::RefPtr UnbindAddressCB;
00461     bool send_unbind_address(
00462     const char* dst_xrl_target_name,
00463     const string&   ifname,
00464     const string&   vifname,
00465     const UnbindAddressCB&  cb
00466     );
00467 
00468     typedef XorpCallback1<void, const XrlError&>::RefPtr SetBindingEnabledCB;
00483     bool send_set_binding_enabled(
00484     const char* dst_xrl_target_name,
00485     const string&   ifname,
00486     const string&   vifname,
00487     const bool& enabled,
00488     const SetBindingEnabledCB&  cb
00489     );
00490 
00491     typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr GetBindingEnabledCB;
00503     bool send_get_binding_enabled(
00504     const char* dst_xrl_target_name,
00505     const string&   ifname,
00506     const string&   vifname,
00507     const GetBindingEnabledCB&  cb
00508     );
00509 
00510     typedef XorpCallback1<void, const XrlError&>::RefPtr ChangeLocalAddrPortCB;
00528     bool send_change_local_addr_port(
00529     const char* dst_xrl_target_name,
00530     const string&   ifname,
00531     const string&   vifname,
00532     const IPv4& local_addr,
00533     const uint32_t& local_port,
00534     const ChangeLocalAddrPortCB&    cb
00535     );
00536 
00537     typedef XorpCallback1<void, const XrlError&>::RefPtr ChangeAllNodesAddrPortCB;
00555     bool send_change_all_nodes_addr_port(
00556     const char* dst_xrl_target_name,
00557     const string&   ifname,
00558     const string&   vifname,
00559     const IPv4& all_nodes_addr,
00560     const uint32_t& all_nodes_port,
00561     const ChangeAllNodesAddrPortCB& cb
00562     );
00563 
00564     typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GetInterfaceListCB;
00574     bool send_get_interface_list(
00575     const char* dst_xrl_target_name,
00576     const GetInterfaceListCB&   cb
00577     );
00578 
00579     typedef XorpCallback7<void, const XrlError&, const string*, const string*, const IPv4*, const uint32_t*, const IPv4*, const uint32_t*>::RefPtr GetInterfaceInfoCB;
00589     bool send_get_interface_info(
00590     const char* dst_xrl_target_name,
00591     const uint32_t& faceid,
00592     const GetInterfaceInfoCB&   cb
00593     );
00594 
00595     typedef XorpCallback1<void, const XrlError&>::RefPtr SetInterfaceCostCB;
00609     bool send_set_interface_cost(
00610     const char* dst_xrl_target_name,
00611     const string&   ifname,
00612     const string&   vifname,
00613     const uint32_t& cost,
00614     const SetInterfaceCostCB&   cb
00615     );
00616 
00617     typedef XorpCallback7<void, const XrlError&, const uint32_t*, const uint32_t*, const uint32_t*, const uint32_t*, const uint32_t*, const uint32_t*>::RefPtr GetInterfaceStatsCB;
00629     bool send_get_interface_stats(
00630     const char* dst_xrl_target_name,
00631     const string&   ifname,
00632     const string&   vifname,
00633     const GetInterfaceStatsCB&  cb
00634     );
00635 
00636     typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GetLinkListCB;
00645     bool send_get_link_list(
00646     const char* dst_xrl_target_name,
00647     const GetLinkListCB&    cb
00648     );
00649 
00650     typedef XorpCallback8<void, const XrlError&, const IPv4*, const IPv4*, const IPv4*, const uint32_t*, const uint32_t*, const uint32_t*, const uint32_t*>::RefPtr GetLinkInfoCB;
00660     bool send_get_link_info(
00661     const char* dst_xrl_target_name,
00662     const uint32_t& linkid,
00663     const GetLinkInfoCB&    cb
00664     );
00665 
00666     typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GetNeighborListCB;
00676     bool send_get_neighbor_list(
00677     const char* dst_xrl_target_name,
00678     const GetNeighborListCB&    cb
00679     );
00680 
00681     typedef XorpCallback10<void, const XrlError&, const IPv4*, const uint32_t*, const uint32_t*, const uint32_t*, const uint32_t*, const bool*, const bool*, const bool*, const bool*>::RefPtr GetNeighborInfoCB;
00691     bool send_get_neighbor_info(
00692     const char* dst_xrl_target_name,
00693     const uint32_t& nid,
00694     const GetNeighborInfoCB&    cb
00695     );
00696 
00697     typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GetTwohopLinkListCB;
00707     bool send_get_twohop_link_list(
00708     const char* dst_xrl_target_name,
00709     const GetTwohopLinkListCB&  cb
00710     );
00711 
00712     typedef XorpCallback5<void, const XrlError&, const uint32_t*, const IPv4*, const IPv4*, const uint32_t*>::RefPtr GetTwohopLinkInfoCB;
00722     bool send_get_twohop_link_info(
00723     const char* dst_xrl_target_name,
00724     const uint32_t& tlid,
00725     const GetTwohopLinkInfoCB&  cb
00726     );
00727 
00728     typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GetTwohopNeighborListCB;
00738     bool send_get_twohop_neighbor_list(
00739     const char* dst_xrl_target_name,
00740     const GetTwohopNeighborListCB&  cb
00741     );
00742 
00743     typedef XorpCallback6<void, const XrlError&, const IPv4*, const bool*, const uint32_t*, const uint32_t*, const uint32_t*>::RefPtr GetTwohopNeighborInfoCB;
00753     bool send_get_twohop_neighbor_info(
00754     const char* dst_xrl_target_name,
00755     const uint32_t& tnid,
00756     const GetTwohopNeighborInfoCB&  cb
00757     );
00758 
00759     typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GetMidEntryListCB;
00769     bool send_get_mid_entry_list(
00770     const char* dst_xrl_target_name,
00771     const GetMidEntryListCB&    cb
00772     );
00773 
00774     typedef XorpCallback5<void, const XrlError&, const IPv4*, const IPv4*, const uint32_t*, const uint32_t*>::RefPtr GetMidEntryCB;
00784     bool send_get_mid_entry(
00785     const char* dst_xrl_target_name,
00786     const uint32_t& midid,
00787     const GetMidEntryCB&    cb
00788     );
00789 
00790     typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GetTcEntryListCB;
00800     bool send_get_tc_entry_list(
00801     const char* dst_xrl_target_name,
00802     const GetTcEntryListCB& cb
00803     );
00804 
00805     typedef XorpCallback6<void, const XrlError&, const IPv4*, const IPv4*, const uint32_t*, const uint32_t*, const uint32_t*>::RefPtr GetTcEntryCB;
00815     bool send_get_tc_entry(
00816     const char* dst_xrl_target_name,
00817     const uint32_t& tcid,
00818     const GetTcEntryCB& cb
00819     );
00820 
00821     typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GetHnaEntryListCB;
00831     bool send_get_hna_entry_list(
00832     const char* dst_xrl_target_name,
00833     const GetHnaEntryListCB&    cb
00834     );
00835 
00836     typedef XorpCallback5<void, const XrlError&, const IPv4Net*, const IPv4*, const uint32_t*, const uint32_t*>::RefPtr GetHnaEntryCB;
00846     bool send_get_hna_entry(
00847     const char* dst_xrl_target_name,
00848     const uint32_t& hnaid,
00849     const GetHnaEntryCB&    cb
00850     );
00851 
00852 protected:
00853     XrlSender* _sender;
00854 
00855 private:
00856     static void unmarshall_trace(
00857     const XrlError& e,
00858     XrlArgs*    a,
00859     TraceCB     cb
00860     );
00861 
00862     static void unmarshall_clear_database(
00863     const XrlError& e,
00864     XrlArgs*    a,
00865     ClearDatabaseCB     cb
00866     );
00867 
00868     static void unmarshall_set_willingness(
00869     const XrlError& e,
00870     XrlArgs*    a,
00871     SetWillingnessCB        cb
00872     );
00873 
00874     static void unmarshall_get_willingness(
00875     const XrlError& e,
00876     XrlArgs*    a,
00877     GetWillingnessCB        cb
00878     );
00879 
00880     static void unmarshall_set_mpr_coverage(
00881     const XrlError& e,
00882     XrlArgs*    a,
00883     SetMprCoverageCB        cb
00884     );
00885 
00886     static void unmarshall_get_mpr_coverage(
00887     const XrlError& e,
00888     XrlArgs*    a,
00889     GetMprCoverageCB        cb
00890     );
00891 
00892     static void unmarshall_set_tc_redundancy(
00893     const XrlError& e,
00894     XrlArgs*    a,
00895     SetTcRedundancyCB       cb
00896     );
00897 
00898     static void unmarshall_get_tc_redundancy(
00899     const XrlError& e,
00900     XrlArgs*    a,
00901     GetTcRedundancyCB       cb
00902     );
00903 
00904     static void unmarshall_set_tc_fisheye(
00905     const XrlError& e,
00906     XrlArgs*    a,
00907     SetTcFisheyeCB      cb
00908     );
00909 
00910     static void unmarshall_get_tc_fisheye(
00911     const XrlError& e,
00912     XrlArgs*    a,
00913     GetTcFisheyeCB      cb
00914     );
00915 
00916     static void unmarshall_set_hna_base_cost(
00917     const XrlError& e,
00918     XrlArgs*    a,
00919     SetHnaBaseCostCB        cb
00920     );
00921 
00922     static void unmarshall_get_hna_base_cost(
00923     const XrlError& e,
00924     XrlArgs*    a,
00925     GetHnaBaseCostCB        cb
00926     );
00927 
00928     static void unmarshall_set_hello_interval(
00929     const XrlError& e,
00930     XrlArgs*    a,
00931     SetHelloIntervalCB      cb
00932     );
00933 
00934     static void unmarshall_get_hello_interval(
00935     const XrlError& e,
00936     XrlArgs*    a,
00937     GetHelloIntervalCB      cb
00938     );
00939 
00940     static void unmarshall_set_refresh_interval(
00941     const XrlError& e,
00942     XrlArgs*    a,
00943     SetRefreshIntervalCB        cb
00944     );
00945 
00946     static void unmarshall_get_refresh_interval(
00947     const XrlError& e,
00948     XrlArgs*    a,
00949     GetRefreshIntervalCB        cb
00950     );
00951 
00952     static void unmarshall_set_tc_interval(
00953     const XrlError& e,
00954     XrlArgs*    a,
00955     SetTcIntervalCB     cb
00956     );
00957 
00958     static void unmarshall_get_tc_interval(
00959     const XrlError& e,
00960     XrlArgs*    a,
00961     GetTcIntervalCB     cb
00962     );
00963 
00964     static void unmarshall_set_mid_interval(
00965     const XrlError& e,
00966     XrlArgs*    a,
00967     SetMidIntervalCB        cb
00968     );
00969 
00970     static void unmarshall_get_mid_interval(
00971     const XrlError& e,
00972     XrlArgs*    a,
00973     GetMidIntervalCB        cb
00974     );
00975 
00976     static void unmarshall_set_hna_interval(
00977     const XrlError& e,
00978     XrlArgs*    a,
00979     SetHnaIntervalCB        cb
00980     );
00981 
00982     static void unmarshall_get_hna_interval(
00983     const XrlError& e,
00984     XrlArgs*    a,
00985     GetHnaIntervalCB        cb
00986     );
00987 
00988     static void unmarshall_set_dup_hold_time(
00989     const XrlError& e,
00990     XrlArgs*    a,
00991     SetDupHoldTimeCB        cb
00992     );
00993 
00994     static void unmarshall_get_dup_hold_time(
00995     const XrlError& e,
00996     XrlArgs*    a,
00997     GetDupHoldTimeCB        cb
00998     );
00999 
01000     static void unmarshall_set_main_address(
01001     const XrlError& e,
01002     XrlArgs*    a,
01003     SetMainAddressCB        cb
01004     );
01005 
01006     static void unmarshall_get_main_address(
01007     const XrlError& e,
01008     XrlArgs*    a,
01009     GetMainAddressCB        cb
01010     );
01011 
01012     static void unmarshall_bind_address(
01013     const XrlError& e,
01014     XrlArgs*    a,
01015     BindAddressCB       cb
01016     );
01017 
01018     static void unmarshall_unbind_address(
01019     const XrlError& e,
01020     XrlArgs*    a,
01021     UnbindAddressCB     cb
01022     );
01023 
01024     static void unmarshall_set_binding_enabled(
01025     const XrlError& e,
01026     XrlArgs*    a,
01027     SetBindingEnabledCB     cb
01028     );
01029 
01030     static void unmarshall_get_binding_enabled(
01031     const XrlError& e,
01032     XrlArgs*    a,
01033     GetBindingEnabledCB     cb
01034     );
01035 
01036     static void unmarshall_change_local_addr_port(
01037     const XrlError& e,
01038     XrlArgs*    a,
01039     ChangeLocalAddrPortCB       cb
01040     );
01041 
01042     static void unmarshall_change_all_nodes_addr_port(
01043     const XrlError& e,
01044     XrlArgs*    a,
01045     ChangeAllNodesAddrPortCB        cb
01046     );
01047 
01048     static void unmarshall_get_interface_list(
01049     const XrlError& e,
01050     XrlArgs*    a,
01051     GetInterfaceListCB      cb
01052     );
01053 
01054     static void unmarshall_get_interface_info(
01055     const XrlError& e,
01056     XrlArgs*    a,
01057     GetInterfaceInfoCB      cb
01058     );
01059 
01060     static void unmarshall_set_interface_cost(
01061     const XrlError& e,
01062     XrlArgs*    a,
01063     SetInterfaceCostCB      cb
01064     );
01065 
01066     static void unmarshall_get_interface_stats(
01067     const XrlError& e,
01068     XrlArgs*    a,
01069     GetInterfaceStatsCB     cb
01070     );
01071 
01072     static void unmarshall_get_link_list(
01073     const XrlError& e,
01074     XrlArgs*    a,
01075     GetLinkListCB       cb
01076     );
01077 
01078     static void unmarshall_get_link_info(
01079     const XrlError& e,
01080     XrlArgs*    a,
01081     GetLinkInfoCB       cb
01082     );
01083 
01084     static void unmarshall_get_neighbor_list(
01085     const XrlError& e,
01086     XrlArgs*    a,
01087     GetNeighborListCB       cb
01088     );
01089 
01090     static void unmarshall_get_neighbor_info(
01091     const XrlError& e,
01092     XrlArgs*    a,
01093     GetNeighborInfoCB       cb
01094     );
01095 
01096     static void unmarshall_get_twohop_link_list(
01097     const XrlError& e,
01098     XrlArgs*    a,
01099     GetTwohopLinkListCB     cb
01100     );
01101 
01102     static void unmarshall_get_twohop_link_info(
01103     const XrlError& e,
01104     XrlArgs*    a,
01105     GetTwohopLinkInfoCB     cb
01106     );
01107 
01108     static void unmarshall_get_twohop_neighbor_list(
01109     const XrlError& e,
01110     XrlArgs*    a,
01111     GetTwohopNeighborListCB     cb
01112     );
01113 
01114     static void unmarshall_get_twohop_neighbor_info(
01115     const XrlError& e,
01116     XrlArgs*    a,
01117     GetTwohopNeighborInfoCB     cb
01118     );
01119 
01120     static void unmarshall_get_mid_entry_list(
01121     const XrlError& e,
01122     XrlArgs*    a,
01123     GetMidEntryListCB       cb
01124     );
01125 
01126     static void unmarshall_get_mid_entry(
01127     const XrlError& e,
01128     XrlArgs*    a,
01129     GetMidEntryCB       cb
01130     );
01131 
01132     static void unmarshall_get_tc_entry_list(
01133     const XrlError& e,
01134     XrlArgs*    a,
01135     GetTcEntryListCB        cb
01136     );
01137 
01138     static void unmarshall_get_tc_entry(
01139     const XrlError& e,
01140     XrlArgs*    a,
01141     GetTcEntryCB        cb
01142     );
01143 
01144     static void unmarshall_get_hna_entry_list(
01145     const XrlError& e,
01146     XrlArgs*    a,
01147     GetHnaEntryListCB       cb
01148     );
01149 
01150     static void unmarshall_get_hna_entry(
01151     const XrlError& e,
01152     XrlArgs*    a,
01153     GetHnaEntryCB       cb
01154     );
01155 
01156 private:
01157     /* Declare cached Xrl pointers */
01158     auto_ptr<Xrl> ap_xrl_trace;
01159     auto_ptr<Xrl> ap_xrl_clear_database;
01160     auto_ptr<Xrl> ap_xrl_set_willingness;
01161     auto_ptr<Xrl> ap_xrl_get_willingness;
01162     auto_ptr<Xrl> ap_xrl_set_mpr_coverage;
01163     auto_ptr<Xrl> ap_xrl_get_mpr_coverage;
01164     auto_ptr<Xrl> ap_xrl_set_tc_redundancy;
01165     auto_ptr<Xrl> ap_xrl_get_tc_redundancy;
01166     auto_ptr<Xrl> ap_xrl_set_tc_fisheye;
01167     auto_ptr<Xrl> ap_xrl_get_tc_fisheye;
01168     auto_ptr<Xrl> ap_xrl_set_hna_base_cost;
01169     auto_ptr<Xrl> ap_xrl_get_hna_base_cost;
01170     auto_ptr<Xrl> ap_xrl_set_hello_interval;
01171     auto_ptr<Xrl> ap_xrl_get_hello_interval;
01172     auto_ptr<Xrl> ap_xrl_set_refresh_interval;
01173     auto_ptr<Xrl> ap_xrl_get_refresh_interval;
01174     auto_ptr<Xrl> ap_xrl_set_tc_interval;
01175     auto_ptr<Xrl> ap_xrl_get_tc_interval;
01176     auto_ptr<Xrl> ap_xrl_set_mid_interval;
01177     auto_ptr<Xrl> ap_xrl_get_mid_interval;
01178     auto_ptr<Xrl> ap_xrl_set_hna_interval;
01179     auto_ptr<Xrl> ap_xrl_get_hna_interval;
01180     auto_ptr<Xrl> ap_xrl_set_dup_hold_time;
01181     auto_ptr<Xrl> ap_xrl_get_dup_hold_time;
01182     auto_ptr<Xrl> ap_xrl_set_main_address;
01183     auto_ptr<Xrl> ap_xrl_get_main_address;
01184     auto_ptr<Xrl> ap_xrl_bind_address;
01185     auto_ptr<Xrl> ap_xrl_unbind_address;
01186     auto_ptr<Xrl> ap_xrl_set_binding_enabled;
01187     auto_ptr<Xrl> ap_xrl_get_binding_enabled;
01188     auto_ptr<Xrl> ap_xrl_change_local_addr_port;
01189     auto_ptr<Xrl> ap_xrl_change_all_nodes_addr_port;
01190     auto_ptr<Xrl> ap_xrl_get_interface_list;
01191     auto_ptr<Xrl> ap_xrl_get_interface_info;
01192     auto_ptr<Xrl> ap_xrl_set_interface_cost;
01193     auto_ptr<Xrl> ap_xrl_get_interface_stats;
01194     auto_ptr<Xrl> ap_xrl_get_link_list;
01195     auto_ptr<Xrl> ap_xrl_get_link_info;
01196     auto_ptr<Xrl> ap_xrl_get_neighbor_list;
01197     auto_ptr<Xrl> ap_xrl_get_neighbor_info;
01198     auto_ptr<Xrl> ap_xrl_get_twohop_link_list;
01199     auto_ptr<Xrl> ap_xrl_get_twohop_link_info;
01200     auto_ptr<Xrl> ap_xrl_get_twohop_neighbor_list;
01201     auto_ptr<Xrl> ap_xrl_get_twohop_neighbor_info;
01202     auto_ptr<Xrl> ap_xrl_get_mid_entry_list;
01203     auto_ptr<Xrl> ap_xrl_get_mid_entry;
01204     auto_ptr<Xrl> ap_xrl_get_tc_entry_list;
01205     auto_ptr<Xrl> ap_xrl_get_tc_entry;
01206     auto_ptr<Xrl> ap_xrl_get_hna_entry_list;
01207     auto_ptr<Xrl> ap_xrl_get_hna_entry;
01208 };
01209 
01210 #endif /* __XRL_INTERFACES_OLSR4_XIF_HH__ */
 All Classes Namespaces Functions Variables Typedefs Enumerations