25RCSID(
"$Id: 9cd81fe1998a541c6d12744e5f27e1b295e40328 $")
 
   27#include <freeradius-devel/server/section.h> 
   29#define IDENT_ANY_CMP(_a, _b) \ 
   30        (((_a) == CF_IDENT_ANY) < ((_b) == CF_IDENT_ANY)) - (((_a) == CF_IDENT_ANY) > ((_b) == CF_IDENT_ANY)) 
 
   32#define NULL_CMP(_a, _b) \ 
   33        (((_a) == NULL) < ((_b) == NULL)) - (((_a) == NULL) > ((_b) == NULL)) 
 
   63        if (ret == 0) 
return 0;
 
   75                if (ret != 0) 
return ret;
 
   78                if (ret != 0) 
return CMP(ret, 0);
 
   88        if (ret != 0) 
return ret;
 
 
#define CMP(_a, _b)
Same as CMP_PREFER_SMALLER use when you don't really care about ordering, you just want an ordering.
#define IDENT_ANY_CMP(_a, _b)
int8_t section_name_cmp(void const *one, void const *two)
Compare two sections.
char const  * name2
Second section name. Usually a packet type like 'access-request', 'access-accept',...
char const  * name1
First section name. Usually a verb like 'recv', 'send', etc...