~ubuntu-branches/debian/lenny/freetds/lenny

« back to all changes in this revision

Viewing changes to doc/doc/freetds-0.63/reference/a00373.html

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2008-08-02 11:49:53 UTC
  • mfrom: (2.1.10 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080802114953-0qdeowgl63k42n2c
Tags: 0.82-4
* Fix a typo in the freetds-common description, ugh
* Versioned replaces of libct4 by freetds-common, since the current one
  obviously doesn't have overlapping files.
* tdsodbc: check for /var/lib/odbc existence before removing it in the
  postinst, since there are cases where it won't exist on upgrade (i.e.,
  if the driver was never enabled in the first place).  Closes: #493303.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
 
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
 
<title>odbc_checks.h Source File</title>
4
 
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
 
</head><body>
6
 
<!-- Generated by Doxygen 1.3 -->
7
 
<center>
8
 
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
9
 
<hr><h1>odbc_checks.h</h1><div class="fragment"><pre>00001 <span class="comment">/* FreeTDS - Library of routines accessing Sybase and Microsoft databases</span>
10
 
00002 <span class="comment"> * Copyright (C) 1998-2002  Brian Bruns</span>
11
 
00003 <span class="comment"> *</span>
12
 
00004 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
13
 
00005 <span class="comment"> * modify it under the terms of the GNU Library General Public</span>
14
 
00006 <span class="comment"> * License as published by the Free Software Foundation; either</span>
15
 
00007 <span class="comment"> * version 2 of the License, or (at your option) any later version.</span>
16
 
00008 <span class="comment"> *</span>
17
 
00009 <span class="comment"> * This library is distributed in the hope that it will be useful,</span>
18
 
00010 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
19
 
00011 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
20
 
00012 <span class="comment"> * Library General Public License for more details.</span>
21
 
00013 <span class="comment"> *</span>
22
 
00014 <span class="comment"> * You should have received a copy of the GNU Library General Public</span>
23
 
00015 <span class="comment"> * License along with this library; if not, write to the</span>
24
 
00016 <span class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330,</span>
25
 
00017 <span class="comment"> * Boston, MA 02111-1307, USA.</span>
26
 
00018 <span class="comment"> */</span>
27
 
00019 
28
 
00020 <span class="preprocessor">#ifndef ODBC_CHECKS_H</span>
29
 
00021 <span class="preprocessor"></span><span class="preprocessor">#define ODBC_CHECKS_H</span>
30
 
00022 <span class="preprocessor"></span>
31
 
00023 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> rcsid_odbc_checks_h[] = <span class="stringliteral">"$Id: odbc_checks.h,v 1.3 2004/10/28 12:42:12 freddy77 Exp $"</span>;
32
 
00024 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">void</span> *<span class="keyword">const</span> no_unused_odbc_checks_h_warn[] = { rcsid_odbc_checks_h, no_unused_odbc_checks_h_warn };
33
 
00025 
34
 
00026 <span class="preprocessor">#if ENABLE_EXTRA_CHECKS</span>
35
 
00027 <span class="preprocessor"></span><span class="comment">/* macro */</span>
36
 
00028 <span class="preprocessor">#define CHECK_ENV_EXTRA(env) odbc_check_env_extra(env)</span>
37
 
00029 <span class="preprocessor"></span><span class="preprocessor">#define CHECK_DBC_EXTRA(dbc) odbc_check_dbc_extra(dbc)</span>
38
 
00030 <span class="preprocessor"></span><span class="preprocessor">#define CHECK_STMT_EXTRA(stmt) odbc_check_stmt_extra(stmt)</span>
39
 
00031 <span class="preprocessor"></span><span class="preprocessor">#define CHECK_DESC_EXTRA(desc) odbc_check_desc_extra(desc)</span>
40
 
00032 <span class="preprocessor"></span><span class="comment">/* declarations*/</span>
41
 
00033 <span class="keywordtype">void</span> odbc_check_env_extra(TDS_ENV * env);
42
 
00034 <span class="keywordtype">void</span> odbc_check_dbc_extra(TDS_DBC * dbc);
43
 
00035 <span class="keywordtype">void</span> odbc_check_stmt_extra(TDS_STMT * stmt);
44
 
00036 <span class="keywordtype">void</span> odbc_check_desc_extra(TDS_DESC * desc);
45
 
00037 <span class="preprocessor">#else</span>
46
 
00038 <span class="preprocessor"></span><span class="comment">/* macro */</span>
47
 
00039 <span class="preprocessor">#define CHECK_ENV_EXTRA(env)</span>
48
 
00040 <span class="preprocessor"></span><span class="preprocessor">#define CHECK_DBC_EXTRA(dbc)</span>
49
 
00041 <span class="preprocessor"></span><span class="preprocessor">#define CHECK_STMT_EXTRA(stmt)</span>
50
 
00042 <span class="preprocessor"></span><span class="preprocessor">#define CHECK_DESC_EXTRA(desc)</span>
51
 
00043 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
52
 
00044 <span class="preprocessor"></span>
53
 
00045 <span class="preprocessor">#endif </span><span class="comment">/* ODBC_CHECKS_H */</span>
54
 
</pre></div><hr><address style="align: right;"><small>Generated on Tue Mar 29 19:52:35 2005 for FreeTDS API by
55
 
<a href="http://www.doxygen.org/index.html">
56
 
<img src="doxygen.png" alt="doxygen" align="middle" border=0 
57
 
width=110 height=53></a>1.3 </small></address>
58
 
</body>
59
 
</html>