km_res.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * $Id$
  3. *
  4. * Copyright (C) 2007 1&1 Internet AG
  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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  21. *
  22. */
  23. /*! \file
  24. * \brief DB_POSTGRES :: Core
  25. * \ingroup db_postgres
  26. * Module: \ref db_postgres
  27. */
  28. #ifndef KM_RES_H
  29. #define KM_RES_H
  30. #include "../../lib/srdb1/db_row.h"
  31. int db_postgres_convert_result(const db1_con_t* _h, db1_res_t* _r);
  32. int db_postgres_convert_row(const db1_con_t* _h, db1_res_t* _res, db_row_t* _r,
  33. char **row_buf);
  34. int db_postgres_get_columns(const db1_con_t* _h, db1_res_t* _r);
  35. int db_postgres_convert_rows(const db1_con_t* _h, db1_res_t* _r);
  36. #endif