jsonrpc_request.h 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright (C) 2011 Flowroute LLC (flowroute.com)
  3. *
  4. * This file is part of Kamailio, a free SIP server.
  5. *
  6. * This file is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version
  10. *
  11. *
  12. * This file is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program; if not, write to the Free Software
  19. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  20. *
  21. */
  22. #ifndef _JSONRPC_REQUEST_H_
  23. #define _JSONRPC_REQUEST_H_
  24. #include "../../parser/msg_parser.h"
  25. int jsonrpc_request(struct sip_msg* msg, char* method, char* params, char* cb_route, char* err_route, char* cb_pv);
  26. int jsonrpc_notification(struct sip_msg* msg, char* method, char* params);
  27. int cmd_pipe;
  28. #endif /* _JSONRPC_REQUEST_H_ */