xcap_client.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*
  2. * $Id: xcap_client.h 2230 2007-06-06 07:13:20Z anca_vamanu $
  3. *
  4. * xcap_client module - XCAP client for Kamailio
  5. *
  6. * Copyright (C) 2007 Voice Sistem S.R.L.
  7. *
  8. * This file is part of Kamailio, a free SIP server.
  9. *
  10. * Kamailio 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. * Kamailio 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. * History:
  25. * --------
  26. * 2007-08-20 initial version (anca)
  27. */
  28. #ifndef XCAP_CL_H
  29. #define XCAP_CL_H
  30. #include "../../lib/srdb1/db.h"
  31. #include "xcap_callbacks.h"
  32. extern xcap_callback_t* xcapcb_list;
  33. extern str xcap_db_url;
  34. extern str xcap_db_table;
  35. extern str str_source_col;
  36. extern str str_path_col;
  37. extern str str_doc_col;
  38. extern str str_etag_col;
  39. extern str str_username_col;
  40. extern str str_domain_col;
  41. extern str str_doc_type_col;
  42. extern str str_doc_uri_col;
  43. extern str str_port_col;
  44. /* database connection */
  45. extern db1_con_t *xcap_db;
  46. extern db_func_t xcap_dbf;
  47. extern int periodical_query;
  48. extern unsigned int query_period;
  49. #endif