1 /*
2  * Copyright (C) YEAR The GNOME Foundation
3  *
4  * AUTHORS:
5  *      TO_ADD: your name and email
6  *      Vivien Malerba <malerba@gnome-db.org>
7  *
8  * This Library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Library General Public License as
10  * published by the Free Software Foundation; either version 2 of the
11  * License, or (at your option) any later version.
12  *
13  * This Library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Library General Public License for more details.
17  *
18  * You should have received a copy of the GNU Library General Public
19  * License along with this Library; see the file COPYING.LIB.  If not,
20  * write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21  * Boston, MA  02110-1301, USA.
22  */
23 
24 #ifndef __GDA_CAPI_BLOB_OP_H__
25 #define __GDA_CAPI_BLOB_OP_H__
26 
27 #include <libgda/gda-blob-op.h>
28 
29 G_BEGIN_DECLS
30 
31 #define GDA_TYPE_CAPI_BLOB_OP            (gda_capi_blob_op_get_type())
32 #define GDA_CAPI_BLOB_OP(obj)            (G_TYPE_CHECK_INSTANCE_CAST (obj, GDA_TYPE_CAPI_BLOB_OP, GdaCapiBlobOp))
33 #define GDA_CAPI_BLOB_OP_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST (klass, GDA_TYPE_CAPI_BLOB_OP, GdaCapiBlobOpClass))
34 #define GDA_IS_CAPI_BLOB_OP(obj)         (G_TYPE_CHECK_INSTANCE_TYPE (obj, GDA_TYPE_CAPI_BLOB_OP))
35 #define GDA_IS_CAPI_BLOB_OP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDA_TYPE_CAPI_BLOB_OP))
36 
37 typedef struct _GdaCapiBlobOp        GdaCapiBlobOp;
38 typedef struct _GdaCapiBlobOpClass   GdaCapiBlobOpClass;
39 typedef struct _GdaCapiBlobOpPrivate GdaCapiBlobOpPrivate;
40 
41 struct _GdaCapiBlobOp {
42 	GdaBlobOp             parent;
43 	GdaCapiBlobOpPrivate *priv;
44 };
45 
46 struct _GdaCapiBlobOpClass {
47 	GdaBlobOpClass        parent_class;
48 };
49 
50 GType         gda_capi_blob_op_get_type     (void) G_GNUC_CONST;
51 GdaBlobOp    *gda_capi_blob_op_new          (GdaConnection *cnc);
52 
53 /* TO_ADD: more convenient API to create a GdaBlobOp with some specific information as argument */
54 
55 G_END_DECLS
56 
57 #endif
58 
59