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

« back to all changes in this revision

Viewing changes to doc/doc/freetds-0.63/reference/a00352.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>bkpublic.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>bkpublic.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-1999  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 _bkpublic_h_</span>
29
 
00021 <span class="preprocessor"></span><span class="preprocessor">#define _bkpublic_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_bkpublic_h[] = <span class="stringliteral">"$Id: bkpublic.h,v 1.5 2004/10/28 12:42:11 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_bkpublic_h_warn[] = { rcsid_bkpublic_h, no_unused_bkpublic_h_warn };
33
 
00025 
34
 
00026 <span class="comment">/* seperate this stuff out later */</span>
35
 
00027 <span class="preprocessor">#include &lt;cspublic.h&gt;</span>
36
 
00028 
37
 
00029 <span class="preprocessor">#ifdef __cplusplus</span>
38
 
00030 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span>
39
 
00031 {
40
 
00032 <span class="preprocessor">#if 0</span>
41
 
00033 <span class="preprocessor"></span>}
42
 
00034 <span class="preprocessor">#endif</span>
43
 
00035 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
44
 
00036 <span class="preprocessor"></span>
45
 
00037 <span class="comment">/* buld properties start with 1 i guess */</span>
46
 
00038 <span class="preprocessor">#define BLK_IDENTITY 1</span>
47
 
00039 <span class="preprocessor"></span>
48
 
00040 CS_RETCODE blk_alloc(CS_CONNECTION * connection, CS_INT version, CS_BLKDESC ** blk_pointer);
49
 
00041 CS_RETCODE blk_bind(CS_BLKDESC * blkdesc, CS_INT colnum, CS_DATAFMT * datafmt, CS_VOID * buffer, CS_INT * datalen,
50
 
00042                     CS_SMALLINT * indicator);
51
 
00043 CS_RETCODE blk_colval(SRV_PROC * srvproc, CS_BLKDESC * blkdescp, CS_BLK_ROW * rowp, CS_INT colnum, CS_VOID * valuep,
52
 
00044                       CS_INT valuelen, CS_INT * outlenp);
53
 
00045 CS_RETCODE blk_default(CS_BLKDESC * blkdesc, CS_INT colnum, CS_VOID * buffer, CS_INT buflen, CS_INT * outlen);
54
 
00046 CS_RETCODE blk_describe(CS_BLKDESC * blkdesc, CS_INT colnum, CS_DATAFMT * datafmt);
55
 
00047 CS_RETCODE blk_done(CS_BLKDESC * blkdesc, CS_INT type, CS_INT * outrow);
56
 
00048 CS_RETCODE blk_drop(CS_BLKDESC * blkdesc);
57
 
00049 CS_RETCODE blk_getrow(SRV_PROC * srvproc, CS_BLKDESC * blkdescp, CS_BLK_ROW * rowp);
58
 
00050 CS_RETCODE blk_gettext(SRV_PROC * srvproc, CS_BLKDESC * blkdescp, CS_BLK_ROW * rowp, CS_INT bufsize, CS_INT * outlenp);
59
 
00051 CS_RETCODE blk_init(CS_BLKDESC * blkdesc, CS_INT direction, CS_CHAR * tablename, CS_INT tnamelen);
60
 
00052 CS_RETCODE blk_props(CS_BLKDESC * blkdesc, CS_INT action, CS_INT property, CS_VOID * buffer, CS_INT buflen, CS_INT * outlen);
61
 
00053 CS_RETCODE blk_rowalloc(SRV_PROC * srvproc, CS_BLK_ROW ** row);
62
 
00054 CS_RETCODE blk_rowdrop(SRV_PROC * srvproc, CS_BLK_ROW * row);
63
 
00055 CS_RETCODE blk_rowxfer(CS_BLKDESC * blkdesc);
64
 
00056 CS_RETCODE blk_rowxfer_mult(CS_BLKDESC * blkdesc, CS_INT * row_count);
65
 
00057 CS_RETCODE blk_sendrow(CS_BLKDESC * blkdesc, CS_BLK_ROW * row);
66
 
00058 CS_RETCODE blk_sendtext(CS_BLKDESC * blkdesc, CS_BLK_ROW * row, CS_BYTE * buffer, CS_INT buflen);
67
 
00059 CS_RETCODE blk_srvinit(SRV_PROC * srvproc, CS_BLKDESC * blkdescp);
68
 
00060 CS_RETCODE blk_textxfer(CS_BLKDESC * blkdesc, CS_BYTE * buffer, CS_INT buflen, CS_INT * outlen);
69
 
00061 
70
 
00062 <span class="preprocessor">#ifdef __cplusplus</span>
71
 
00063 <span class="preprocessor"></span><span class="preprocessor">#if 0</span>
72
 
00064 <span class="preprocessor"></span>{
73
 
00065 <span class="preprocessor">#endif</span>
74
 
00066 <span class="preprocessor"></span>}
75
 
00067 <span class="preprocessor">#endif</span>
76
 
00068 <span class="preprocessor"></span>
77
 
00069 <span class="preprocessor">#endif</span>
78
 
</pre></div><hr><address style="align: right;"><small>Generated on Tue Mar 29 19:52:35 2005 for FreeTDS API by
79
 
<a href="http://www.doxygen.org/index.html">
80
 
<img src="doxygen.png" alt="doxygen" align="middle" border=0 
81
 
width=110 height=53></a>1.3 </small></address>
82
 
</body>
83
 
</html>