sipops.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * $Id: utils.h 5318 2008-12-08 16:38:47Z henningw $
  3. *
  4. * SIPUTILS mangler module
  5. *
  6. * Copyright (C) 2001-2003 FhG Fokus
  7. *
  8. * This file is part of SIP-router, a free SIP server.
  9. *
  10. * SIP-router is free software; you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License as published by
  12. * the Free Software Foundation; either version 2 of the License, or
  13. * (at your option) any later version
  14. *
  15. * SIP-router is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. * GNU General Public License for more details.
  19. *
  20. * You should have received a copy of the GNU General Public License
  21. * along with this program; if not, write to the Free Software
  22. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  23. *
  24. */
  25. /*!
  26. * \file
  27. * \brief SIP-utils :: URI Operations
  28. * \ingroup siputils
  29. * - Module; \ref siputils
  30. */
  31. #ifndef _SIPOPS_H_
  32. #define _SIPOPS_H_
  33. #include "../../parser/msg_parser.h"
  34. int w_cmp_uri(struct sip_msg *msg, char *uri1, char *uri2);
  35. int w_cmp_aor(struct sip_msg *msg, char *uri1, char *uri2);
  36. int w_is_gruu(sip_msg_t *msg, char *uri1, char *p2);
  37. int w_is_supported(sip_msg_t *msg, char *_option, char *p2);
  38. int w_is_first_hop(sip_msg_t *msg, char *uri1, char *p2);
  39. #endif