STATIC void stab_settest_judge(Wilddog_Node_T* p_snapshot,void* arg) { int len; Stab_Setdata_T *p_set1 = (Stab_Setdata_T*)arg; if(p_snapshot !=0 && arg != 0) { Stab_Setdata_T *p_set = (Stab_Setdata_T*)arg; if( 0 == strcmp( (const char*)wilddog_node_getValue(p_snapshot,&len), \ (const char*)p_set->data)) { stab_settest_getsuccess++; return ; } else { wilddog_debug("truevalue:%s,getvalue:%s\n", \ p_set1->data,wilddog_node_getValue(p_snapshot,&len)); stab_settest_fault++; } } return ; }
STATIC int multiple_judge(const Wilddog_Node_T* p_snapshot,char* src) { int len; if( p_snapshot != 0 && 0 == strcmp( (const char*)wilddog_node_getValue(p_snapshot->p_wn_child,&len),src)) return 1; else return 0; }