COIN-OR::LEMON - Graph Library

source: glpk-cmake/src/glpsql.h @ 1:c445c931472f

Last change on this file since 1:c445c931472f was 1:c445c931472f, checked in by Alpar Juttner <alpar@…>, 14 years ago

Import glpk-4.45

  • Generated files and doc/notes are removed
File size: 2.1 KB
Line 
1/* glpsql.h */
2
3/***********************************************************************
4*  This code is part of GLPK (GNU Linear Programming Kit).
5*
6*  Author: Heinrich Schuchardt <heinrich.schuchardt@gmx.de>.
7*
8*  Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
9*  2009, 2010 Andrew Makhorin, Department for Applied Informatics,
10*  Moscow Aviation Institute, Moscow, Russia. All rights reserved.
11*  E-mail: <mao@gnu.org>.
12*
13*  GLPK is free software: you can redistribute it and/or modify it
14*  under the terms of the GNU General Public License as published by
15*  the Free Software Foundation, either version 3 of the License, or
16*  (at your option) any later version.
17*
18*  GLPK is distributed in the hope that it will be useful, but WITHOUT
19*  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
20*  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
21*  License for more details.
22*
23*  You should have received a copy of the GNU General Public License
24*  along with GLPK. If not, see <http://www.gnu.org/licenses/>.
25***********************************************************************/
26
27#ifndef GLPSQL_H
28#define GLPSQL_H
29
30#define db_iodbc_open _glp_db_iodbc_open
31void *db_iodbc_open(TABDCA *dca, int mode);
32/* open iODBC database connection */
33
34#define db_iodbc_read _glp_db_iodbc_read
35int db_iodbc_read(TABDCA *dca, void *link);
36/* read data from iODBC */
37
38#define db_iodbc_write _glp_db_iodbc_write
39int db_iodbc_write(TABDCA *dca, void *link);
40/* write data to iODBC */
41
42#define db_iodbc_close _glp_db_iodbc_close
43int db_iodbc_close(TABDCA *dca, void *link);
44/* close iODBC database connection */
45
46#define db_mysql_open _glp_db_mysql_open
47void *db_mysql_open(TABDCA *dca, int mode);
48/* open MySQL database connection */
49
50#define db_mysql_read _glp_db_mysql_read
51int db_mysql_read(TABDCA *dca, void *link);
52/* read data from MySQL */
53
54#define db_mysql_write _glp_db_mysql_write
55int db_mysql_write(TABDCA *dca, void *link);
56/* write data to MySQL */
57
58#define db_mysql_close _glp_db_mysql_close
59int db_mysql_close(TABDCA *dca, void *link);
60/* close MySQL database connection */
61
62#endif
63
64/* eof */
Note: See TracBrowser for help on using the repository browser.