GnuCash
2.6.99
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
backend
sql
escape.h
1
/********************************************************************\
2
* escape.h : Escape SQL reserved characters in strings *
3
* Copyright (C) 2001 Linas Vepstas <
[email protected]
> *
4
* *
5
* This program is free software; you can redistribute it and/or *
6
* modify it under the terms of the GNU General Public License as *
7
* published by the Free Software Foundation; either version 2 of *
8
* the License, or (at your option) any later version. *
9
* *
10
* This program is distributed in the hope that it will be useful, *
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13
* GNU General Public License for more details. *
14
* *
15
* You should have received a copy of the GNU General Public License*
16
* along with this program; if not, contact: *
17
* *
18
* Free Software Foundation Voice: +1-617-542-5942 *
19
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
20
* Boston, MA 02110-1301, USA
[email protected]
*
21
\********************************************************************/
22
23
/*
24
* FILE:
25
* escape.h
26
*
27
* FUNCTION:
28
* Escape SQL reserved characters \ and ' from strings
29
*
30
* HISTORY:
31
* Linas Vepstas January 2001
32
*/
33
34
#ifndef SQL_ESCAPE_H
35
#define SQL_ESCAPE_H
36
37
typedef
struct
_escape
sqlEscape
;
38
39
sqlEscape
* sqlEscape_new(
void
);
40
void
sqlEscape_destroy (
sqlEscape
*);
41
42
const
char
* sqlEscapeString (
sqlEscape
*,
const
char
*orig_string);
43
44
#endif
/* SQL_ESCAPE_H */
45
_escape
Definition:
escape.c:42
Generated by
1.8.6