X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Frmr%2Fcommon%2Finclude%2Frmr_agnostic.h;h=419145b1b5a9198266430898d2069ca10a124b13;hb=fcea3951d44de0cc55d33c5e114487abe79d3406;hp=2d80a7526ec52c09285b005bdccf543db0a87da4;hpb=9c923bcc9322c22220b574671c7b46f10008c614;p=ric-plt%2Flib%2Frmr.git diff --git a/src/rmr/common/include/rmr_agnostic.h b/src/rmr/common/include/rmr_agnostic.h index 2d80a75..419145b 100644 --- a/src/rmr/common/include/rmr_agnostic.h +++ b/src/rmr/common/include/rmr_agnostic.h @@ -285,7 +285,10 @@ static int has_myip( char const* buf, if_addrs_t* list, char sep, int max ); static int uta_tokenise( char* buf, char** tokens, int max, char sep ); static int uta_rmip_tokenise( char* buf, if_addrs_t* iplist, char** toks, int max, char sep ); static char* uta_h2ip( char const* hname ); +#ifdef RTG_PUB +// deprecated funciton -- step 1 of removal static int uta_lookup_rtg( uta_ctx_t* ctx ); +#endif static int uta_has_str( char const* buf, char const* str, char sep, int max ); static char* get_default_ip( if_addrs_t* iplist ); @@ -304,8 +307,8 @@ static int ie_test( void* r, int i_factor, long inserts ); static inline uint64_t build_rt_key( int32_t sub_id, int32_t mtype ); static void collect_things( void* st, void* entry, char const* name, void* thing, void* vthing_list ); static void del_rte( void* st, void* entry, char const* name, void* thing, void* data ); -static endpoint_t* get_meid_owner( route_table_t *rt, char* meid ); -static char* uta_fib( char* fname ); +static endpoint_t* get_meid_owner( route_table_t *rt, char const* meid ); +static char* uta_fib( char const* fname ); static route_table_t* uta_rt_init( ); static route_table_t* uta_rt_clone( route_table_t* srt ); static route_table_t* uta_rt_clone_all( route_table_t* srt );