2
0

functions.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * functions.h
  3. *
  4. * Copyright (C) 2008 Juha Heinanen <[email protected]>
  5. *
  6. * This file is part of Kamailio, a free SIP server.
  7. *
  8. * Kamailio is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation; either version 2 of the License, or
  11. * (at your option) any later version
  12. *
  13. * Kamailio is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, write to the Free Software
  20. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  21. *
  22. */
  23. #ifndef _MISC_RADIUS_FUNCTIONS_H_
  24. #define _MISC_RADIUS_FUNCTIONS_H_
  25. extern int radius_load_caller_avps(struct sip_msg* _m, char* _caller,
  26. char* _s2);
  27. extern int radius_load_callee_avps(struct sip_msg* _m, char* _callee,
  28. char* _s2);
  29. int radius_is_user_in(struct sip_msg* _m, char* _user, char* _group);
  30. int radius_does_uri_exist_0(struct sip_msg* _m, char* _s1, char* _s2);
  31. int radius_does_uri_exist_1(struct sip_msg* _m, char* _sp, char* _s2);
  32. int radius_does_uri_user_exist_0(struct sip_msg* _m, char* _s1, char* _s2);
  33. int radius_does_uri_user_exist_1(struct sip_msg* _m, char* _sp, char* _s2);
  34. #endif