1
1
/* connection.h - definition for the psycopg connection type
3
* Copyright (C) 2003 Federico Di Gregorio <fog@debian.org>
3
* Copyright (C) 2003-2010 Federico Di Gregorio <fog@debian.org>
5
5
* This file is part of psycopg.
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License
9
* as published by the Free Software Foundation; either version 2,
10
* or (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
7
* psycopg2 is free software: you can redistribute it and/or modify it
8
* under the terms of the GNU Lesser General Public License as published
9
* by the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
12
* In addition, as a special exception, the copyright holders give
13
* permission to link this program with the OpenSSL library (or with
14
* modified versions of OpenSSL that use the same license as OpenSSL),
15
* and distribute linked combinations including the two.
17
* You must obey the GNU Lesser General Public License in all respects for
18
* all of the code used other than OpenSSL.
20
* psycopg2 is distributed in the hope that it will be useful, but WITHOUT
21
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
22
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
23
* License for more details.
22
26
#ifndef PSYCOPG_CONNECTION_H