Hi all, Can u explain what pairmake() function will do and what pairadd() function will do. What is the difference? Thank you. Suagnthi Velusamy. --------------------------------- Heres a new way to find what you're looking for - Yahoo! Answers
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
participants (2)
-
Enrik Berkhan -
suganthi velusamy