driver.c 742 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*!
  2. \file db/drivers/driver.c
  3. \brief Low level OGR SQL driver
  4. (C) 2004-2009 by the GRASS Development Team
  5. This program is free software under the GNU General Public License
  6. (>=v2). Read the file COPYING that comes with GRASS for details.
  7. \author Radim Blazek
  8. \author Some updates by Martin Landa <landa.martin gmail.com>
  9. */
  10. #include <grass/dbmi.h>
  11. #include "ogr_api.h"
  12. #include "globals.h"
  13. #include "proto.h"
  14. /*!
  15. \brief Initialize driver
  16. \param argc number of arguments
  17. \param argv array of arguments
  18. \return DB_OK on success
  19. */
  20. int db__driver_init(int argc, char *argv[])
  21. {
  22. init_error();
  23. return DB_OK;
  24. }
  25. /*!
  26. \brief Finish driver
  27. \return DB_OK
  28. */
  29. int db__driver_finish()
  30. {
  31. return DB_OK;
  32. }