km_val.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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. /*! \file
  23. * \brief DB_POSTGRES :: Core
  24. * \ingroup db_postgres
  25. * Module: \ref db_postgres
  26. */
  27. #ifndef KM_VAL_H
  28. #define KM_VAL_H
  29. int db_postgres_str2val(const db_type_t _t, db_val_t* _v, const char* _s, const int _l);
  30. int db_postgres_val2str(const db1_con_t* _con, const db_val_t* _v, char* _s, int* _len);
  31. #endif