6 Jul
2007
6 Jul
'07
3:26 a.m.
suganthi velusamy wrote:
Can u explain what pairmake() function will do and what pairadd() function will do. What is the difference?
Have a look at src/lib/valuepair.c:
/* * Create a VALUE_PAIR from an ASCII attribute and value. */ VALUE_PAIR *pairmake(const char *attribute, const char *value, int operator)
/* * Add a pair at the end of a VALUE_PAIR list. */ void pairadd(VALUE_PAIR **first, VALUE_PAIR *add)
I'm sorry, but I can't explain it better than the comments already do. HTH, Enrik