functions.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * headers of script functions of utils module
  3. *
  4. * Copyright (C) 2008 Juha Heinanen
  5. * Copyright (C) 2013 Carsten Bock, ng-voice GmbH
  6. *
  7. * This file is part of Kamailio, a free SIP server.
  8. *
  9. * Kamailio is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License as published by
  11. * the Free Software Foundation; either version 2 of the License, or
  12. * (at your option) any later version
  13. *
  14. * Kamailio is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU General Public License
  20. * along with this program; if not, write to the Free Software
  21. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  22. *
  23. */
  24. /*!
  25. * \file
  26. * \brief SIP-router utils ::
  27. * \ingroup utils
  28. * Module: \ref utils
  29. */
  30. #ifndef UTILS_FUNCTIONS_H
  31. #define UTILS_FUNCTIONS_H
  32. #include "../../parser/msg_parser.h"
  33. /*
  34. * Performs http_query and saves possible result (first body line of reply)
  35. * to pvar.
  36. */
  37. int http_query(struct sip_msg* _m, char* _url, char* _dst, char* _post);
  38. #endif /* UTILS_FUNCTIONS_H */