1;; -*- scheme -*-
2; object definitions ...
3(define-object Batch
4  (in-module "Gda")
5  (parent "GObject")
6  (c-name "GdaBatch")
7  (gtype-id "GDA_TYPE_BATCH")
8)
9
10(define-object BlobOp
11  (in-module "Gda")
12  (parent "GObject")
13  (c-name "GdaBlobOp")
14  (gtype-id "GDA_TYPE_BLOB_OP")
15)
16
17(define-object Column
18  (in-module "Gda")
19  (parent "GObject")
20  (c-name "GdaColumn")
21  (gtype-id "GDA_TYPE_COLUMN")
22)
23
24(define-object Config
25  (in-module "Gda")
26  (parent "GObject")
27  (c-name "GdaConfig")
28  (gtype-id "GDA_TYPE_CONFIG")
29)
30
31(define-object Connection
32  (in-module "Gda")
33  (parent "GObject")
34  (c-name "GdaConnection")
35  (gtype-id "GDA_TYPE_CONNECTION")
36)
37
38(define-object ConnectionEvent
39  (in-module "Gda")
40  (parent "GObject")
41  (c-name "GdaConnectionEvent")
42  (gtype-id "GDA_TYPE_CONNECTION_EVENT")
43)
44
45(define-object DataAccessWrapper
46  (in-module "Gda")
47  (parent "GObject")
48  (c-name "GdaDataAccessWrapper")
49  (gtype-id "GDA_TYPE_DATA_ACCESS_WRAPPER")
50)
51
52(define-object DataComparator
53  (in-module "Gda")
54  (parent "GObject")
55  (c-name "GdaDataComparator")
56  (gtype-id "GDA_TYPE_DATA_COMPARATOR")
57)
58
59(define-object DataHandler
60  (in-module "Gda")
61  (c-name "GdaDataHandler")
62  (gtype-id "GDA_TYPE_DATA_HANDLER")
63)
64
65(define-object DataModel
66  (in-module "Gda")
67  (c-name "GdaDataModel")
68  (gtype-id "GDA_TYPE_DATA_MODEL")
69)
70
71(define-object DataModelArray
72  (in-module "Gda")
73  (parent "GObject")
74  (c-name "GdaDataModelArray")
75  (gtype-id "GDA_TYPE_DATA_MODEL_ARRAY")
76)
77
78(define-object DataModelBdb
79  (in-module "Gda")
80  (parent "GObject")
81  (c-name "GdaDataModelBdb")
82  (gtype-id "GDA_TYPE_DATA_MODEL_BDB")
83)
84
85(define-object DataModelDir
86  (in-module "Gda")
87  (parent "GObject")
88  (c-name "GdaDataModelDir")
89  (gtype-id "GDA_TYPE_DATA_MODEL_DIR")
90)
91
92(define-object DataModelImport
93  (in-module "Gda")
94  (parent "GObject")
95  (c-name "GdaDataModelImport")
96  (gtype-id "GDA_TYPE_DATA_MODEL_IMPORT")
97)
98
99(define-object DataModelLdap
100  (in-module "Gda")
101  (parent "GObject")
102  (c-name "GdaDataModelLdap")
103  (gtype-id "GDA_TYPE_DATA_MODEL_LDAP")
104)
105
106(define-object DataPivot
107  (in-module "Gda")
108  (parent "GObject")
109  (c-name "GdaDataPivot")
110  (gtype-id "GDA_TYPE_DATA_PIVOT")
111)
112
113(define-object DataProxy
114  (in-module "Gda")
115  (parent "GObject")
116  (c-name "GdaDataProxy")
117  (gtype-id "GDA_TYPE_DATA_PROXY")
118)
119
120(define-object DataSelect
121  (in-module "Gda")
122  (parent "GObject")
123  (c-name "GdaDataSelect")
124  (gtype-id "GDA_TYPE_DATA_SELECT")
125)
126
127(define-object Holder
128  (in-module "Gda")
129  (parent "GObject")
130  (c-name "GdaHolder")
131  (gtype-id "GDA_TYPE_HOLDER")
132)
133
134(define-object Lockable
135  (in-module "Gda")
136  (c-name "GdaLockable")
137  (gtype-id "GDA_TYPE_LOCKABLE")
138)
139
140(define-object MetaStore
141  (in-module "Gda")
142  (parent "GObject")
143  (c-name "GdaMetaStore")
144  (gtype-id "GDA_TYPE_META_STORE")
145)
146
147(define-object MetaStruct
148  (in-module "Gda")
149  (parent "GObject")
150  (c-name "GdaMetaStruct")
151  (gtype-id "GDA_TYPE_META_STRUCT")
152)
153
154(define-object RepetitiveStatement
155  (in-module "Gda")
156  (parent "GObject")
157  (c-name "GdaRepetitiveStatement")
158  (gtype-id "GDA_TYPE_REPETITIVE_STATEMENT")
159)
160
161(define-object ReportDocument
162  (in-module "Gda")
163  (parent "GObject")
164  (c-name "GdaReportDocument")
165  (gtype-id "GDA_TYPE_REPORT_DOCUMENT")
166)
167
168(define-object ReportDocbookDocument
169  (in-module "Gda")
170  (parent "GdaReportDocument")
171  (c-name "GdaReportDocbookDocument")
172  (gtype-id "GDA_TYPE_REPORT_DOCBOOK_DOCUMENT")
173)
174
175(define-object ReportEngine
176  (in-module "Gda")
177  (parent "GObject")
178  (c-name "GdaReportEngine")
179  (gtype-id "GDA_TYPE_REPORT_ENGINE")
180)
181
182(define-object ReportRmlDocument
183  (in-module "Gda")
184  (parent "GdaReportDocument")
185  (c-name "GdaReportRmlDocument")
186  (gtype-id "GDA_TYPE_REPORT_RML_DOCUMENT")
187)
188
189(define-object Row
190  (in-module "Gda")
191  (parent "GObject")
192  (c-name "GdaRow")
193  (gtype-id "GDA_TYPE_ROW")
194)
195
196(define-object ServerOperation
197  (in-module "Gda")
198  (parent "GObject")
199  (c-name "GdaServerOperation")
200  (gtype-id "GDA_TYPE_SERVER_OPERATION")
201)
202
203(define-object ServerProvider
204  (in-module "Gda")
205  (parent "GObject")
206  (c-name "GdaServerProvider")
207  (gtype-id "GDA_TYPE_SERVER_PROVIDER")
208)
209
210(define-object Set
211  (in-module "Gda")
212  (parent "GObject")
213  (c-name "GdaSet")
214  (gtype-id "GDA_TYPE_SET")
215)
216
217(define-object DataModelIter
218  (in-module "Gda")
219  (parent "GdaSet")
220  (c-name "GdaDataModelIter")
221  (gtype-id "GDA_TYPE_DATA_MODEL_ITER")
222)
223
224(define-object SqlBuilder
225  (in-module "Gda")
226  (parent "GObject")
227  (c-name "GdaSqlBuilder")
228  (gtype-id "GDA_TYPE_SQL_BUILDER")
229)
230
231(define-object SqlParser
232  (in-module "Gda")
233  (parent "GObject")
234  (c-name "GdaSqlParser")
235  (gtype-id "GDA_TYPE_SQL_PARSER")
236)
237
238(define-object Statement
239  (in-module "Gda")
240  (parent "GObject")
241  (c-name "GdaStatement")
242  (gtype-id "GDA_TYPE_STATEMENT")
243)
244
245(define-object TransactionStatus
246  (in-module "Gda")
247  (parent "GObject")
248  (c-name "GdaTransactionStatus")
249  (gtype-id "GDA_TYPE_TRANSACTION_STATUS")
250)
251
252(define-object Tree
253  (in-module "Gda")
254  (parent "GObject")
255  (c-name "GdaTree")
256  (gtype-id "GDA_TYPE_TREE")
257)
258
259(define-object TreeManager
260  (in-module "Gda")
261  (parent "GObject")
262  (c-name "GdaTreeManager")
263  (gtype-id "GDA_TYPE_TREE_MANAGER")
264)
265
266(define-object TreeMgrColumns
267  (in-module "Gda")
268  (parent "GdaTreeManager")
269  (c-name "GdaTreeMgrColumns")
270  (gtype-id "GDA_TYPE_TREE_MGR_COLUMNS")
271)
272
273(define-object TreeMgrLabel
274  (in-module "Gda")
275  (parent "GdaTreeManager")
276  (c-name "GdaTreeMgrLabel")
277  (gtype-id "GDA_TYPE_TREE_MGR_LABEL")
278)
279
280(define-object TreeMgrLdap
281  (in-module "Gda")
282  (parent "GdaTreeManager")
283  (c-name "GdaTreeMgrLdap")
284  (gtype-id "GDA_TYPE_TREE_MGR_LDAP")
285)
286
287(define-object TreeMgrSchemas
288  (in-module "Gda")
289  (parent "GdaTreeManager")
290  (c-name "GdaTreeMgrSchemas")
291  (gtype-id "GDA_TYPE_TREE_MGR_SCHEMAS")
292)
293
294(define-object TreeMgrSelect
295  (in-module "Gda")
296  (parent "GdaTreeManager")
297  (c-name "GdaTreeMgrSelect")
298  (gtype-id "GDA_TYPE_TREE_MGR_SELECT")
299)
300
301(define-object TreeMgrTables
302  (in-module "Gda")
303  (parent "GdaTreeManager")
304  (c-name "GdaTreeMgrTables")
305  (gtype-id "GDA_TYPE_TREE_MGR_TABLES")
306)
307
308(define-object TreeNode
309  (in-module "Gda")
310  (parent "GObject")
311  (c-name "GdaTreeNode")
312  (gtype-id "GDA_TYPE_TREE_NODE")
313)
314
315(define-object XaTransaction
316  (in-module "Gda")
317  (parent "GObject")
318  (c-name "GdaXaTransaction")
319  (gtype-id "GDA_TYPE_XA_TRANSACTION")
320)
321
322;; Enumerations and flags ...
323
324(define-enum BatchError
325  (in-module "Gda")
326  (c-name "GdaBatchError")
327  (gtype-id "GDA_TYPE_BATCH_ERROR")
328  (values
329    '("error" "GDA_BATCH_CONFLICTING_PARAMETER_ERROR")
330  )
331)
332
333(define-enum PrefixDir
334  (in-module "Gda")
335  (c-name "GdaPrefixDir")
336  (gtype-id "GDA_TYPE_PREFIX_DIR")
337  (values
338    '("no-dir" "GDA_NO_DIR")
339    '("bin-dir" "GDA_BIN_DIR")
340    '("sbin-dir" "GDA_SBIN_DIR")
341    '("data-dir" "GDA_DATA_DIR")
342    '("locale-dir" "GDA_LOCALE_DIR")
343    '("lib-dir" "GDA_LIB_DIR")
344    '("libexec-dir" "GDA_LIBEXEC_DIR")
345    '("etc-dir" "GDA_ETC_DIR")
346  )
347)
348
349(define-enum ConfigError
350  (in-module "Gda")
351  (c-name "GdaConfigError")
352  (gtype-id "GDA_TYPE_CONFIG_ERROR")
353  (values
354    '("dsn-not-found-error" "GDA_CONFIG_DSN_NOT_FOUND_ERROR")
355    '("permission-error" "GDA_CONFIG_PERMISSION_ERROR")
356    '("provider-not-found-error" "GDA_CONFIG_PROVIDER_NOT_FOUND_ERROR")
357    '("provider-creation-error" "GDA_CONFIG_PROVIDER_CREATION_ERROR")
358  )
359)
360
361(define-enum ConnectionEventType
362  (in-module "Gda")
363  (c-name "GdaConnectionEventType")
364  (gtype-id "GDA_TYPE_CONNECTION_EVENT_TYPE")
365  (values
366    '("notice" "GDA_CONNECTION_EVENT_NOTICE")
367    '("warning" "GDA_CONNECTION_EVENT_WARNING")
368    '("error" "GDA_CONNECTION_EVENT_ERROR")
369    '("command" "GDA_CONNECTION_EVENT_COMMAND")
370  )
371)
372
373(define-enum ConnectionEventCode
374  (in-module "Gda")
375  (c-name "GdaConnectionEventCode")
376  (gtype-id "GDA_TYPE_CONNECTION_EVENT_CODE")
377  (values
378    '("constraint-violation" "GDA_CONNECTION_EVENT_CODE_CONSTRAINT_VIOLATION")
379    '("restrict-violation" "GDA_CONNECTION_EVENT_CODE_RESTRICT_VIOLATION")
380    '("not-null-violation" "GDA_CONNECTION_EVENT_CODE_NOT_NULL_VIOLATION")
381    '("foreign-key-violation" "GDA_CONNECTION_EVENT_CODE_FOREIGN_KEY_VIOLATION")
382    '("unique-violation" "GDA_CONNECTION_EVENT_CODE_UNIQUE_VIOLATION")
383    '("check-violation" "GDA_CONNECTION_EVENT_CODE_CHECK_VIOLATION")
384    '("insufficient-privileges" "GDA_CONNECTION_EVENT_CODE_INSUFFICIENT_PRIVILEGES")
385    '("undefined-column" "GDA_CONNECTION_EVENT_CODE_UNDEFINED_COLUMN")
386    '("undefined-function" "GDA_CONNECTION_EVENT_CODE_UNDEFINED_FUNCTION")
387    '("undefined-table" "GDA_CONNECTION_EVENT_CODE_UNDEFINED_TABLE")
388    '("duplicate-column" "GDA_CONNECTION_EVENT_CODE_DUPLICATE_COLUMN")
389    '("duplicate-database" "GDA_CONNECTION_EVENT_CODE_DUPLICATE_DATABASE")
390    '("duplicate-function" "GDA_CONNECTION_EVENT_CODE_DUPLICATE_FUNCTION")
391    '("duplicate-schema" "GDA_CONNECTION_EVENT_CODE_DUPLICATE_SCHEMA")
392    '("duplicate-table" "GDA_CONNECTION_EVENT_CODE_DUPLICATE_TABLE")
393    '("duplicate-alias" "GDA_CONNECTION_EVENT_CODE_DUPLICATE_ALIAS")
394    '("duplicate-object" "GDA_CONNECTION_EVENT_CODE_DUPLICATE_OBJECT")
395    '("syntax-error" "GDA_CONNECTION_EVENT_CODE_SYNTAX_ERROR")
396    '("unknown" "GDA_CONNECTION_EVENT_CODE_UNKNOWN")
397  )
398)
399
400(define-enum ConnectionError
401  (in-module "Gda")
402  (c-name "GdaConnectionError")
403  (gtype-id "GDA_TYPE_CONNECTION_ERROR")
404  (values
405    '("dsn-not-found-error" "GDA_CONNECTION_DSN_NOT_FOUND_ERROR")
406    '("provider-not-found-error" "GDA_CONNECTION_PROVIDER_NOT_FOUND_ERROR")
407    '("provider-error" "GDA_CONNECTION_PROVIDER_ERROR")
408    '("no-cnc-spec-error" "GDA_CONNECTION_NO_CNC_SPEC_ERROR")
409    '("no-provider-spec-error" "GDA_CONNECTION_NO_PROVIDER_SPEC_ERROR")
410    '("open-error" "GDA_CONNECTION_OPEN_ERROR")
411    '("statement-type-error" "GDA_CONNECTION_STATEMENT_TYPE_ERROR")
412    '("cant-lock-error" "GDA_CONNECTION_CANT_LOCK_ERROR")
413    '("task-not-found-error" "GDA_CONNECTION_TASK_NOT_FOUND_ERROR")
414    '("unsupported-threads-error" "GDA_CONNECTION_UNSUPPORTED_THREADS_ERROR")
415    '("closed-error" "GDA_CONNECTION_CLOSED_ERROR")
416    '("meta-data-context-error" "GDA_CONNECTION_META_DATA_CONTEXT_ERROR")
417  )
418)
419
420(define-flags ConnectionOptions
421  (in-module "Gda")
422  (c-name "GdaConnectionOptions")
423  (gtype-id "GDA_TYPE_CONNECTION_OPTIONS")
424  (values
425    '("none" "GDA_CONNECTION_OPTIONS_NONE")
426    '("read-only" "GDA_CONNECTION_OPTIONS_READ_ONLY")
427    '("sql-identifiers-case-sensitive" "GDA_CONNECTION_OPTIONS_SQL_IDENTIFIERS_CASE_SENSITIVE")
428    '("thread-safe" "GDA_CONNECTION_OPTIONS_THREAD_SAFE")
429    '("thread-isolated" "GDA_CONNECTION_OPTIONS_THREAD_ISOLATED")
430    '("auto-meta-data" "GDA_CONNECTION_OPTIONS_AUTO_META_DATA")
431  )
432)
433
434(define-enum ConnectionFeature
435  (in-module "Gda")
436  (c-name "GdaConnectionFeature")
437  (gtype-id "GDA_TYPE_CONNECTION_FEATURE")
438  (values
439    '("aggregates" "GDA_CONNECTION_FEATURE_AGGREGATES")
440    '("blobs" "GDA_CONNECTION_FEATURE_BLOBS")
441    '("indexes" "GDA_CONNECTION_FEATURE_INDEXES")
442    '("inheritance" "GDA_CONNECTION_FEATURE_INHERITANCE")
443    '("namespaces" "GDA_CONNECTION_FEATURE_NAMESPACES")
444    '("procedures" "GDA_CONNECTION_FEATURE_PROCEDURES")
445    '("sequences" "GDA_CONNECTION_FEATURE_SEQUENCES")
446    '("sql" "GDA_CONNECTION_FEATURE_SQL")
447    '("transactions" "GDA_CONNECTION_FEATURE_TRANSACTIONS")
448    '("savepoints" "GDA_CONNECTION_FEATURE_SAVEPOINTS")
449    '("savepoints-remove" "GDA_CONNECTION_FEATURE_SAVEPOINTS_REMOVE")
450    '("triggers" "GDA_CONNECTION_FEATURE_TRIGGERS")
451    '("updatable-cursor" "GDA_CONNECTION_FEATURE_UPDATABLE_CURSOR")
452    '("users" "GDA_CONNECTION_FEATURE_USERS")
453    '("views" "GDA_CONNECTION_FEATURE_VIEWS")
454    '("xa-transactions" "GDA_CONNECTION_FEATURE_XA_TRANSACTIONS")
455    '("multi-threading" "GDA_CONNECTION_FEATURE_MULTI_THREADING")
456    '("last" "GDA_CONNECTION_FEATURE_LAST")
457  )
458)
459
460(define-enum ConnectionMetaType
461  (in-module "Gda")
462  (c-name "GdaConnectionMetaType")
463  (gtype-id "GDA_TYPE_CONNECTION_META_TYPE")
464  (values
465    '("namespaces" "GDA_CONNECTION_META_NAMESPACES")
466    '("types" "GDA_CONNECTION_META_TYPES")
467    '("tables" "GDA_CONNECTION_META_TABLES")
468    '("views" "GDA_CONNECTION_META_VIEWS")
469    '("fields" "GDA_CONNECTION_META_FIELDS")
470    '("indexes" "GDA_CONNECTION_META_INDEXES")
471  )
472)
473
474(define-enum DataComparatorError
475  (in-module "Gda")
476  (c-name "GdaDataComparatorError")
477  (gtype-id "GDA_TYPE_DATA_COMPARATOR_ERROR")
478  (values
479    '("missing-data-model-error" "GDA_DATA_COMPARATOR_MISSING_DATA_MODEL_ERROR")
480    '("column-types-mismatch-error" "GDA_DATA_COMPARATOR_COLUMN_TYPES_MISMATCH_ERROR")
481    '("model-access-error" "GDA_DATA_COMPARATOR_MODEL_ACCESS_ERROR")
482    '("user-cancelled-error" "GDA_DATA_COMPARATOR_USER_CANCELLED_ERROR")
483  )
484)
485
486(define-enum DiffType
487  (in-module "Gda")
488  (c-name "GdaDiffType")
489  (gtype-id "GDA_TYPE_DIFF_TYPE")
490  (values
491    '("add-row" "GDA_DIFF_ADD_ROW")
492    '("remove-row" "GDA_DIFF_REMOVE_ROW")
493    '("modify-row" "GDA_DIFF_MODIFY_ROW")
494  )
495)
496
497(define-flags DataModelAccessFlags
498  (in-module "Gda")
499  (c-name "GdaDataModelAccessFlags")
500  (gtype-id "GDA_TYPE_DATA_MODEL_ACCESS_FLAGS")
501  (values
502    '("random" "GDA_DATA_MODEL_ACCESS_RANDOM")
503    '("cursor-forward" "GDA_DATA_MODEL_ACCESS_CURSOR_FORWARD")
504    '("cursor-backward" "GDA_DATA_MODEL_ACCESS_CURSOR_BACKWARD")
505    '("cursor" "GDA_DATA_MODEL_ACCESS_CURSOR")
506    '("insert" "GDA_DATA_MODEL_ACCESS_INSERT")
507    '("update" "GDA_DATA_MODEL_ACCESS_UPDATE")
508    '("delete" "GDA_DATA_MODEL_ACCESS_DELETE")
509    '("write" "GDA_DATA_MODEL_ACCESS_WRITE")
510  )
511)
512
513(define-enum DataModelHint
514  (in-module "Gda")
515  (c-name "GdaDataModelHint")
516  (gtype-id "GDA_TYPE_DATA_MODEL_HINT")
517  (values
518    '("start-batch-update" "GDA_DATA_MODEL_HINT_START_BATCH_UPDATE")
519    '("end-batch-update" "GDA_DATA_MODEL_HINT_END_BATCH_UPDATE")
520    '("refresh" "GDA_DATA_MODEL_HINT_REFRESH")
521  )
522)
523
524(define-enum DataModelIOFormat
525  (in-module "Gda")
526  (c-name "GdaDataModelIOFormat")
527  (gtype-id "GDA_TYPE_DATA_MODEL_IO_FORMAT")
528  (values
529    '("data-array-xml" "GDA_DATA_MODEL_IO_DATA_ARRAY_XML")
530    '("text-separated" "GDA_DATA_MODEL_IO_TEXT_SEPARATED")
531  )
532)
533
534(define-enum DataModelError
535  (in-module "Gda")
536  (c-name "GdaDataModelError")
537  (gtype-id "GDA_TYPE_DATA_MODEL_ERROR")
538  (values
539    '("row-out-of-range-error" "GDA_DATA_MODEL_ROW_OUT_OF_RANGE_ERROR")
540    '("column-out-of-range-error" "GDA_DATA_MODEL_COLUMN_OUT_OF_RANGE_ERROR")
541    '("values-list-error" "GDA_DATA_MODEL_VALUES_LIST_ERROR")
542    '("value-type-error" "GDA_DATA_MODEL_VALUE_TYPE_ERROR")
543    '("row-not-found-error" "GDA_DATA_MODEL_ROW_NOT_FOUND_ERROR")
544    '("access-error" "GDA_DATA_MODEL_ACCESS_ERROR")
545    '("feature-non-supported-error" "GDA_DATA_MODEL_FEATURE_NON_SUPPORTED_ERROR")
546    '("file-exist-error" "GDA_DATA_MODEL_FILE_EXIST_ERROR")
547    '("xml-format-error" "GDA_DATA_MODEL_XML_FORMAT_ERROR")
548    '("truncated-error" "GDA_DATA_MODEL_TRUNCATED_ERROR")
549    '("other-error" "GDA_DATA_MODEL_OTHER_ERROR")
550  )
551)
552
553(define-enum DataModelIterError
554  (in-module "Gda")
555  (c-name "GdaDataModelIterError")
556  (gtype-id "GDA_TYPE_DATA_MODEL_ITER_ERROR")
557  (values
558    '("error" "GDA_DATA_MODEL_ITER_COLUMN_OUT_OF_RANGE_ERROR")
559  )
560)
561
562(define-enum LdapSearchScope
563  (in-module "Gda")
564  (c-name "GdaLdapSearchScope")
565  (gtype-id "GDA_TYPE_LDAP_SEARCH_SCOPE")
566  (values
567    '("base" "GDA_LDAP_SEARCH_BASE")
568    '("onelevel" "GDA_LDAP_SEARCH_ONELEVEL")
569    '("subtree" "GDA_LDAP_SEARCH_SUBTREE")
570  )
571)
572
573(define-enum DataPivotError
574  (in-module "Gda")
575  (c-name "GdaDataPivotError")
576  (gtype-id "GDA_TYPE_DATA_PIVOT_ERROR")
577  (values
578    '("internal-error" "GDA_DATA_PIVOT_INTERNAL_ERROR")
579    '("source-model-error" "GDA_DATA_PIVOT_SOURCE_MODEL_ERROR")
580    '("field-format-error" "GDA_DATA_PIVOT_FIELD_FORMAT_ERROR")
581    '("usage-error" "GDA_DATA_PIVOT_USAGE_ERROR")
582    '("overflow-error" "GDA_DATA_PIVOT_OVERFLOW_ERROR")
583  )
584)
585
586(define-enum DataPivotAggregate
587  (in-module "Gda")
588  (c-name "GdaDataPivotAggregate")
589  (gtype-id "GDA_TYPE_DATA_PIVOT_AGGREGATE")
590  (values
591    '("avg" "GDA_DATA_PIVOT_AVG")
592    '("count" "GDA_DATA_PIVOT_COUNT")
593    '("max" "GDA_DATA_PIVOT_MAX")
594    '("min" "GDA_DATA_PIVOT_MIN")
595    '("sum" "GDA_DATA_PIVOT_SUM")
596  )
597)
598
599(define-enum DataPivotFieldType
600  (in-module "Gda")
601  (c-name "GdaDataPivotFieldType")
602  (gtype-id "GDA_TYPE_DATA_PIVOT_FIELD_TYPE")
603  (values
604    '("row" "GDA_DATA_PIVOT_FIELD_ROW")
605    '("column" "GDA_DATA_PIVOT_FIELD_COLUMN")
606  )
607)
608
609(define-enum DataProxyError
610  (in-module "Gda")
611  (c-name "GdaDataProxyError")
612  (gtype-id "GDA_TYPE_DATA_PROXY_ERROR")
613  (values
614    '("commit-error" "GDA_DATA_PROXY_COMMIT_ERROR")
615    '("commit-cancelled" "GDA_DATA_PROXY_COMMIT_CANCELLED")
616    '("read-only-value" "GDA_DATA_PROXY_READ_ONLY_VALUE")
617    '("read-only-row" "GDA_DATA_PROXY_READ_ONLY_ROW")
618    '("filter-error" "GDA_DATA_PROXY_FILTER_ERROR")
619  )
620)
621
622(define-enum DataSelectError
623  (in-module "Gda")
624  (c-name "GdaDataSelectError")
625  (gtype-id "GDA_TYPE_DATA_SELECT_ERROR")
626  (values
627    '("modification-statement-error" "GDA_DATA_SELECT_MODIFICATION_STATEMENT_ERROR")
628    '("missing-modification-statement-error" "GDA_DATA_SELECT_MISSING_MODIFICATION_STATEMENT_ERROR")
629    '("connection-error" "GDA_DATA_SELECT_CONNECTION_ERROR")
630    '("access-error" "GDA_DATA_SELECT_ACCESS_ERROR")
631    '("sql-error" "GDA_DATA_SELECT_SQL_ERROR")
632    '("safety-locked-error" "GDA_DATA_SELECT_SAFETY_LOCKED_ERROR")
633  )
634)
635
636(define-enum DataSelectConditionType
637  (in-module "Gda")
638  (c-name "GdaDataSelectConditionType")
639  (gtype-id "GDA_TYPE_DATA_SELECT_CONDITION_TYPE")
640  (values
641    '("pk" "GDA_DATA_SELECT_COND_PK")
642    '("all-columns" "GDA_DATA_SELECT_COND_ALL_COLUMNS")
643  )
644)
645
646(define-enum TransactionIsolation
647  (in-module "Gda")
648  (c-name "GdaTransactionIsolation")
649  (gtype-id "GDA_TYPE_TRANSACTION_ISOLATION")
650  (values
651    '("unknown" "GDA_TRANSACTION_ISOLATION_UNKNOWN")
652    '("read-committed" "GDA_TRANSACTION_ISOLATION_READ_COMMITTED")
653    '("read-uncommitted" "GDA_TRANSACTION_ISOLATION_READ_UNCOMMITTED")
654    '("repeatable-read" "GDA_TRANSACTION_ISOLATION_REPEATABLE_READ")
655    '("serializable" "GDA_TRANSACTION_ISOLATION_SERIALIZABLE")
656  )
657)
658
659(define-flags ValueAttribute
660  (in-module "Gda")
661  (c-name "GdaValueAttribute")
662  (gtype-id "GDA_TYPE_VALUE_ATTRIBUTE")
663  (values
664    '("none" "GDA_VALUE_ATTR_NONE")
665    '("is-null" "GDA_VALUE_ATTR_IS_NULL")
666    '("can-be-null" "GDA_VALUE_ATTR_CAN_BE_NULL")
667    '("is-default" "GDA_VALUE_ATTR_IS_DEFAULT")
668    '("can-be-default" "GDA_VALUE_ATTR_CAN_BE_DEFAULT")
669    '("is-unchanged" "GDA_VALUE_ATTR_IS_UNCHANGED")
670    '("actions-shown" "GDA_VALUE_ATTR_ACTIONS_SHOWN")
671    '("data-non-valid" "GDA_VALUE_ATTR_DATA_NON_VALID")
672    '("has-value-orig" "GDA_VALUE_ATTR_HAS_VALUE_ORIG")
673    '("no-modif" "GDA_VALUE_ATTR_NO_MODIF")
674    '("unused" "GDA_VALUE_ATTR_UNUSED")
675  )
676)
677
678(define-flags SqlIdentifierStyle
679  (in-module "Gda")
680  (c-name "GdaSqlIdentifierStyle")
681  (gtype-id "GDA_TYPE_SQL_IDENTIFIER_STYLE")
682  (values
683    '("lower-case" "GDA_SQL_IDENTIFIERS_LOWER_CASE")
684    '("upper-case" "GDA_SQL_IDENTIFIERS_UPPER_CASE")
685  )
686)
687
688(define-enum HolderError
689  (in-module "Gda")
690  (c-name "GdaHolderError")
691  (gtype-id "GDA_TYPE_HOLDER_ERROR")
692  (values
693    '("string-conversion-error" "GDA_HOLDER_STRING_CONVERSION_ERROR")
694    '("value-type-error" "GDA_HOLDER_VALUE_TYPE_ERROR")
695    '("value-null-error" "GDA_HOLDER_VALUE_NULL_ERROR")
696  )
697)
698
699(define-enum MetaStoreError
700  (in-module "Gda")
701  (c-name "GdaMetaStoreError")
702  (gtype-id "GDA_TYPE_META_STORE_ERROR")
703  (values
704    '("incorrect-schema-error" "GDA_META_STORE_INCORRECT_SCHEMA_ERROR")
705    '("unsupported-provider-error" "GDA_META_STORE_UNSUPPORTED_PROVIDER_ERROR")
706    '("internal-error" "GDA_META_STORE_INTERNAL_ERROR")
707    '("meta-context-error" "GDA_META_STORE_META_CONTEXT_ERROR")
708    '("modify-contents-error" "GDA_META_STORE_MODIFY_CONTENTS_ERROR")
709    '("extract-sql-error" "GDA_META_STORE_EXTRACT_SQL_ERROR")
710    '("attribute-not-found-error" "GDA_META_STORE_ATTRIBUTE_NOT_FOUND_ERROR")
711    '("attribute-error" "GDA_META_STORE_ATTRIBUTE_ERROR")
712    '("schema-object-not-found-error" "GDA_META_STORE_SCHEMA_OBJECT_NOT_FOUND_ERROR")
713    '("schema-object-conflict-error" "GDA_META_STORE_SCHEMA_OBJECT_CONFLICT_ERROR")
714    '("schema-object-descr-error" "GDA_META_STORE_SCHEMA_OBJECT_DESCR_ERROR")
715    '("transaction-already-started-error" "GDA_META_STORE_TRANSACTION_ALREADY_STARTED_ERROR")
716  )
717)
718
719(define-enum MetaStoreChangeType
720  (in-module "Gda")
721  (c-name "GdaMetaStoreChangeType")
722  (gtype-id "GDA_TYPE_META_STORE_CHANGE_TYPE")
723  (values
724    '("add" "GDA_META_STORE_ADD")
725    '("remove" "GDA_META_STORE_REMOVE")
726    '("modify" "GDA_META_STORE_MODIFY")
727  )
728)
729
730(define-enum MetaStructError
731  (in-module "Gda")
732  (c-name "GdaMetaStructError")
733  (gtype-id "GDA_TYPE_META_STRUCT_ERROR")
734  (values
735    '("unknown-object-error" "GDA_META_STRUCT_UNKNOWN_OBJECT_ERROR")
736    '("duplicate-object-error" "GDA_META_STRUCT_DUPLICATE_OBJECT_ERROR")
737    '("incoherence-error" "GDA_META_STRUCT_INCOHERENCE_ERROR")
738    '("xml-error" "GDA_META_STRUCT_XML_ERROR")
739  )
740)
741
742(define-enum MetaDbObjectType
743  (in-module "Gda")
744  (c-name "GdaMetaDbObjectType")
745  (gtype-id "GDA_TYPE_META_DB_OBJECT_TYPE")
746  (values
747    '("unknown" "GDA_META_DB_UNKNOWN")
748    '("table" "GDA_META_DB_TABLE")
749    '("view" "GDA_META_DB_VIEW")
750  )
751)
752
753(define-flags MetaStructFeature
754  (in-module "Gda")
755  (c-name "GdaMetaStructFeature")
756  (gtype-id "GDA_TYPE_META_STRUCT_FEATURE")
757  (values
758    '("none" "GDA_META_STRUCT_FEATURE_NONE")
759    '("foreign-keys" "GDA_META_STRUCT_FEATURE_FOREIGN_KEYS")
760    '("view-dependencies" "GDA_META_STRUCT_FEATURE_VIEW_DEPENDENCIES")
761    '("all" "GDA_META_STRUCT_FEATURE_ALL")
762  )
763)
764
765(define-enum MetaSortType
766  (in-module "Gda")
767  (c-name "GdaMetaSortType")
768  (gtype-id "GDA_TYPE_META_SORT_TYPE")
769  (values
770    '("alhapetical" "GDA_META_SORT_ALHAPETICAL")
771    '("dependencies" "GDA_META_SORT_DEPENDENCIES")
772  )
773)
774
775(define-enum MetaForeignKeyPolicy
776  (in-module "Gda")
777  (c-name "GdaMetaForeignKeyPolicy")
778  (gtype-id "GDA_TYPE_META_FOREIGN_KEY_POLICY")
779  (values
780    '("unknown" "GDA_META_FOREIGN_KEY_UNKNOWN")
781    '("none" "GDA_META_FOREIGN_KEY_NONE")
782    '("no-action" "GDA_META_FOREIGN_KEY_NO_ACTION")
783    '("restrict" "GDA_META_FOREIGN_KEY_RESTRICT")
784    '("cascade" "GDA_META_FOREIGN_KEY_CASCADE")
785    '("set-null" "GDA_META_FOREIGN_KEY_SET_NULL")
786    '("set-default" "GDA_META_FOREIGN_KEY_SET_DEFAULT")
787  )
788)
789
790(define-flags MetaGraphInfo
791  (in-module "Gda")
792  (c-name "GdaMetaGraphInfo")
793  (gtype-id "GDA_TYPE_META_GRAPH_INFO")
794  (values
795    '("columns" "GDA_META_GRAPH_COLUMNS")
796  )
797)
798
799(define-enum ServerOperationType
800  (in-module "Gda")
801  (c-name "GdaServerOperationType")
802  (gtype-id "GDA_TYPE_SERVER_OPERATION_TYPE")
803  (values
804    '("create-db" "GDA_SERVER_OPERATION_CREATE_DB")
805    '("drop-db" "GDA_SERVER_OPERATION_DROP_DB")
806    '("create-table" "GDA_SERVER_OPERATION_CREATE_TABLE")
807    '("drop-table" "GDA_SERVER_OPERATION_DROP_TABLE")
808    '("rename-table" "GDA_SERVER_OPERATION_RENAME_TABLE")
809    '("add-column" "GDA_SERVER_OPERATION_ADD_COLUMN")
810    '("drop-column" "GDA_SERVER_OPERATION_DROP_COLUMN")
811    '("create-index" "GDA_SERVER_OPERATION_CREATE_INDEX")
812    '("drop-index" "GDA_SERVER_OPERATION_DROP_INDEX")
813    '("create-view" "GDA_SERVER_OPERATION_CREATE_VIEW")
814    '("drop-view" "GDA_SERVER_OPERATION_DROP_VIEW")
815    '("comment-table" "GDA_SERVER_OPERATION_COMMENT_TABLE")
816    '("comment-column" "GDA_SERVER_OPERATION_COMMENT_COLUMN")
817    '("create-user" "GDA_SERVER_OPERATION_CREATE_USER")
818    '("alter-user" "GDA_SERVER_OPERATION_ALTER_USER")
819    '("drop-user" "GDA_SERVER_OPERATION_DROP_USER")
820    '("last" "GDA_SERVER_OPERATION_LAST")
821  )
822)
823
824(define-enum ServerOperationError
825  (in-module "Gda")
826  (c-name "GdaServerOperationError")
827  (gtype-id "GDA_TYPE_SERVER_OPERATION_ERROR")
828  (values
829    '("object-name-error" "GDA_SERVER_OPERATION_OBJECT_NAME_ERROR")
830    '("incorrect-value-error" "GDA_SERVER_OPERATION_INCORRECT_VALUE_ERROR")
831    '("xml-error" "GDA_SERVER_OPERATION_XML_ERROR")
832  )
833)
834
835(define-flags ServerOperationCreateTableFlag
836  (in-module "Gda")
837  (c-name "GdaServerOperationCreateTableFlag")
838  (gtype-id "GDA_TYPE_SERVER_OPERATION_CREATE_TABLE_FLAG")
839  (values
840    '("nothing-flag" "GDA_SERVER_OPERATION_CREATE_TABLE_NOTHING_FLAG")
841    '("pkey-flag" "GDA_SERVER_OPERATION_CREATE_TABLE_PKEY_FLAG")
842    '("not-null-flag" "GDA_SERVER_OPERATION_CREATE_TABLE_NOT_NULL_FLAG")
843    '("unique-flag" "GDA_SERVER_OPERATION_CREATE_TABLE_UNIQUE_FLAG")
844    '("autoinc-flag" "GDA_SERVER_OPERATION_CREATE_TABLE_AUTOINC_FLAG")
845    '("fkey-flag" "GDA_SERVER_OPERATION_CREATE_TABLE_FKEY_FLAG")
846    '("pkey-autoinc-flag" "GDA_SERVER_OPERATION_CREATE_TABLE_PKEY_AUTOINC_FLAG")
847  )
848)
849
850(define-enum ServerOperationNodeType
851  (in-module "Gda")
852  (c-name "GdaServerOperationNodeType")
853  (gtype-id "GDA_TYPE_SERVER_OPERATION_NODE_TYPE")
854  (values
855    '("paramlist" "GDA_SERVER_OPERATION_NODE_PARAMLIST")
856    '("data-model" "GDA_SERVER_OPERATION_NODE_DATA_MODEL")
857    '("param" "GDA_SERVER_OPERATION_NODE_PARAM")
858    '("sequence" "GDA_SERVER_OPERATION_NODE_SEQUENCE")
859    '("sequence-item" "GDA_SERVER_OPERATION_NODE_SEQUENCE_ITEM")
860    '("data-model-column" "GDA_SERVER_OPERATION_NODE_DATA_MODEL_COLUMN")
861    '("unknown" "GDA_SERVER_OPERATION_NODE_UNKNOWN")
862  )
863)
864
865(define-enum ServerOperationNodeStatus
866  (in-module "Gda")
867  (c-name "GdaServerOperationNodeStatus")
868  (gtype-id "GDA_TYPE_SERVER_OPERATION_NODE_STATUS")
869  (values
870    '("optional" "GDA_SERVER_OPERATION_STATUS_OPTIONAL")
871    '("required" "GDA_SERVER_OPERATION_STATUS_REQUIRED")
872    '("unknown" "GDA_SERVER_OPERATION_STATUS_UNKNOWN")
873  )
874)
875
876(define-enum ServerProviderError
877  (in-module "Gda")
878  (c-name "GdaServerProviderError")
879  (gtype-id "GDA_TYPE_SERVER_PROVIDER_ERROR")
880  (values
881    '("method-non-implemented-error" "GDA_SERVER_PROVIDER_METHOD_NON_IMPLEMENTED_ERROR")
882    '("prepare-stmt-error" "GDA_SERVER_PROVIDER_PREPARE_STMT_ERROR")
883    '("empty-stmt-error" "GDA_SERVER_PROVIDER_EMPTY_STMT_ERROR")
884    '("missing-param-error" "GDA_SERVER_PROVIDER_MISSING_PARAM_ERROR")
885    '("statement-exec-error" "GDA_SERVER_PROVIDER_STATEMENT_EXEC_ERROR")
886    '("operation-error" "GDA_SERVER_PROVIDER_OPERATION_ERROR")
887    '("internal-error" "GDA_SERVER_PROVIDER_INTERNAL_ERROR")
888    '("busy-error" "GDA_SERVER_PROVIDER_BUSY_ERROR")
889    '("non-supported-error" "GDA_SERVER_PROVIDER_NON_SUPPORTED_ERROR")
890    '("server-version-error" "GDA_SERVER_PROVIDER_SERVER_VERSION_ERROR")
891    '("data-error" "GDA_SERVER_PROVIDER_DATA_ERROR")
892    '("default-value-handling-error" "GDA_SERVER_PROVIDER_DEFAULT_VALUE_HANDLING_ERROR")
893    '("misuse-error" "GDA_SERVER_PROVIDER_MISUSE_ERROR")
894    '("file-not-found-error" "GDA_SERVER_PROVIDER_FILE_NOT_FOUND_ERROR")
895  )
896)
897
898(define-enum SetError
899  (in-module "Gda")
900  (c-name "GdaSetError")
901  (gtype-id "GDA_TYPE_SET_ERROR")
902  (values
903    '("xml-spec-error" "GDA_SET_XML_SPEC_ERROR")
904    '("holder-not-found-error" "GDA_SET_HOLDER_NOT_FOUND_ERROR")
905    '("invalid-error" "GDA_SET_INVALID_ERROR")
906    '("read-only-error" "GDA_SET_READ_ONLY_ERROR")
907    '("implementation-error" "GDA_SET_IMPLEMENTATION_ERROR")
908  )
909)
910
911(define-enum SqlBuilderError
912  (in-module "Gda")
913  (c-name "GdaSqlBuilderError")
914  (gtype-id "GDA_TYPE_SQL_BUILDER_ERROR")
915  (values
916    '("wrong-type-error" "GDA_SQL_BUILDER_WRONG_TYPE_ERROR")
917    '("misuse-error" "GDA_SQL_BUILDER_MISUSE_ERROR")
918  )
919)
920
921(define-enum StatementError
922  (in-module "Gda")
923  (c-name "GdaStatementError")
924  (gtype-id "GDA_TYPE_STATEMENT_ERROR")
925  (values
926    '("parse-error" "GDA_STATEMENT_PARSE_ERROR")
927    '("syntax-error" "GDA_STATEMENT_SYNTAX_ERROR")
928    '("no-cnc-error" "GDA_STATEMENT_NO_CNC_ERROR")
929    '("cnc-closed-error" "GDA_STATEMENT_CNC_CLOSED_ERROR")
930    '("exec-error" "GDA_STATEMENT_EXEC_ERROR")
931    '("param-type-error" "GDA_STATEMENT_PARAM_TYPE_ERROR")
932    '("param-error" "GDA_STATEMENT_PARAM_ERROR")
933  )
934)
935
936(define-flags StatementModelUsage
937  (in-module "Gda")
938  (c-name "GdaStatementModelUsage")
939  (gtype-id "GDA_TYPE_STATEMENT_MODEL_USAGE")
940  (values
941    '("random-access" "GDA_STATEMENT_MODEL_RANDOM_ACCESS")
942    '("cursor-forward" "GDA_STATEMENT_MODEL_CURSOR_FORWARD")
943    '("cursor-backward" "GDA_STATEMENT_MODEL_CURSOR_BACKWARD")
944    '("cursor" "GDA_STATEMENT_MODEL_CURSOR")
945    '("allow-noparam" "GDA_STATEMENT_MODEL_ALLOW_NOPARAM")
946  )
947)
948
949(define-flags StatementSqlFlag
950  (in-module "Gda")
951  (c-name "GdaStatementSqlFlag")
952  (gtype-id "GDA_TYPE_STATEMENT_SQL_FLAG")
953  (values
954    '("params-as-values" "GDA_STATEMENT_SQL_PARAMS_AS_VALUES")
955    '("pretty" "GDA_STATEMENT_SQL_PRETTY")
956    '("params-long" "GDA_STATEMENT_SQL_PARAMS_LONG")
957    '("params-short" "GDA_STATEMENT_SQL_PARAMS_SHORT")
958    '("params-as-colon" "GDA_STATEMENT_SQL_PARAMS_AS_COLON")
959    '("params-as-dollar" "GDA_STATEMENT_SQL_PARAMS_AS_DOLLAR")
960    '("params-as-qmark" "GDA_STATEMENT_SQL_PARAMS_AS_QMARK")
961    '("params-as-uqmark" "GDA_STATEMENT_SQL_PARAMS_AS_UQMARK")
962  )
963)
964
965(define-enum TransactionStatusEventType
966  (in-module "Gda")
967  (c-name "GdaTransactionStatusEventType")
968  (gtype-id "GDA_TYPE_TRANSACTION_STATUS_EVENT_TYPE")
969  (values
970    '("savepoint" "GDA_TRANSACTION_STATUS_EVENT_SAVEPOINT")
971    '("sql" "GDA_TRANSACTION_STATUS_EVENT_SQL")
972    '("sub-transaction" "GDA_TRANSACTION_STATUS_EVENT_SUB_TRANSACTION")
973  )
974)
975
976(define-enum TransactionStatusState
977  (in-module "Gda")
978  (c-name "GdaTransactionStatusState")
979  (gtype-id "GDA_TYPE_TRANSACTION_STATUS_STATE")
980  (values
981    '("ok" "GDA_TRANSACTION_STATUS_STATE_OK")
982    '("failed" "GDA_TRANSACTION_STATUS_STATE_FAILED")
983  )
984)
985
986(define-enum TreeError
987  (in-module "Gda")
988  (c-name "GdaTreeError")
989  (gtype-id "GDA_TYPE_TREE_ERROR")
990  (values
991    '("error" "GDA_TREE_UNKNOWN_ERROR")
992  )
993)
994
995(define-enum TreeManagerError
996  (in-module "Gda")
997  (c-name "GdaTreeManagerError")
998  (gtype-id "GDA_TYPE_TREE_MANAGER_ERROR")
999  (values
1000    '("error" "GDA_TREE_MANAGER_UNKNOWN_ERROR")
1001  )
1002)
1003
1004(define-enum TreeNodeError
1005  (in-module "Gda")
1006  (c-name "GdaTreeNodeError")
1007  (gtype-id "GDA_TYPE_TREE_NODE_ERROR")
1008  (values
1009    '("error" "GDA_TREE_NODE_UNKNOWN_ERROR")
1010  )
1011)
1012
1013(define-enum XaTransactionError
1014  (in-module "Gda")
1015  (c-name "GdaXaTransactionError")
1016  (gtype-id "GDA_TYPE_XA_TRANSACTION_ERROR")
1017  (values
1018    '("already-registered-error" "GDA_XA_TRANSACTION_ALREADY_REGISTERED_ERROR")
1019    '("dtp-not-supported-error" "GDA_XA_TRANSACTION_DTP_NOT_SUPPORTED_ERROR")
1020    '("connection-branch-length-error" "GDA_XA_TRANSACTION_CONNECTION_BRANCH_LENGTH_ERROR")
1021  )
1022)
1023
1024(define-enum SqlParserError
1025  (in-module "Gda")
1026  (c-name "GdaSqlParserError")
1027  (gtype-id "GDA_TYPE_SQL_PARSER_ERROR")
1028  (values
1029    '("syntax-error" "GDA_SQL_PARSER_SYNTAX_ERROR")
1030    '("overflow-error" "GDA_SQL_PARSER_OVERFLOW_ERROR")
1031    '("empty-sql-error" "GDA_SQL_PARSER_EMPTY_SQL_ERROR")
1032  )
1033)
1034
1035(define-enum SqlParserMode
1036  (in-module "Gda")
1037  (c-name "GdaSqlParserMode")
1038  (gtype-id "GDA_TYPE_SQL_PARSER_MODE")
1039  (values
1040    '("parse" "GDA_SQL_PARSER_MODE_PARSE")
1041    '("delimit" "GDA_SQL_PARSER_MODE_DELIMIT")
1042  )
1043)
1044
1045(define-enum SqlParserFlavour
1046  (in-module "Gda")
1047  (c-name "GdaSqlParserFlavour")
1048  (gtype-id "GDA_TYPE_SQL_PARSER_FLAVOUR")
1049  (values
1050    '("standard" "GDA_SQL_PARSER_FLAVOUR_STANDARD")
1051    '("sqlite" "GDA_SQL_PARSER_FLAVOUR_SQLITE")
1052    '("mysql" "GDA_SQL_PARSER_FLAVOUR_MYSQL")
1053    '("oracle" "GDA_SQL_PARSER_FLAVOUR_ORACLE")
1054    '("postgresql" "GDA_SQL_PARSER_FLAVOUR_POSTGRESQL")
1055  )
1056)
1057
1058(define-enum SqlStatementCompoundType
1059  (in-module "Gda")
1060  (c-name "GdaSqlStatementCompoundType")
1061  (gtype-id "GDA_TYPE_SQL_STATEMENT_COMPOUND_TYPE")
1062  (values
1063    '("union" "GDA_SQL_STATEMENT_COMPOUND_UNION")
1064    '("union-all" "GDA_SQL_STATEMENT_COMPOUND_UNION_ALL")
1065    '("intersect" "GDA_SQL_STATEMENT_COMPOUND_INTERSECT")
1066    '("intersect-all" "GDA_SQL_STATEMENT_COMPOUND_INTERSECT_ALL")
1067    '("except" "GDA_SQL_STATEMENT_COMPOUND_EXCEPT")
1068    '("except-all" "GDA_SQL_STATEMENT_COMPOUND_EXCEPT_ALL")
1069  )
1070)
1071
1072(define-enum SqlError
1073  (in-module "Gda")
1074  (c-name "GdaSqlError")
1075  (gtype-id "GDA_TYPE_SQL_ERROR")
1076  (values
1077    '("structure-contents-error" "GDA_SQL_STRUCTURE_CONTENTS_ERROR")
1078    '("malformed-identifier-error" "GDA_SQL_MALFORMED_IDENTIFIER_ERROR")
1079    '("missing-identifier-error" "GDA_SQL_MISSING_IDENTIFIER_ERROR")
1080    '("validation-error" "GDA_SQL_VALIDATION_ERROR")
1081  )
1082)
1083
1084(define-enum SqlStatementType
1085  (in-module "Gda")
1086  (c-name "GdaSqlStatementType")
1087  (gtype-id "GDA_TYPE_SQL_STATEMENT_TYPE")
1088  (values
1089    '("select" "GDA_SQL_STATEMENT_SELECT")
1090    '("insert" "GDA_SQL_STATEMENT_INSERT")
1091    '("update" "GDA_SQL_STATEMENT_UPDATE")
1092    '("delete" "GDA_SQL_STATEMENT_DELETE")
1093    '("compound" "GDA_SQL_STATEMENT_COMPOUND")
1094    '("begin" "GDA_SQL_STATEMENT_BEGIN")
1095    '("rollback" "GDA_SQL_STATEMENT_ROLLBACK")
1096    '("commit" "GDA_SQL_STATEMENT_COMMIT")
1097    '("savepoint" "GDA_SQL_STATEMENT_SAVEPOINT")
1098    '("rollback-savepoint" "GDA_SQL_STATEMENT_ROLLBACK_SAVEPOINT")
1099    '("delete-savepoint" "GDA_SQL_STATEMENT_DELETE_SAVEPOINT")
1100    '("unknown" "GDA_SQL_STATEMENT_UNKNOWN")
1101    '("none" "GDA_SQL_STATEMENT_NONE")
1102  )
1103)
1104
1105(define-enum SqlAnyPartType
1106  (in-module "Gda")
1107  (c-name "GdaSqlAnyPartType")
1108  (gtype-id "GDA_TYPE_SQL_ANY_PART_TYPE")
1109  (values
1110    '("stmt-select" "GDA_SQL_ANY_STMT_SELECT")
1111    '("stmt-insert" "GDA_SQL_ANY_STMT_INSERT")
1112    '("stmt-update" "GDA_SQL_ANY_STMT_UPDATE")
1113    '("stmt-delete" "GDA_SQL_ANY_STMT_DELETE")
1114    '("stmt-compound" "GDA_SQL_ANY_STMT_COMPOUND")
1115    '("stmt-begin" "GDA_SQL_ANY_STMT_BEGIN")
1116    '("stmt-rollback" "GDA_SQL_ANY_STMT_ROLLBACK")
1117    '("stmt-commit" "GDA_SQL_ANY_STMT_COMMIT")
1118    '("stmt-savepoint" "GDA_SQL_ANY_STMT_SAVEPOINT")
1119    '("stmt-rollback-savepoint" "GDA_SQL_ANY_STMT_ROLLBACK_SAVEPOINT")
1120    '("stmt-delete-savepoint" "GDA_SQL_ANY_STMT_DELETE_SAVEPOINT")
1121    '("stmt-unknown" "GDA_SQL_ANY_STMT_UNKNOWN")
1122    '("expr" "GDA_SQL_ANY_EXPR")
1123    '("sql-field" "GDA_SQL_ANY_SQL_FIELD")
1124    '("sql-table" "GDA_SQL_ANY_SQL_TABLE")
1125    '("sql-function" "GDA_SQL_ANY_SQL_FUNCTION")
1126    '("sql-operation" "GDA_SQL_ANY_SQL_OPERATION")
1127    '("sql-case" "GDA_SQL_ANY_SQL_CASE")
1128    '("sql-select-field" "GDA_SQL_ANY_SQL_SELECT_FIELD")
1129    '("sql-select-target" "GDA_SQL_ANY_SQL_SELECT_TARGET")
1130    '("sql-select-join" "GDA_SQL_ANY_SQL_SELECT_JOIN")
1131    '("sql-select-from" "GDA_SQL_ANY_SQL_SELECT_FROM")
1132    '("sql-select-order" "GDA_SQL_ANY_SQL_SELECT_ORDER")
1133  )
1134)
1135
1136(define-enum SqlOperatorType
1137  (in-module "Gda")
1138  (c-name "GdaSqlOperatorType")
1139  (gtype-id "GDA_TYPE_SQL_OPERATOR_TYPE")
1140  (values
1141    '("and" "GDA_SQL_OPERATOR_TYPE_AND")
1142    '("or" "GDA_SQL_OPERATOR_TYPE_OR")
1143    '("eq" "GDA_SQL_OPERATOR_TYPE_EQ")
1144    '("is" "GDA_SQL_OPERATOR_TYPE_IS")
1145    '("like" "GDA_SQL_OPERATOR_TYPE_LIKE")
1146    '("between" "GDA_SQL_OPERATOR_TYPE_BETWEEN")
1147    '("gt" "GDA_SQL_OPERATOR_TYPE_GT")
1148    '("lt" "GDA_SQL_OPERATOR_TYPE_LT")
1149    '("geq" "GDA_SQL_OPERATOR_TYPE_GEQ")
1150    '("leq" "GDA_SQL_OPERATOR_TYPE_LEQ")
1151    '("diff" "GDA_SQL_OPERATOR_TYPE_DIFF")
1152    '("regexp" "GDA_SQL_OPERATOR_TYPE_REGEXP")
1153    '("regexp-ci" "GDA_SQL_OPERATOR_TYPE_REGEXP_CI")
1154    '("not-regexp" "GDA_SQL_OPERATOR_TYPE_NOT_REGEXP")
1155    '("not-regexp-ci" "GDA_SQL_OPERATOR_TYPE_NOT_REGEXP_CI")
1156    '("similar" "GDA_SQL_OPERATOR_TYPE_SIMILAR")
1157    '("isnull" "GDA_SQL_OPERATOR_TYPE_ISNULL")
1158    '("isnotnull" "GDA_SQL_OPERATOR_TYPE_ISNOTNULL")
1159    '("not" "GDA_SQL_OPERATOR_TYPE_NOT")
1160    '("in" "GDA_SQL_OPERATOR_TYPE_IN")
1161    '("notin" "GDA_SQL_OPERATOR_TYPE_NOTIN")
1162    '("concat" "GDA_SQL_OPERATOR_TYPE_CONCAT")
1163    '("plus" "GDA_SQL_OPERATOR_TYPE_PLUS")
1164    '("minus" "GDA_SQL_OPERATOR_TYPE_MINUS")
1165    '("star" "GDA_SQL_OPERATOR_TYPE_STAR")
1166    '("div" "GDA_SQL_OPERATOR_TYPE_DIV")
1167    '("rem" "GDA_SQL_OPERATOR_TYPE_REM")
1168    '("bitand" "GDA_SQL_OPERATOR_TYPE_BITAND")
1169    '("bitor" "GDA_SQL_OPERATOR_TYPE_BITOR")
1170    '("bitnot" "GDA_SQL_OPERATOR_TYPE_BITNOT")
1171    '("ilike" "GDA_SQL_OPERATOR_TYPE_ILIKE")
1172  )
1173)
1174
1175(define-enum SqlSelectJoinType
1176  (in-module "Gda")
1177  (c-name "GdaSqlSelectJoinType")
1178  (gtype-id "GDA_TYPE_SQL_SELECT_JOIN_TYPE")
1179  (values
1180    '("cross" "GDA_SQL_SELECT_JOIN_CROSS")
1181    '("natural" "GDA_SQL_SELECT_JOIN_NATURAL")
1182    '("inner" "GDA_SQL_SELECT_JOIN_INNER")
1183    '("left" "GDA_SQL_SELECT_JOIN_LEFT")
1184    '("right" "GDA_SQL_SELECT_JOIN_RIGHT")
1185    '("full" "GDA_SQL_SELECT_JOIN_FULL")
1186  )
1187)
1188
1189
1190;; From gda-attributes-manager.h
1191
1192(define-function gda_attributes_manager_new
1193  (c-name "gda_attributes_manager_new")
1194  (is-constructor-of "GdaAttributesManager")
1195  (return-type "GdaAttributesManager*")
1196  (parameters
1197    '("gboolean" "for_objects")
1198    '("GdaAttributesManagerSignal" "signal_func")
1199    '("gpointer" "signal_data")
1200  )
1201)
1202
1203(define-method free
1204  (of-object "GdaAttributesManager")
1205  (c-name "gda_attributes_manager_free")
1206  (return-type "none")
1207)
1208
1209(define-method set
1210  (of-object "GdaAttributesManager")
1211  (c-name "gda_attributes_manager_set")
1212  (return-type "none")
1213  (parameters
1214    '("gpointer" "ptr")
1215    '("const-gchar*" "att_name")
1216    '("const-GValue*" "value")
1217  )
1218)
1219
1220(define-method set_full
1221  (of-object "GdaAttributesManager")
1222  (c-name "gda_attributes_manager_set_full")
1223  (return-type "none")
1224  (parameters
1225    '("gpointer" "ptr")
1226    '("const-gchar*" "att_name")
1227    '("const-GValue*" "value")
1228    '("GDestroyNotify" "destroy")
1229  )
1230)
1231
1232(define-method get
1233  (of-object "GdaAttributesManager")
1234  (c-name "gda_attributes_manager_get")
1235  (return-type "const-GValue*")
1236  (parameters
1237    '("gpointer" "ptr")
1238    '("const-gchar*" "att_name")
1239  )
1240)
1241
1242(define-method copy
1243  (of-object "GdaAttributesManager")
1244  (c-name "gda_attributes_manager_copy")
1245  (return-type "none")
1246  (parameters
1247    '("gpointer*" "from")
1248    '("GdaAttributesManager*" "to_mgr")
1249    '("gpointer*" "to")
1250  )
1251)
1252
1253(define-method clear
1254  (of-object "GdaAttributesManager")
1255  (c-name "gda_attributes_manager_clear")
1256  (return-type "none")
1257  (parameters
1258    '("gpointer" "ptr")
1259  )
1260)
1261
1262(define-method foreach
1263  (of-object "GdaAttributesManager")
1264  (c-name "gda_attributes_manager_foreach")
1265  (return-type "none")
1266  (parameters
1267    '("gpointer" "ptr")
1268    '("GdaAttributesManagerFunc" "func")
1269    '("gpointer" "data")
1270  )
1271)
1272
1273
1274
1275;; From gda-batch.h
1276
1277(define-function gda_batch_get_type
1278  (c-name "gda_batch_get_type")
1279  (return-type "GType")
1280)
1281
1282(define-function gda_batch_new
1283  (c-name "gda_batch_new")
1284  (is-constructor-of "GdaBatch")
1285  (return-type "GdaBatch*")
1286)
1287
1288(define-method copy
1289  (of-object "GdaBatch")
1290  (c-name "gda_batch_copy")
1291  (return-type "GdaBatch*")
1292)
1293
1294(define-method add_statement
1295  (of-object "GdaBatch")
1296  (c-name "gda_batch_add_statement")
1297  (return-type "none")
1298  (parameters
1299    '("GdaStatement*" "stmt")
1300  )
1301)
1302
1303(define-method remove_statement
1304  (of-object "GdaBatch")
1305  (c-name "gda_batch_remove_statement")
1306  (return-type "none")
1307  (parameters
1308    '("GdaStatement*" "stmt")
1309  )
1310)
1311
1312(define-method serialize
1313  (of-object "GdaBatch")
1314  (c-name "gda_batch_serialize")
1315  (return-type "gchar*")
1316)
1317
1318(define-method get_statements
1319  (of-object "GdaBatch")
1320  (c-name "gda_batch_get_statements")
1321  (return-type "const-GSList*")
1322)
1323
1324(define-method get_parameters
1325  (of-object "GdaBatch")
1326  (c-name "gda_batch_get_parameters")
1327  (return-type "gboolean")
1328  (parameters
1329    '("GdaSet**" "out_params")
1330    '("GError**" "error")
1331  )
1332)
1333
1334
1335
1336;; From gda-binreloc.h
1337
1338(define-function gda_gbr_init
1339  (c-name "gda_gbr_init")
1340  (return-type "none")
1341)
1342
1343(define-function gda_gbr_get_file_path
1344  (c-name "gda_gbr_get_file_path")
1345  (return-type "gchar*")
1346  (parameters
1347    '("GdaPrefixDir" "where")
1348  )
1349  (varargs #t)
1350)
1351
1352
1353
1354;; From gda-blob-op.h
1355
1356(define-function gda_blob_op_get_type
1357  (c-name "gda_blob_op_get_type")
1358  (return-type "GType")
1359)
1360
1361(define-method get_length
1362  (of-object "GdaBlobOp")
1363  (c-name "gda_blob_op_get_length")
1364  (return-type "glong")
1365)
1366
1367(define-method read
1368  (of-object "GdaBlobOp")
1369  (c-name "gda_blob_op_read")
1370  (return-type "glong")
1371  (parameters
1372    '("GdaBlob*" "blob")
1373    '("glong" "offset")
1374    '("glong" "size")
1375  )
1376)
1377
1378(define-method read_all
1379  (of-object "GdaBlobOp")
1380  (c-name "gda_blob_op_read_all")
1381  (return-type "gboolean")
1382  (parameters
1383    '("GdaBlob*" "blob")
1384  )
1385)
1386
1387(define-method write
1388  (of-object "GdaBlobOp")
1389  (c-name "gda_blob_op_write")
1390  (return-type "glong")
1391  (parameters
1392    '("GdaBlob*" "blob")
1393    '("glong" "offset")
1394  )
1395)
1396
1397(define-method write_all
1398  (of-object "GdaBlobOp")
1399  (c-name "gda_blob_op_write_all")
1400  (return-type "gboolean")
1401  (parameters
1402    '("GdaBlob*" "blob")
1403  )
1404)
1405
1406
1407
1408;; From gda-column.h
1409
1410(define-function gda_column_get_type
1411  (c-name "gda_column_get_type")
1412  (return-type "GType")
1413)
1414
1415(define-function gda_column_new
1416  (c-name "gda_column_new")
1417  (is-constructor-of "GdaColumn")
1418  (return-type "GdaColumn*")
1419)
1420
1421(define-method copy
1422  (of-object "GdaColumn")
1423  (c-name "gda_column_copy")
1424  (return-type "GdaColumn*")
1425)
1426
1427(define-method get_description
1428  (of-object "GdaColumn")
1429  (c-name "gda_column_get_description")
1430  (return-type "const-gchar*")
1431)
1432
1433(define-method set_description
1434  (of-object "GdaColumn")
1435  (c-name "gda_column_set_description")
1436  (return-type "none")
1437  (parameters
1438    '("const-gchar*" "title")
1439  )
1440)
1441
1442(define-method get_name
1443  (of-object "GdaColumn")
1444  (c-name "gda_column_get_name")
1445  (return-type "const-gchar*")
1446)
1447
1448(define-method set_name
1449  (of-object "GdaColumn")
1450  (c-name "gda_column_set_name")
1451  (return-type "none")
1452  (parameters
1453    '("const-gchar*" "name")
1454  )
1455)
1456
1457(define-method get_dbms_type
1458  (of-object "GdaColumn")
1459  (c-name "gda_column_get_dbms_type")
1460  (return-type "const-gchar*")
1461)
1462
1463(define-method set_dbms_type
1464  (of-object "GdaColumn")
1465  (c-name "gda_column_set_dbms_type")
1466  (return-type "none")
1467  (parameters
1468    '("const-gchar*" "dbms_type")
1469  )
1470)
1471
1472(define-method get_g_type
1473  (of-object "GdaColumn")
1474  (c-name "gda_column_get_g_type")
1475  (return-type "GType")
1476)
1477
1478(define-method set_g_type
1479  (of-object "GdaColumn")
1480  (c-name "gda_column_set_g_type")
1481  (return-type "none")
1482  (parameters
1483    '("GType" "type")
1484  )
1485)
1486
1487(define-method get_allow_null
1488  (of-object "GdaColumn")
1489  (c-name "gda_column_get_allow_null")
1490  (return-type "gboolean")
1491)
1492
1493(define-method set_allow_null
1494  (of-object "GdaColumn")
1495  (c-name "gda_column_set_allow_null")
1496  (return-type "none")
1497  (parameters
1498    '("gboolean" "allow")
1499  )
1500)
1501
1502(define-method get_auto_increment
1503  (of-object "GdaColumn")
1504  (c-name "gda_column_get_auto_increment")
1505  (return-type "gboolean")
1506)
1507
1508(define-method set_auto_increment
1509  (of-object "GdaColumn")
1510  (c-name "gda_column_set_auto_increment")
1511  (return-type "none")
1512  (parameters
1513    '("gboolean" "is_auto")
1514  )
1515)
1516
1517(define-method get_position
1518  (of-object "GdaColumn")
1519  (c-name "gda_column_get_position")
1520  (return-type "gint")
1521)
1522
1523(define-method set_position
1524  (of-object "GdaColumn")
1525  (c-name "gda_column_set_position")
1526  (return-type "none")
1527  (parameters
1528    '("gint" "position")
1529  )
1530)
1531
1532(define-method get_default_value
1533  (of-object "GdaColumn")
1534  (c-name "gda_column_get_default_value")
1535  (return-type "const-GValue*")
1536)
1537
1538(define-method set_default_value
1539  (of-object "GdaColumn")
1540  (c-name "gda_column_set_default_value")
1541  (return-type "none")
1542  (parameters
1543    '("const-GValue*" "default_value")
1544  )
1545)
1546
1547(define-method get_attribute
1548  (of-object "GdaColumn")
1549  (c-name "gda_column_get_attribute")
1550  (return-type "const-GValue*")
1551  (parameters
1552    '("const-gchar*" "attribute")
1553  )
1554)
1555
1556(define-method set_attribute
1557  (of-object "GdaColumn")
1558  (c-name "gda_column_set_attribute")
1559  (return-type "none")
1560  (parameters
1561    '("const-gchar*" "attribute")
1562    '("const-GValue*" "value")
1563    '("GDestroyNotify" "destroy")
1564  )
1565)
1566
1567
1568
1569;; From gda-config.h
1570
1571(define-function gda_config_get_type
1572  (c-name "gda_config_get_type")
1573  (return-type "GType")
1574)
1575
1576(define-function gda_config_get
1577  (c-name "gda_config_get")
1578  (return-type "GdaConfig*")
1579)
1580
1581(define-function gda_config_get_dsn_info
1582  (c-name "gda_config_get_dsn_info")
1583  (return-type "GdaDsnInfo*")
1584  (parameters
1585    '("const-gchar*" "dsn_name")
1586  )
1587)
1588
1589(define-function gda_config_define_dsn
1590  (c-name "gda_config_define_dsn")
1591  (return-type "gboolean")
1592  (parameters
1593    '("const-GdaDsnInfo*" "info")
1594    '("GError**" "error")
1595  )
1596)
1597
1598(define-function gda_config_remove_dsn
1599  (c-name "gda_config_remove_dsn")
1600  (return-type "gboolean")
1601  (parameters
1602    '("const-gchar*" "dsn_name")
1603    '("GError**" "error")
1604  )
1605)
1606
1607(define-function gda_config_dsn_needs_authentication
1608  (c-name "gda_config_dsn_needs_authentication")
1609  (return-type "gboolean")
1610  (parameters
1611    '("const-gchar*" "dsn_name")
1612  )
1613)
1614
1615(define-function gda_config_list_dsn
1616  (c-name "gda_config_list_dsn")
1617  (return-type "GdaDataModel*")
1618)
1619
1620(define-function gda_config_can_modify_system_config
1621  (c-name "gda_config_can_modify_system_config")
1622  (return-type "gboolean")
1623)
1624
1625(define-function gda_config_get_nb_dsn
1626  (c-name "gda_config_get_nb_dsn")
1627  (return-type "gint")
1628)
1629
1630(define-function gda_config_get_dsn_info_index
1631  (c-name "gda_config_get_dsn_info_index")
1632  (return-type "gint")
1633  (parameters
1634    '("const-gchar*" "dsn_name")
1635  )
1636)
1637
1638(define-function gda_config_get_dsn_info_at_index
1639  (c-name "gda_config_get_dsn_info_at_index")
1640  (return-type "GdaDsnInfo*")
1641  (parameters
1642    '("gint" "index")
1643  )
1644)
1645
1646(define-function gda_config_get_provider_info
1647  (c-name "gda_config_get_provider_info")
1648  (return-type "GdaProviderInfo*")
1649  (parameters
1650    '("const-gchar*" "provider_name")
1651  )
1652)
1653
1654(define-function gda_config_get_provider
1655  (c-name "gda_config_get_provider")
1656  (return-type "GdaServerProvider*")
1657  (parameters
1658    '("const-gchar*" "provider_name")
1659    '("GError**" "error")
1660  )
1661)
1662
1663(define-function gda_config_list_providers
1664  (c-name "gda_config_list_providers")
1665  (return-type "GdaDataModel*")
1666)
1667
1668
1669
1670;; From gda-connection-event.h
1671
1672(define-function gda_connection_event_get_type
1673  (c-name "gda_connection_event_get_type")
1674  (return-type "GType")
1675)
1676
1677(define-method set_event_type
1678  (of-object "GdaConnectionEvent")
1679  (c-name "gda_connection_event_set_event_type")
1680  (return-type "none")
1681  (parameters
1682    '("GdaConnectionEventType" "type")
1683  )
1684)
1685
1686(define-method get_event_type
1687  (of-object "GdaConnectionEvent")
1688  (c-name "gda_connection_event_get_event_type")
1689  (return-type "GdaConnectionEventType")
1690)
1691
1692(define-method get_description
1693  (of-object "GdaConnectionEvent")
1694  (c-name "gda_connection_event_get_description")
1695  (return-type "const-gchar*")
1696)
1697
1698(define-method set_description
1699  (of-object "GdaConnectionEvent")
1700  (c-name "gda_connection_event_set_description")
1701  (return-type "none")
1702  (parameters
1703    '("const-gchar*" "description")
1704  )
1705)
1706
1707(define-method get_code
1708  (of-object "GdaConnectionEvent")
1709  (c-name "gda_connection_event_get_code")
1710  (return-type "glong")
1711)
1712
1713(define-method set_code
1714  (of-object "GdaConnectionEvent")
1715  (c-name "gda_connection_event_set_code")
1716  (return-type "none")
1717  (parameters
1718    '("glong" "code")
1719  )
1720)
1721
1722(define-method get_gda_code
1723  (of-object "GdaConnectionEvent")
1724  (c-name "gda_connection_event_get_gda_code")
1725  (return-type "GdaConnectionEventCode")
1726)
1727
1728(define-method set_gda_code
1729  (of-object "GdaConnectionEvent")
1730  (c-name "gda_connection_event_set_gda_code")
1731  (return-type "none")
1732  (parameters
1733    '("GdaConnectionEventCode" "code")
1734  )
1735)
1736
1737(define-method get_source
1738  (of-object "GdaConnectionEvent")
1739  (c-name "gda_connection_event_get_source")
1740  (return-type "const-gchar*")
1741)
1742
1743(define-method set_source
1744  (of-object "GdaConnectionEvent")
1745  (c-name "gda_connection_event_set_source")
1746  (return-type "none")
1747  (parameters
1748    '("const-gchar*" "source")
1749  )
1750)
1751
1752(define-method get_sqlstate
1753  (of-object "GdaConnectionEvent")
1754  (c-name "gda_connection_event_get_sqlstate")
1755  (return-type "const-gchar*")
1756)
1757
1758(define-method set_sqlstate
1759  (of-object "GdaConnectionEvent")
1760  (c-name "gda_connection_event_set_sqlstate")
1761  (return-type "none")
1762  (parameters
1763    '("const-gchar*" "sqlstate")
1764  )
1765)
1766
1767
1768
1769;; From gda-connection.h
1770
1771(define-function gda_connection_get_type
1772  (c-name "gda_connection_get_type")
1773  (return-type "GType")
1774)
1775
1776(define-function gda_connection_open_from_dsn
1777  (c-name "gda_connection_open_from_dsn")
1778  (return-type "GdaConnection*")
1779  (parameters
1780    '("const-gchar*" "dsn")
1781    '("const-gchar*" "auth_string")
1782    '("GdaConnectionOptions" "options")
1783    '("GError**" "error")
1784  )
1785)
1786
1787(define-function gda_connection_open_from_string
1788  (c-name "gda_connection_open_from_string")
1789  (return-type "GdaConnection*")
1790  (parameters
1791    '("const-gchar*" "provider_name")
1792    '("const-gchar*" "cnc_string")
1793    '("const-gchar*" "auth_string")
1794    '("GdaConnectionOptions" "options")
1795    '("GError**" "error")
1796  )
1797)
1798
1799(define-function gda_connection_new_from_dsn
1800  (c-name "gda_connection_new_from_dsn")
1801  (return-type "GdaConnection*")
1802  (parameters
1803    '("const-gchar*" "dsn")
1804    '("const-gchar*" "auth_string")
1805    '("GdaConnectionOptions" "options")
1806    '("GError**" "error")
1807  )
1808)
1809
1810(define-function gda_connection_new_from_string
1811  (c-name "gda_connection_new_from_string")
1812  (return-type "GdaConnection*")
1813  (parameters
1814    '("const-gchar*" "provider_name")
1815    '("const-gchar*" "cnc_string")
1816    '("const-gchar*" "auth_string")
1817    '("GdaConnectionOptions" "options")
1818    '("GError**" "error")
1819  )
1820)
1821
1822(define-method open
1823  (of-object "GdaConnection")
1824  (c-name "gda_connection_open")
1825  (return-type "gboolean")
1826  (parameters
1827    '("GError**" "error")
1828  )
1829)
1830
1831(define-method close
1832  (of-object "GdaConnection")
1833  (c-name "gda_connection_close")
1834  (return-type "none")
1835)
1836
1837(define-method close_no_warning
1838  (of-object "GdaConnection")
1839  (c-name "gda_connection_close_no_warning")
1840  (return-type "none")
1841)
1842
1843(define-method is_opened
1844  (of-object "GdaConnection")
1845  (c-name "gda_connection_is_opened")
1846  (return-type "gboolean")
1847)
1848
1849(define-method get_options
1850  (of-object "GdaConnection")
1851  (c-name "gda_connection_get_options")
1852  (return-type "GdaConnectionOptions")
1853)
1854
1855(define-method get_provider
1856  (of-object "GdaConnection")
1857  (c-name "gda_connection_get_provider")
1858  (return-type "GdaServerProvider*")
1859)
1860
1861(define-method get_provider_name
1862  (of-object "GdaConnection")
1863  (c-name "gda_connection_get_provider_name")
1864  (return-type "const-gchar*")
1865)
1866
1867(define-method create_operation
1868  (of-object "GdaConnection")
1869  (c-name "gda_connection_create_operation")
1870  (return-type "GdaServerOperation*")
1871  (parameters
1872    '("GdaServerOperationType" "type")
1873    '("GdaSet*" "options")
1874    '("GError**" "error")
1875  )
1876)
1877
1878(define-method perform_operation
1879  (of-object "GdaConnection")
1880  (c-name "gda_connection_perform_operation")
1881  (return-type "gboolean")
1882  (parameters
1883    '("GdaServerOperation*" "op")
1884    '("GError**" "error")
1885  )
1886)
1887
1888(define-method get_dsn
1889  (of-object "GdaConnection")
1890  (c-name "gda_connection_get_dsn")
1891  (return-type "const-gchar*")
1892)
1893
1894(define-method get_cnc_string
1895  (of-object "GdaConnection")
1896  (c-name "gda_connection_get_cnc_string")
1897  (return-type "const-gchar*")
1898)
1899
1900(define-method get_authentication
1901  (of-object "GdaConnection")
1902  (c-name "gda_connection_get_authentication")
1903  (return-type "const-gchar*")
1904)
1905
1906(define-method parse_sql_string
1907  (of-object "GdaConnection")
1908  (c-name "gda_connection_parse_sql_string")
1909  (return-type "GdaStatement*")
1910  (parameters
1911    '("const-gchar*" "sql")
1912    '("GdaSet**" "params")
1913    '("GError**" "error")
1914  )
1915)
1916
1917(define-method execute_select_command
1918  (of-object "GdaConnection")
1919  (c-name "gda_connection_execute_select_command")
1920  (return-type "GdaDataModel*")
1921  (parameters
1922    '("const-gchar*" "sql")
1923    '("GError**" "error")
1924  )
1925)
1926
1927(define-method execute_non_select_command
1928  (of-object "GdaConnection")
1929  (c-name "gda_connection_execute_non_select_command")
1930  (return-type "gint")
1931  (parameters
1932    '("const-gchar*" "sql")
1933    '("GError**" "error")
1934  )
1935)
1936
1937(define-method insert_row_into_table
1938  (of-object "GdaConnection")
1939  (c-name "gda_connection_insert_row_into_table")
1940  (return-type "gboolean")
1941  (parameters
1942    '("const-gchar*" "table")
1943    '("GError**" "error")
1944  )
1945  (varargs #t)
1946)
1947
1948(define-method insert_row_into_table_v
1949  (of-object "GdaConnection")
1950  (c-name "gda_connection_insert_row_into_table_v")
1951  (return-type "gboolean")
1952  (parameters
1953    '("const-gchar*" "table")
1954    '("GSList*" "col_names")
1955    '("GSList*" "values")
1956    '("GError**" "error")
1957  )
1958)
1959
1960(define-method update_row_in_table
1961  (of-object "GdaConnection")
1962  (c-name "gda_connection_update_row_in_table")
1963  (return-type "gboolean")
1964  (parameters
1965    '("const-gchar*" "table")
1966    '("const-gchar*" "condition_column_name")
1967    '("GValue*" "condition_value")
1968    '("GError**" "error")
1969  )
1970  (varargs #t)
1971)
1972
1973(define-method update_row_in_table_v
1974  (of-object "GdaConnection")
1975  (c-name "gda_connection_update_row_in_table_v")
1976  (return-type "gboolean")
1977  (parameters
1978    '("const-gchar*" "table")
1979    '("const-gchar*" "condition_column_name")
1980    '("GValue*" "condition_value")
1981    '("GSList*" "col_names")
1982    '("GSList*" "values")
1983    '("GError**" "error")
1984  )
1985)
1986
1987(define-method delete_row_from_table
1988  (of-object "GdaConnection")
1989  (c-name "gda_connection_delete_row_from_table")
1990  (return-type "gboolean")
1991  (parameters
1992    '("const-gchar*" "table")
1993    '("const-gchar*" "condition_column_name")
1994    '("GValue*" "condition_value")
1995    '("GError**" "error")
1996  )
1997)
1998
1999(define-method get_events
2000  (of-object "GdaConnection")
2001  (c-name "gda_connection_get_events")
2002  (return-type "const-GList*")
2003)
2004
2005(define-method create_parser
2006  (of-object "GdaConnection")
2007  (c-name "gda_connection_create_parser")
2008  (return-type "GdaSqlParser*")
2009)
2010
2011(define-method batch_execute
2012  (of-object "GdaConnection")
2013  (c-name "gda_connection_batch_execute")
2014  (return-type "GSList*")
2015  (parameters
2016    '("GdaBatch*" "batch")
2017    '("GdaSet*" "params")
2018    '("GdaStatementModelUsage" "model_usage")
2019    '("GError**" "error")
2020  )
2021)
2022
2023(define-method quote_sql_identifier
2024  (of-object "GdaConnection")
2025  (c-name "gda_connection_quote_sql_identifier")
2026  (return-type "gchar*")
2027  (parameters
2028    '("const-gchar*" "id")
2029  )
2030)
2031
2032(define-method statement_to_sql
2033  (of-object "GdaConnection")
2034  (c-name "gda_connection_statement_to_sql")
2035  (return-type "gchar*")
2036  (parameters
2037    '("GdaStatement*" "stmt")
2038    '("GdaSet*" "params")
2039    '("GdaStatementSqlFlag" "flags")
2040    '("GSList**" "params_used")
2041    '("GError**" "error")
2042  )
2043)
2044
2045(define-method statement_prepare
2046  (of-object "GdaConnection")
2047  (c-name "gda_connection_statement_prepare")
2048  (return-type "gboolean")
2049  (parameters
2050    '("GdaStatement*" "stmt")
2051    '("GError**" "error")
2052  )
2053)
2054
2055(define-method statement_execute
2056  (of-object "GdaConnection")
2057  (c-name "gda_connection_statement_execute")
2058  (return-type "GObject*")
2059  (parameters
2060    '("GdaStatement*" "stmt")
2061    '("GdaSet*" "params")
2062    '("GdaStatementModelUsage" "model_usage")
2063    '("GdaSet**" "last_insert_row")
2064    '("GError**" "error")
2065  )
2066)
2067
2068(define-method statement_execute_select
2069  (of-object "GdaConnection")
2070  (c-name "gda_connection_statement_execute_select")
2071  (return-type "GdaDataModel*")
2072  (parameters
2073    '("GdaStatement*" "stmt")
2074    '("GdaSet*" "params")
2075    '("GError**" "error")
2076  )
2077)
2078
2079(define-method statement_execute_select_fullv
2080  (of-object "GdaConnection")
2081  (c-name "gda_connection_statement_execute_select_fullv")
2082  (return-type "GdaDataModel*")
2083  (parameters
2084    '("GdaStatement*" "stmt")
2085    '("GdaSet*" "params")
2086    '("GdaStatementModelUsage" "model_usage")
2087    '("GError**" "error")
2088  )
2089  (varargs #t)
2090)
2091
2092(define-method statement_execute_select_full
2093  (of-object "GdaConnection")
2094  (c-name "gda_connection_statement_execute_select_full")
2095  (return-type "GdaDataModel*")
2096  (parameters
2097    '("GdaStatement*" "stmt")
2098    '("GdaSet*" "params")
2099    '("GdaStatementModelUsage" "model_usage")
2100    '("GType*" "col_types")
2101    '("GError**" "error")
2102  )
2103)
2104
2105(define-method statement_execute_non_select
2106  (of-object "GdaConnection")
2107  (c-name "gda_connection_statement_execute_non_select")
2108  (return-type "gint")
2109  (parameters
2110    '("GdaStatement*" "stmt")
2111    '("GdaSet*" "params")
2112    '("GdaSet**" "last_insert_row")
2113    '("GError**" "error")
2114  )
2115)
2116
2117(define-method async_statement_execute
2118  (of-object "GdaConnection")
2119  (c-name "gda_connection_async_statement_execute")
2120  (return-type "guint")
2121  (parameters
2122    '("GdaStatement*" "stmt")
2123    '("GdaSet*" "params")
2124    '("GdaStatementModelUsage" "model_usage")
2125    '("GType*" "col_types")
2126    '("gboolean" "need_last_insert_row")
2127    '("GError**" "error")
2128  )
2129)
2130
2131(define-method async_fetch_result
2132  (of-object "GdaConnection")
2133  (c-name "gda_connection_async_fetch_result")
2134  (return-type "GObject*")
2135  (parameters
2136    '("guint" "task_id")
2137    '("GdaSet**" "last_insert_row")
2138    '("GError**" "error")
2139  )
2140)
2141
2142(define-method async_cancel
2143  (of-object "GdaConnection")
2144  (c-name "gda_connection_async_cancel")
2145  (return-type "gboolean")
2146  (parameters
2147    '("guint" "task_id")
2148    '("GError**" "error")
2149  )
2150)
2151
2152(define-method repetitive_statement_execute
2153  (of-object "GdaConnection")
2154  (c-name "gda_connection_repetitive_statement_execute")
2155  (return-type "GSList*")
2156  (parameters
2157    '("GdaRepetitiveStatement*" "rstmt")
2158    '("GdaStatementModelUsage" "model_usage")
2159    '("GType*" "col_types")
2160    '("gboolean" "stop_on_error")
2161    '("GError**" "error")
2162  )
2163)
2164
2165(define-method begin_transaction
2166  (of-object "GdaConnection")
2167  (c-name "gda_connection_begin_transaction")
2168  (return-type "gboolean")
2169  (parameters
2170    '("const-gchar*" "name")
2171    '("GdaTransactionIsolation" "level")
2172    '("GError**" "error")
2173  )
2174)
2175
2176(define-method commit_transaction
2177  (of-object "GdaConnection")
2178  (c-name "gda_connection_commit_transaction")
2179  (return-type "gboolean")
2180  (parameters
2181    '("const-gchar*" "name")
2182    '("GError**" "error")
2183  )
2184)
2185
2186(define-method rollback_transaction
2187  (of-object "GdaConnection")
2188  (c-name "gda_connection_rollback_transaction")
2189  (return-type "gboolean")
2190  (parameters
2191    '("const-gchar*" "name")
2192    '("GError**" "error")
2193  )
2194)
2195
2196(define-method add_savepoint
2197  (of-object "GdaConnection")
2198  (c-name "gda_connection_add_savepoint")
2199  (return-type "gboolean")
2200  (parameters
2201    '("const-gchar*" "name")
2202    '("GError**" "error")
2203  )
2204)
2205
2206(define-method rollback_savepoint
2207  (of-object "GdaConnection")
2208  (c-name "gda_connection_rollback_savepoint")
2209  (return-type "gboolean")
2210  (parameters
2211    '("const-gchar*" "name")
2212    '("GError**" "error")
2213  )
2214)
2215
2216(define-method delete_savepoint
2217  (of-object "GdaConnection")
2218  (c-name "gda_connection_delete_savepoint")
2219  (return-type "gboolean")
2220  (parameters
2221    '("const-gchar*" "name")
2222    '("GError**" "error")
2223  )
2224)
2225
2226(define-method get_transaction_status
2227  (of-object "GdaConnection")
2228  (c-name "gda_connection_get_transaction_status")
2229  (return-type "GdaTransactionStatus*")
2230)
2231
2232(define-method value_to_sql_string
2233  (of-object "GdaConnection")
2234  (c-name "gda_connection_value_to_sql_string")
2235  (return-type "gchar*")
2236  (parameters
2237    '("GValue*" "from")
2238  )
2239)
2240
2241(define-method supports_feature
2242  (of-object "GdaConnection")
2243  (c-name "gda_connection_supports_feature")
2244  (return-type "gboolean")
2245  (parameters
2246    '("GdaConnectionFeature" "feature")
2247  )
2248)
2249
2250(define-method get_meta_store
2251  (of-object "GdaConnection")
2252  (c-name "gda_connection_get_meta_store")
2253  (return-type "GdaMetaStore*")
2254)
2255
2256(define-method update_meta_store
2257  (of-object "GdaConnection")
2258  (c-name "gda_connection_update_meta_store")
2259  (return-type "gboolean")
2260  (parameters
2261    '("GdaMetaContext*" "context")
2262    '("GError**" "error")
2263  )
2264)
2265
2266(define-method get_meta_store_data
2267  (of-object "GdaConnection")
2268  (c-name "gda_connection_get_meta_store_data")
2269  (return-type "GdaDataModel*")
2270  (parameters
2271    '("GdaConnectionMetaType" "meta_type")
2272    '("GError**" "error")
2273    '("gint" "nb_filters")
2274  )
2275  (varargs #t)
2276)
2277
2278(define-method get_meta_store_data_v
2279  (of-object "GdaConnection")
2280  (c-name "gda_connection_get_meta_store_data_v")
2281  (return-type "GdaDataModel*")
2282  (parameters
2283    '("GdaConnectionMetaType" "meta_type")
2284    '("GList*" "filters")
2285    '("GError**" "error")
2286  )
2287)
2288
2289
2290
2291;; From gda-connection-private.h
2292
2293(define-method internal_set_provider_data
2294  (of-object "GdaConnection")
2295  (c-name "gda_connection_internal_set_provider_data")
2296  (return-type "none")
2297  (parameters
2298    '("gpointer" "data")
2299    '("GDestroyNotify" "destroy_func")
2300  )
2301)
2302
2303(define-method internal_get_provider_data
2304  (of-object "GdaConnection")
2305  (c-name "gda_connection_internal_get_provider_data")
2306  (return-type "gpointer")
2307)
2308
2309(define-method point_available_event
2310  (of-object "GdaConnection")
2311  (c-name "gda_connection_point_available_event")
2312  (return-type "GdaConnectionEvent*")
2313  (parameters
2314    '("GdaConnectionEventType" "type")
2315  )
2316)
2317
2318(define-method add_event
2319  (of-object "GdaConnection")
2320  (c-name "gda_connection_add_event")
2321  (return-type "none")
2322  (parameters
2323    '("GdaConnectionEvent*" "event")
2324  )
2325)
2326
2327(define-method add_event_string
2328  (of-object "GdaConnection")
2329  (c-name "gda_connection_add_event_string")
2330  (return-type "GdaConnectionEvent*")
2331  (parameters
2332    '("const-gchar*" "str")
2333  )
2334  (varargs #t)
2335)
2336
2337(define-method clear_events_list
2338  (of-object "GdaConnection")
2339  (c-name "gda_connection_clear_events_list")
2340  (return-type "none")
2341)
2342
2343(define-method internal_transaction_started
2344  (of-object "GdaConnection")
2345  (c-name "gda_connection_internal_transaction_started")
2346  (return-type "none")
2347  (parameters
2348    '("const-gchar*" "parent_trans")
2349    '("const-gchar*" "trans_name")
2350    '("GdaTransactionIsolation" "isol_level")
2351  )
2352)
2353
2354(define-method internal_transaction_rolledback
2355  (of-object "GdaConnection")
2356  (c-name "gda_connection_internal_transaction_rolledback")
2357  (return-type "none")
2358  (parameters
2359    '("const-gchar*" "trans_name")
2360  )
2361)
2362
2363(define-method internal_transaction_committed
2364  (of-object "GdaConnection")
2365  (c-name "gda_connection_internal_transaction_committed")
2366  (return-type "none")
2367  (parameters
2368    '("const-gchar*" "trans_name")
2369  )
2370)
2371
2372(define-method internal_statement_executed
2373  (of-object "GdaConnection")
2374  (c-name "gda_connection_internal_statement_executed")
2375  (return-type "none")
2376  (parameters
2377    '("GdaStatement*" "stmt")
2378    '("GdaSet*" "params")
2379    '("GdaConnectionEvent*" "error")
2380  )
2381)
2382
2383(define-method internal_savepoint_added
2384  (of-object "GdaConnection")
2385  (c-name "gda_connection_internal_savepoint_added")
2386  (return-type "none")
2387  (parameters
2388    '("const-gchar*" "parent_trans")
2389    '("const-gchar*" "svp_name")
2390  )
2391)
2392
2393(define-method internal_savepoint_rolledback
2394  (of-object "GdaConnection")
2395  (c-name "gda_connection_internal_savepoint_rolledback")
2396  (return-type "none")
2397  (parameters
2398    '("const-gchar*" "svp_name")
2399  )
2400)
2401
2402(define-method internal_savepoint_removed
2403  (of-object "GdaConnection")
2404  (c-name "gda_connection_internal_savepoint_removed")
2405  (return-type "none")
2406  (parameters
2407    '("const-gchar*" "svp_name")
2408  )
2409)
2410
2411(define-method internal_change_transaction_state
2412  (of-object "GdaConnection")
2413  (c-name "gda_connection_internal_change_transaction_state")
2414  (return-type "none")
2415  (parameters
2416    '("GdaTransactionStatusState" "newstate")
2417  )
2418)
2419
2420(define-method internal_reset_transaction_status
2421  (of-object "GdaConnection")
2422  (c-name "gda_connection_internal_reset_transaction_status")
2423  (return-type "none")
2424)
2425
2426(define-method add_prepared_statement
2427  (of-object "GdaConnection")
2428  (c-name "gda_connection_add_prepared_statement")
2429  (return-type "none")
2430  (parameters
2431    '("GdaStatement*" "gda_stmt")
2432    '("GdaPStmt*" "prepared_stmt")
2433  )
2434)
2435
2436(define-method del_prepared_statement
2437  (of-object "GdaConnection")
2438  (c-name "gda_connection_del_prepared_statement")
2439  (return-type "none")
2440  (parameters
2441    '("GdaStatement*" "gda_stmt")
2442  )
2443)
2444
2445(define-method get_prepared_statement
2446  (of-object "GdaConnection")
2447  (c-name "gda_connection_get_prepared_statement")
2448  (return-type "GdaPStmt*")
2449  (parameters
2450    '("GdaStatement*" "gda_stmt")
2451  )
2452)
2453
2454(define-function gda_connection_open_sqlite
2455  (c-name "gda_connection_open_sqlite")
2456  (return-type "GdaConnection*")
2457  (parameters
2458    '("const-gchar*" "directory")
2459    '("const-gchar*" "filename")
2460    '("gboolean" "auto_unlink")
2461  )
2462)
2463
2464
2465
2466;; From gda-data-access-wrapper.h
2467
2468(define-function gda_data_access_wrapper_get_type
2469  (c-name "gda_data_access_wrapper_get_type")
2470  (return-type "GType")
2471)
2472
2473(define-function gda_data_access_wrapper_new
2474  (c-name "gda_data_access_wrapper_new")
2475  (is-constructor-of "GdaDataAccessWrapper")
2476  (return-type "GdaDataModel*")
2477  (parameters
2478    '("GdaDataModel*" "model")
2479  )
2480)
2481
2482
2483
2484;; From gda-data-comparator.h
2485
2486(define-function gda_data_comparator_get_type
2487  (c-name "gda_data_comparator_get_type")
2488  (return-type "GType")
2489)
2490
2491(define-function gda_data_comparator_new
2492  (c-name "gda_data_comparator_new")
2493  (is-constructor-of "GdaDataComparator")
2494  (return-type "GObject*")
2495  (parameters
2496    '("GdaDataModel*" "old_model")
2497    '("GdaDataModel*" "new_model")
2498  )
2499)
2500
2501(define-method set_key_columns
2502  (of-object "GdaDataComparator")
2503  (c-name "gda_data_comparator_set_key_columns")
2504  (return-type "none")
2505  (parameters
2506    '("const-gint*" "col_numbers")
2507    '("gint" "nb_cols")
2508  )
2509)
2510
2511(define-method compute_diff
2512  (of-object "GdaDataComparator")
2513  (c-name "gda_data_comparator_compute_diff")
2514  (return-type "gboolean")
2515  (parameters
2516    '("GError**" "error")
2517  )
2518)
2519
2520(define-method get_n_diffs
2521  (of-object "GdaDataComparator")
2522  (c-name "gda_data_comparator_get_n_diffs")
2523  (return-type "gint")
2524)
2525
2526(define-method get_diff
2527  (of-object "GdaDataComparator")
2528  (c-name "gda_data_comparator_get_diff")
2529  (return-type "const-GdaDiff*")
2530  (parameters
2531    '("gint" "pos")
2532  )
2533)
2534
2535
2536
2537;; From gda-data-handler.h
2538
2539(define-function gda_data_handler_get_type
2540  (c-name "gda_data_handler_get_type")
2541  (return-type "GType")
2542)
2543
2544(define-method get_sql_from_value
2545  (of-object "GdaDataHandler")
2546  (c-name "gda_data_handler_get_sql_from_value")
2547  (return-type "gchar*")
2548  (parameters
2549    '("const-GValue*" "value")
2550  )
2551)
2552
2553(define-method get_str_from_value
2554  (of-object "GdaDataHandler")
2555  (c-name "gda_data_handler_get_str_from_value")
2556  (return-type "gchar*")
2557  (parameters
2558    '("const-GValue*" "value")
2559  )
2560)
2561
2562(define-method get_value_from_sql
2563  (of-object "GdaDataHandler")
2564  (c-name "gda_data_handler_get_value_from_sql")
2565  (return-type "GValue*")
2566  (parameters
2567    '("const-gchar*" "sql")
2568    '("GType" "type")
2569  )
2570)
2571
2572(define-method get_value_from_str
2573  (of-object "GdaDataHandler")
2574  (c-name "gda_data_handler_get_value_from_str")
2575  (return-type "GValue*")
2576  (parameters
2577    '("const-gchar*" "str")
2578    '("GType" "type")
2579  )
2580)
2581
2582(define-method get_sane_init_value
2583  (of-object "GdaDataHandler")
2584  (c-name "gda_data_handler_get_sane_init_value")
2585  (return-type "GValue*")
2586  (parameters
2587    '("GType" "type")
2588  )
2589)
2590
2591(define-method accepts_g_type
2592  (of-object "GdaDataHandler")
2593  (c-name "gda_data_handler_accepts_g_type")
2594  (return-type "gboolean")
2595  (parameters
2596    '("GType" "type")
2597  )
2598)
2599
2600(define-method get_descr
2601  (of-object "GdaDataHandler")
2602  (c-name "gda_data_handler_get_descr")
2603  (return-type "const-gchar*")
2604)
2605
2606(define-function gda_data_handler_get_default
2607  (c-name "gda_data_handler_get_default")
2608  (return-type "GdaDataHandler*")
2609  (parameters
2610    '("GType" "for_type")
2611  )
2612)
2613
2614
2615
2616;; From gda-data-model-array.h
2617
2618(define-function gda_data_model_array_get_type
2619  (c-name "gda_data_model_array_get_type")
2620  (return-type "GType")
2621)
2622
2623(define-function gda_data_model_array_new_with_g_types
2624  (c-name "gda_data_model_array_new_with_g_types")
2625  (return-type "GdaDataModel*")
2626  (parameters
2627    '("gint" "cols")
2628  )
2629  (varargs #t)
2630)
2631
2632(define-function gda_data_model_array_new_with_g_types_v
2633  (c-name "gda_data_model_array_new_with_g_types_v")
2634  (return-type "GdaDataModel*")
2635  (parameters
2636    '("gint" "cols")
2637    '("GType*" "types")
2638  )
2639)
2640
2641(define-function gda_data_model_array_new
2642  (c-name "gda_data_model_array_new")
2643  (is-constructor-of "GdaDataModelArray")
2644  (return-type "GdaDataModel*")
2645  (parameters
2646    '("gint" "cols")
2647  )
2648)
2649
2650(define-method array_copy_model
2651  (of-object "GdaDataModel")
2652  (c-name "gda_data_model_array_copy_model")
2653  (return-type "GdaDataModelArray*")
2654  (parameters
2655    '("GError**" "error")
2656  )
2657)
2658
2659(define-method get_row
2660  (of-object "GdaDataModelArray")
2661  (c-name "gda_data_model_array_get_row")
2662  (return-type "GdaRow*")
2663  (parameters
2664    '("gint" "row")
2665    '("GError**" "error")
2666  )
2667)
2668
2669(define-method set_n_columns
2670  (of-object "GdaDataModelArray")
2671  (c-name "gda_data_model_array_set_n_columns")
2672  (return-type "none")
2673  (parameters
2674    '("gint" "cols")
2675  )
2676)
2677
2678(define-method clear
2679  (of-object "GdaDataModelArray")
2680  (c-name "gda_data_model_array_clear")
2681  (return-type "none")
2682)
2683
2684
2685
2686;; From gda-data-model-bdb.h
2687
2688(define-function gda_data_model_bdb_get_type
2689  (c-name "gda_data_model_bdb_get_type")
2690  (return-type "GType")
2691)
2692
2693(define-function gda_data_model_bdb_new
2694  (c-name "gda_data_model_bdb_new")
2695  (is-constructor-of "GdaDataModelBdb")
2696  (return-type "GdaDataModel*")
2697  (parameters
2698    '("const-gchar*" "filename")
2699    '("const-gchar*" "db_name")
2700  )
2701)
2702
2703(define-method get_errors
2704  (of-object "GdaDataModelBdb")
2705  (c-name "gda_data_model_bdb_get_errors")
2706  (return-type "const-GSList*")
2707)
2708
2709(define-method clean_errors
2710  (of-object "GdaDataModelBdb")
2711  (c-name "gda_data_model_bdb_clean_errors")
2712  (return-type "none")
2713)
2714
2715
2716
2717;; From gda-data-model-dir.h
2718
2719(define-function gda_data_model_dir_get_type
2720  (c-name "gda_data_model_dir_get_type")
2721  (return-type "GType")
2722)
2723
2724(define-function gda_data_model_dir_new
2725  (c-name "gda_data_model_dir_new")
2726  (is-constructor-of "GdaDataModelDir")
2727  (return-type "GdaDataModel*")
2728  (parameters
2729    '("const-gchar*" "basedir")
2730  )
2731)
2732
2733(define-method get_errors
2734  (of-object "GdaDataModelDir")
2735  (c-name "gda_data_model_dir_get_errors")
2736  (return-type "const-GSList*")
2737)
2738
2739(define-method clean_errors
2740  (of-object "GdaDataModelDir")
2741  (c-name "gda_data_model_dir_clean_errors")
2742  (return-type "none")
2743)
2744
2745
2746
2747;; From gda-data-model-extra.h
2748
2749(define-method row_inserted
2750  (of-object "GdaDataModel")
2751  (c-name "gda_data_model_row_inserted")
2752  (return-type "none")
2753  (parameters
2754    '("gint" "row")
2755  )
2756)
2757
2758(define-method row_updated
2759  (of-object "GdaDataModel")
2760  (c-name "gda_data_model_row_updated")
2761  (return-type "none")
2762  (parameters
2763    '("gint" "row")
2764  )
2765)
2766
2767(define-method row_removed
2768  (of-object "GdaDataModel")
2769  (c-name "gda_data_model_row_removed")
2770  (return-type "none")
2771  (parameters
2772    '("gint" "row")
2773  )
2774)
2775
2776(define-method reset
2777  (of-object "GdaDataModel")
2778  (c-name "gda_data_model_reset")
2779  (return-type "none")
2780)
2781
2782
2783
2784;; From gda-data-model.h
2785
2786(define-function gda_data_model_get_type
2787  (c-name "gda_data_model_get_type")
2788  (return-type "GType")
2789)
2790
2791(define-method get_access_flags
2792  (of-object "GdaDataModel")
2793  (c-name "gda_data_model_get_access_flags")
2794  (return-type "GdaDataModelAccessFlags")
2795)
2796
2797(define-method get_n_rows
2798  (of-object "GdaDataModel")
2799  (c-name "gda_data_model_get_n_rows")
2800  (return-type "gint")
2801)
2802
2803(define-method get_n_columns
2804  (of-object "GdaDataModel")
2805  (c-name "gda_data_model_get_n_columns")
2806  (return-type "gint")
2807)
2808
2809(define-method describe_column
2810  (of-object "GdaDataModel")
2811  (c-name "gda_data_model_describe_column")
2812  (return-type "GdaColumn*")
2813  (parameters
2814    '("gint" "col")
2815  )
2816)
2817
2818(define-method get_column_index
2819  (of-object "GdaDataModel")
2820  (c-name "gda_data_model_get_column_index")
2821  (return-type "gint")
2822  (parameters
2823    '("const-gchar*" "name")
2824  )
2825)
2826
2827(define-method get_column_name
2828  (of-object "GdaDataModel")
2829  (c-name "gda_data_model_get_column_name")
2830  (return-type "const-gchar*")
2831  (parameters
2832    '("gint" "col")
2833  )
2834)
2835
2836(define-method set_column_name
2837  (of-object "GdaDataModel")
2838  (c-name "gda_data_model_set_column_name")
2839  (return-type "none")
2840  (parameters
2841    '("gint" "col")
2842    '("const-gchar*" "name")
2843  )
2844)
2845
2846(define-method get_column_title
2847  (of-object "GdaDataModel")
2848  (c-name "gda_data_model_get_column_title")
2849  (return-type "const-gchar*")
2850  (parameters
2851    '("gint" "col")
2852  )
2853)
2854
2855(define-method set_column_title
2856  (of-object "GdaDataModel")
2857  (c-name "gda_data_model_set_column_title")
2858  (return-type "none")
2859  (parameters
2860    '("gint" "col")
2861    '("const-gchar*" "title")
2862  )
2863)
2864
2865(define-method get_value_at
2866  (of-object "GdaDataModel")
2867  (c-name "gda_data_model_get_value_at")
2868  (return-type "const-GValue*")
2869  (parameters
2870    '("gint" "col")
2871    '("gint" "row")
2872    '("GError**" "error")
2873  )
2874)
2875
2876(define-method get_typed_value_at
2877  (of-object "GdaDataModel")
2878  (c-name "gda_data_model_get_typed_value_at")
2879  (return-type "const-GValue*")
2880  (parameters
2881    '("gint" "col")
2882    '("gint" "row")
2883    '("GType" "expected_type")
2884    '("gboolean" "nullok")
2885    '("GError**" "error")
2886  )
2887)
2888
2889(define-method get_attributes_at
2890  (of-object "GdaDataModel")
2891  (c-name "gda_data_model_get_attributes_at")
2892  (return-type "GdaValueAttribute")
2893  (parameters
2894    '("gint" "col")
2895    '("gint" "row")
2896  )
2897)
2898
2899(define-method create_iter
2900  (of-object "GdaDataModel")
2901  (c-name "gda_data_model_create_iter")
2902  (return-type "GdaDataModelIter*")
2903)
2904
2905(define-method freeze
2906  (of-object "GdaDataModel")
2907  (c-name "gda_data_model_freeze")
2908  (return-type "none")
2909)
2910
2911(define-method thaw
2912  (of-object "GdaDataModel")
2913  (c-name "gda_data_model_thaw")
2914  (return-type "none")
2915)
2916
2917(define-method set_value_at
2918  (of-object "GdaDataModel")
2919  (c-name "gda_data_model_set_value_at")
2920  (return-type "gboolean")
2921  (parameters
2922    '("gint" "col")
2923    '("gint" "row")
2924    '("const-GValue*" "value")
2925    '("GError**" "error")
2926  )
2927)
2928
2929(define-method set_values
2930  (of-object "GdaDataModel")
2931  (c-name "gda_data_model_set_values")
2932  (return-type "gboolean")
2933  (parameters
2934    '("gint" "row")
2935    '("GList*" "values")
2936    '("GError**" "error")
2937  )
2938)
2939
2940(define-method append_row
2941  (of-object "GdaDataModel")
2942  (c-name "gda_data_model_append_row")
2943  (return-type "gint")
2944  (parameters
2945    '("GError**" "error")
2946  )
2947)
2948
2949(define-method append_values
2950  (of-object "GdaDataModel")
2951  (c-name "gda_data_model_append_values")
2952  (return-type "gint")
2953  (parameters
2954    '("const-GList*" "values")
2955    '("GError**" "error")
2956  )
2957)
2958
2959(define-method remove_row
2960  (of-object "GdaDataModel")
2961  (c-name "gda_data_model_remove_row")
2962  (return-type "gboolean")
2963  (parameters
2964    '("gint" "row")
2965    '("GError**" "error")
2966  )
2967)
2968
2969(define-method get_row_from_values
2970  (of-object "GdaDataModel")
2971  (c-name "gda_data_model_get_row_from_values")
2972  (return-type "gint")
2973  (parameters
2974    '("GSList*" "values")
2975    '("gint*" "cols_index")
2976  )
2977)
2978
2979(define-method send_hint
2980  (of-object "GdaDataModel")
2981  (c-name "gda_data_model_send_hint")
2982  (return-type "none")
2983  (parameters
2984    '("GdaDataModelHint" "hint")
2985    '("const-GValue*" "hint_value")
2986  )
2987)
2988
2989(define-method get_exceptions
2990  (of-object "GdaDataModel")
2991  (c-name "gda_data_model_get_exceptions")
2992  (return-type "GError**")
2993)
2994
2995(define-method export_to_string
2996  (of-object "GdaDataModel")
2997  (c-name "gda_data_model_export_to_string")
2998  (return-type "gchar*")
2999  (parameters
3000    '("GdaDataModelIOFormat" "format")
3001    '("const-gint*" "cols")
3002    '("gint" "nb_cols")
3003    '("const-gint*" "rows")
3004    '("gint" "nb_rows")
3005    '("GdaSet*" "options")
3006  )
3007)
3008
3009(define-method export_to_file
3010  (of-object "GdaDataModel")
3011  (c-name "gda_data_model_export_to_file")
3012  (return-type "gboolean")
3013  (parameters
3014    '("GdaDataModelIOFormat" "format")
3015    '("const-gchar*" "file")
3016    '("const-gint*" "cols")
3017    '("gint" "nb_cols")
3018    '("const-gint*" "rows")
3019    '("gint" "nb_rows")
3020    '("GdaSet*" "options")
3021    '("GError**" "error")
3022  )
3023)
3024
3025(define-method import_from_model
3026  (of-object "GdaDataModel")
3027  (c-name "gda_data_model_import_from_model")
3028  (return-type "gboolean")
3029  (parameters
3030    '("GdaDataModel*" "from")
3031    '("gboolean" "overwrite")
3032    '("GHashTable*" "cols_trans")
3033    '("GError**" "error")
3034  )
3035)
3036
3037(define-method import_from_string
3038  (of-object "GdaDataModel")
3039  (c-name "gda_data_model_import_from_string")
3040  (return-type "gboolean")
3041  (parameters
3042    '("const-gchar*" "string")
3043    '("GHashTable*" "cols_trans")
3044    '("GdaSet*" "options")
3045    '("GError**" "error")
3046  )
3047)
3048
3049(define-method import_from_file
3050  (of-object "GdaDataModel")
3051  (c-name "gda_data_model_import_from_file")
3052  (return-type "gboolean")
3053  (parameters
3054    '("const-gchar*" "file")
3055    '("GHashTable*" "cols_trans")
3056    '("GdaSet*" "options")
3057    '("GError**" "error")
3058  )
3059)
3060
3061(define-method dump
3062  (of-object "GdaDataModel")
3063  (c-name "gda_data_model_dump")
3064  (return-type "none")
3065  (parameters
3066    '("FILE*" "to_stream")
3067  )
3068)
3069
3070(define-method dump_as_string
3071  (of-object "GdaDataModel")
3072  (c-name "gda_data_model_dump_as_string")
3073  (return-type "gchar*")
3074)
3075
3076
3077
3078;; From gda-data-model-import.h
3079
3080(define-function gda_data_model_import_get_type
3081  (c-name "gda_data_model_import_get_type")
3082  (return-type "GType")
3083)
3084
3085(define-function gda_data_model_import_new_file
3086  (c-name "gda_data_model_import_new_file")
3087  (return-type "GdaDataModel*")
3088  (parameters
3089    '("const-gchar*" "filename")
3090    '("gboolean" "random_access")
3091    '("GdaSet*" "options")
3092  )
3093)
3094
3095(define-function gda_data_model_import_new_mem
3096  (c-name "gda_data_model_import_new_mem")
3097  (return-type "GdaDataModel*")
3098  (parameters
3099    '("const-gchar*" "data")
3100    '("gboolean" "random_access")
3101    '("GdaSet*" "options")
3102  )
3103)
3104
3105(define-function gda_data_model_import_new_xml_node
3106  (c-name "gda_data_model_import_new_xml_node")
3107  (return-type "GdaDataModel*")
3108  (parameters
3109    '("xmlNodePtr" "node")
3110  )
3111)
3112
3113(define-method get_errors
3114  (of-object "GdaDataModelImport")
3115  (c-name "gda_data_model_import_get_errors")
3116  (return-type "GSList*")
3117)
3118
3119(define-method clean_errors
3120  (of-object "GdaDataModelImport")
3121  (c-name "gda_data_model_import_clean_errors")
3122  (return-type "none")
3123)
3124
3125
3126
3127;; From gda-data-model-iter-extra.h
3128
3129(define-method iter_move_to_row_default
3130  (of-object "GdaDataModel")
3131  (c-name "gda_data_model_iter_move_to_row_default")
3132  (return-type "gboolean")
3133  (parameters
3134    '("GdaDataModelIter*" "iter")
3135    '("gint" "row")
3136  )
3137)
3138
3139(define-method iter_move_next_default
3140  (of-object "GdaDataModel")
3141  (c-name "gda_data_model_iter_move_next_default")
3142  (return-type "gboolean")
3143  (parameters
3144    '("GdaDataModelIter*" "iter")
3145  )
3146)
3147
3148(define-method iter_move_prev_default
3149  (of-object "GdaDataModel")
3150  (c-name "gda_data_model_iter_move_prev_default")
3151  (return-type "gboolean")
3152  (parameters
3153    '("GdaDataModelIter*" "iter")
3154  )
3155)
3156
3157
3158
3159;; From gda-data-model-iter.h
3160
3161(define-function gda_data_model_iter_get_type
3162  (c-name "gda_data_model_iter_get_type")
3163  (return-type "GType")
3164)
3165
3166(define-method get_value_at
3167  (of-object "GdaDataModelIter")
3168  (c-name "gda_data_model_iter_get_value_at")
3169  (return-type "const-GValue*")
3170  (parameters
3171    '("gint" "col")
3172  )
3173)
3174
3175(define-method get_value_at_e
3176  (of-object "GdaDataModelIter")
3177  (c-name "gda_data_model_iter_get_value_at_e")
3178  (return-type "const-GValue*")
3179  (parameters
3180    '("gint" "col")
3181    '("GError**" "error")
3182  )
3183)
3184
3185(define-method get_value_for_field
3186  (of-object "GdaDataModelIter")
3187  (c-name "gda_data_model_iter_get_value_for_field")
3188  (return-type "const-GValue*")
3189  (parameters
3190    '("const-gchar*" "field_name")
3191  )
3192)
3193
3194(define-method set_value_at
3195  (of-object "GdaDataModelIter")
3196  (c-name "gda_data_model_iter_set_value_at")
3197  (return-type "gboolean")
3198  (parameters
3199    '("gint" "col")
3200    '("const-GValue*" "value")
3201    '("GError**" "error")
3202  )
3203)
3204
3205(define-method move_to_row
3206  (of-object "GdaDataModelIter")
3207  (c-name "gda_data_model_iter_move_to_row")
3208  (return-type "gboolean")
3209  (parameters
3210    '("gint" "row")
3211  )
3212)
3213
3214(define-method move_next
3215  (of-object "GdaDataModelIter")
3216  (c-name "gda_data_model_iter_move_next")
3217  (return-type "gboolean")
3218)
3219
3220(define-method move_prev
3221  (of-object "GdaDataModelIter")
3222  (c-name "gda_data_model_iter_move_prev")
3223  (return-type "gboolean")
3224)
3225
3226(define-method get_row
3227  (of-object "GdaDataModelIter")
3228  (c-name "gda_data_model_iter_get_row")
3229  (return-type "gint")
3230)
3231
3232(define-method invalidate_contents
3233  (of-object "GdaDataModelIter")
3234  (c-name "gda_data_model_iter_invalidate_contents")
3235  (return-type "none")
3236)
3237
3238(define-method is_valid
3239  (of-object "GdaDataModelIter")
3240  (c-name "gda_data_model_iter_is_valid")
3241  (return-type "gboolean")
3242)
3243
3244(define-method get_holder_for_field
3245  (of-object "GdaDataModelIter")
3246  (c-name "gda_data_model_iter_get_holder_for_field")
3247  (return-type "GdaHolder*")
3248  (parameters
3249    '("gint" "col")
3250  )
3251)
3252
3253
3254
3255;; From gda-data-model-ldap.h
3256
3257(define-function gda_data_model_ldap_get_type
3258  (c-name "gda_data_model_ldap_get_type")
3259  (return-type "GType")
3260)
3261
3262(define-function gda_data_model_ldap_new
3263  (c-name "gda_data_model_ldap_new")
3264  (is-constructor-of "GdaDataModelLdap")
3265  (return-type "GdaDataModel*")
3266  (parameters
3267    '("GdaConnection*" "cnc")
3268    '("const-gchar*" "base_dn")
3269    '("const-gchar*" "filter")
3270    '("const-gchar*" "attributes")
3271    '("GdaLdapSearchScope" "scope")
3272  )
3273)
3274
3275(define-function gda_data_model_ldap_compute_columns
3276  (c-name "gda_data_model_ldap_compute_columns")
3277  (return-type "GList*")
3278  (parameters
3279    '("GdaConnection*" "cnc")
3280    '("const-gchar*" "attributes")
3281  )
3282)
3283
3284
3285
3286;; From gda-data-model-private.h
3287
3288(define-method add_data_from_xml_node
3289  (of-object "GdaDataModel")
3290  (c-name "gda_data_model_add_data_from_xml_node")
3291  (return-type "gboolean")
3292  (parameters
3293    '("xmlNodePtr" "node")
3294    '("GError**" "error")
3295  )
3296)
3297
3298
3299
3300;; From gda-data-pivot.h
3301
3302(define-function gda_data_pivot_get_type
3303  (c-name "gda_data_pivot_get_type")
3304  (return-type "GType")
3305)
3306
3307(define-function gda_data_pivot_new
3308  (c-name "gda_data_pivot_new")
3309  (is-constructor-of "GdaDataPivot")
3310  (return-type "GdaDataModel*")
3311  (parameters
3312    '("GdaDataModel*" "model")
3313  )
3314)
3315
3316(define-method add_field
3317  (of-object "GdaDataPivot")
3318  (c-name "gda_data_pivot_add_field")
3319  (return-type "gboolean")
3320  (parameters
3321    '("GdaDataPivotFieldType" "field_type")
3322    '("const-gchar*" "field")
3323    '("const-gchar*" "alias")
3324    '("GError**" "error")
3325  )
3326)
3327
3328(define-method add_data
3329  (of-object "GdaDataPivot")
3330  (c-name "gda_data_pivot_add_data")
3331  (return-type "gboolean")
3332  (parameters
3333    '("GdaDataPivotAggregate" "aggregate_type")
3334    '("const-gchar*" "field")
3335    '("const-gchar*" "alias")
3336    '("GError**" "error")
3337  )
3338)
3339
3340(define-method populate
3341  (of-object "GdaDataPivot")
3342  (c-name "gda_data_pivot_populate")
3343  (return-type "gboolean")
3344  (parameters
3345    '("GError**" "error")
3346  )
3347)
3348
3349
3350
3351;; From gda-data-proxy.h
3352
3353(define-function gda_data_proxy_get_type
3354  (c-name "gda_data_proxy_get_type")
3355  (return-type "GType")
3356)
3357
3358(define-function gda_data_proxy_new
3359  (c-name "gda_data_proxy_new")
3360  (is-constructor-of "GdaDataProxy")
3361  (return-type "GObject*")
3362  (parameters
3363    '("GdaDataModel*" "model")
3364  )
3365)
3366
3367(define-method get_proxied_model
3368  (of-object "GdaDataProxy")
3369  (c-name "gda_data_proxy_get_proxied_model")
3370  (return-type "GdaDataModel*")
3371)
3372
3373(define-method get_proxied_model_n_cols
3374  (of-object "GdaDataProxy")
3375  (c-name "gda_data_proxy_get_proxied_model_n_cols")
3376  (return-type "gint")
3377)
3378
3379(define-method get_proxied_model_n_rows
3380  (of-object "GdaDataProxy")
3381  (c-name "gda_data_proxy_get_proxied_model_n_rows")
3382  (return-type "gint")
3383)
3384
3385(define-method is_read_only
3386  (of-object "GdaDataProxy")
3387  (c-name "gda_data_proxy_is_read_only")
3388  (return-type "gboolean")
3389)
3390
3391(define-method get_values
3392  (of-object "GdaDataProxy")
3393  (c-name "gda_data_proxy_get_values")
3394  (return-type "GSList*")
3395  (parameters
3396    '("gint" "proxy_row")
3397    '("gint*" "cols_index")
3398    '("gint" "n_cols")
3399  )
3400)
3401
3402(define-method get_value_attributes
3403  (of-object "GdaDataProxy")
3404  (c-name "gda_data_proxy_get_value_attributes")
3405  (return-type "GdaValueAttribute")
3406  (parameters
3407    '("gint" "proxy_row")
3408    '("gint" "col")
3409  )
3410)
3411
3412(define-method alter_value_attributes
3413  (of-object "GdaDataProxy")
3414  (c-name "gda_data_proxy_alter_value_attributes")
3415  (return-type "none")
3416  (parameters
3417    '("gint" "proxy_row")
3418    '("gint" "col")
3419    '("GdaValueAttribute" "alter_flags")
3420  )
3421)
3422
3423(define-method get_proxied_model_row
3424  (of-object "GdaDataProxy")
3425  (c-name "gda_data_proxy_get_proxied_model_row")
3426  (return-type "gint")
3427  (parameters
3428    '("gint" "proxy_row")
3429  )
3430)
3431
3432(define-method delete
3433  (of-object "GdaDataProxy")
3434  (c-name "gda_data_proxy_delete")
3435  (return-type "none")
3436  (parameters
3437    '("gint" "proxy_row")
3438  )
3439)
3440
3441(define-method undelete
3442  (of-object "GdaDataProxy")
3443  (c-name "gda_data_proxy_undelete")
3444  (return-type "none")
3445  (parameters
3446    '("gint" "proxy_row")
3447  )
3448)
3449
3450(define-method row_is_deleted
3451  (of-object "GdaDataProxy")
3452  (c-name "gda_data_proxy_row_is_deleted")
3453  (return-type "gboolean")
3454  (parameters
3455    '("gint" "proxy_row")
3456  )
3457)
3458
3459(define-method row_is_inserted
3460  (of-object "GdaDataProxy")
3461  (c-name "gda_data_proxy_row_is_inserted")
3462  (return-type "gboolean")
3463  (parameters
3464    '("gint" "proxy_row")
3465  )
3466)
3467
3468(define-method row_has_changed
3469  (of-object "GdaDataProxy")
3470  (c-name "gda_data_proxy_row_has_changed")
3471  (return-type "gboolean")
3472  (parameters
3473    '("gint" "proxy_row")
3474  )
3475)
3476
3477(define-method has_changed
3478  (of-object "GdaDataProxy")
3479  (c-name "gda_data_proxy_has_changed")
3480  (return-type "gboolean")
3481)
3482
3483(define-method get_n_new_rows
3484  (of-object "GdaDataProxy")
3485  (c-name "gda_data_proxy_get_n_new_rows")
3486  (return-type "gint")
3487)
3488
3489(define-method get_n_modified_rows
3490  (of-object "GdaDataProxy")
3491  (c-name "gda_data_proxy_get_n_modified_rows")
3492  (return-type "gint")
3493)
3494
3495(define-method apply_row_changes
3496  (of-object "GdaDataProxy")
3497  (c-name "gda_data_proxy_apply_row_changes")
3498  (return-type "gboolean")
3499  (parameters
3500    '("gint" "proxy_row")
3501    '("GError**" "error")
3502  )
3503)
3504
3505(define-method cancel_row_changes
3506  (of-object "GdaDataProxy")
3507  (c-name "gda_data_proxy_cancel_row_changes")
3508  (return-type "none")
3509  (parameters
3510    '("gint" "proxy_row")
3511    '("gint" "col")
3512  )
3513)
3514
3515(define-method apply_all_changes
3516  (of-object "GdaDataProxy")
3517  (c-name "gda_data_proxy_apply_all_changes")
3518  (return-type "gboolean")
3519  (parameters
3520    '("GError**" "error")
3521  )
3522)
3523
3524(define-method cancel_all_changes
3525  (of-object "GdaDataProxy")
3526  (c-name "gda_data_proxy_cancel_all_changes")
3527  (return-type "gboolean")
3528)
3529
3530(define-method set_sample_size
3531  (of-object "GdaDataProxy")
3532  (c-name "gda_data_proxy_set_sample_size")
3533  (return-type "none")
3534  (parameters
3535    '("gint" "sample_size")
3536  )
3537)
3538
3539(define-method get_sample_size
3540  (of-object "GdaDataProxy")
3541  (c-name "gda_data_proxy_get_sample_size")
3542  (return-type "gint")
3543)
3544
3545(define-method set_sample_start
3546  (of-object "GdaDataProxy")
3547  (c-name "gda_data_proxy_set_sample_start")
3548  (return-type "none")
3549  (parameters
3550    '("gint" "sample_start")
3551  )
3552)
3553
3554(define-method get_sample_start
3555  (of-object "GdaDataProxy")
3556  (c-name "gda_data_proxy_get_sample_start")
3557  (return-type "gint")
3558)
3559
3560(define-method get_sample_end
3561  (of-object "GdaDataProxy")
3562  (c-name "gda_data_proxy_get_sample_end")
3563  (return-type "gint")
3564)
3565
3566(define-method set_filter_expr
3567  (of-object "GdaDataProxy")
3568  (c-name "gda_data_proxy_set_filter_expr")
3569  (return-type "gboolean")
3570  (parameters
3571    '("const-gchar*" "filter_expr")
3572    '("GError**" "error")
3573  )
3574)
3575
3576(define-method get_filter_expr
3577  (of-object "GdaDataProxy")
3578  (c-name "gda_data_proxy_get_filter_expr")
3579  (return-type "const-gchar*")
3580)
3581
3582(define-method set_ordering_column
3583  (of-object "GdaDataProxy")
3584  (c-name "gda_data_proxy_set_ordering_column")
3585  (return-type "gboolean")
3586  (parameters
3587    '("gint" "col")
3588    '("GError**" "error")
3589  )
3590)
3591
3592(define-method get_filtered_n_rows
3593  (of-object "GdaDataProxy")
3594  (c-name "gda_data_proxy_get_filtered_n_rows")
3595  (return-type "gint")
3596)
3597
3598
3599
3600;; From gda-data-select.h
3601
3602(define-function gda_data_select_get_type
3603  (c-name "gda_data_select_get_type")
3604  (return-type "GType")
3605)
3606
3607(define-method set_row_selection_condition
3608  (of-object "GdaDataSelect")
3609  (c-name "gda_data_select_set_row_selection_condition")
3610  (return-type "gboolean")
3611  (parameters
3612    '("GdaSqlExpr*" "expr")
3613    '("GError**" "error")
3614  )
3615)
3616
3617(define-method set_row_selection_condition_sql
3618  (of-object "GdaDataSelect")
3619  (c-name "gda_data_select_set_row_selection_condition_sql")
3620  (return-type "gboolean")
3621  (parameters
3622    '("const-gchar*" "sql_where")
3623    '("GError**" "error")
3624  )
3625)
3626
3627(define-method compute_row_selection_condition
3628  (of-object "GdaDataSelect")
3629  (c-name "gda_data_select_compute_row_selection_condition")
3630  (return-type "gboolean")
3631  (parameters
3632    '("GError**" "error")
3633  )
3634)
3635
3636(define-method set_modification_statement
3637  (of-object "GdaDataSelect")
3638  (c-name "gda_data_select_set_modification_statement")
3639  (return-type "gboolean")
3640  (parameters
3641    '("GdaStatement*" "mod_stmt")
3642    '("GError**" "error")
3643  )
3644)
3645
3646(define-method set_modification_statement_sql
3647  (of-object "GdaDataSelect")
3648  (c-name "gda_data_select_set_modification_statement_sql")
3649  (return-type "gboolean")
3650  (parameters
3651    '("const-gchar*" "sql")
3652    '("GError**" "error")
3653  )
3654)
3655
3656(define-method compute_modification_statements
3657  (of-object "GdaDataSelect")
3658  (c-name "gda_data_select_compute_modification_statements")
3659  (return-type "gboolean")
3660  (parameters
3661    '("GError**" "error")
3662  )
3663)
3664
3665(define-method compute_modification_statements_ext
3666  (of-object "GdaDataSelect")
3667  (c-name "gda_data_select_compute_modification_statements_ext")
3668  (return-type "gboolean")
3669  (parameters
3670    '("GdaDataSelectConditionType" "cond_type")
3671    '("GError**" "error")
3672  )
3673)
3674
3675(define-method compute_columns_attributes
3676  (of-object "GdaDataSelect")
3677  (c-name "gda_data_select_compute_columns_attributes")
3678  (return-type "gboolean")
3679  (parameters
3680    '("GError**" "error")
3681  )
3682)
3683
3684(define-method get_connection
3685  (of-object "GdaDataSelect")
3686  (c-name "gda_data_select_get_connection")
3687  (return-type "GdaConnection*")
3688)
3689
3690(define-method rerun
3691  (of-object "GdaDataSelect")
3692  (c-name "gda_data_select_rerun")
3693  (return-type "gboolean")
3694  (parameters
3695    '("GError**" "error")
3696  )
3697)
3698
3699
3700
3701;; From gda-debug-macros.h
3702
3703
3704
3705;; From gda-decl.h
3706
3707
3708
3709;; From gda-enums.h
3710
3711
3712
3713;; From gda-enum-types.h
3714
3715(define-function gda_batch_error_get_type
3716  (c-name "gda_batch_error_get_type")
3717  (return-type "GType")
3718)
3719
3720(define-function gda_config_error_get_type
3721  (c-name "gda_config_error_get_type")
3722  (return-type "GType")
3723)
3724
3725(define-function gda_connection_event_type_get_type
3726  (c-name "gda_connection_event_type_get_type")
3727  (return-type "GType")
3728)
3729
3730(define-function gda_connection_event_code_get_type
3731  (c-name "gda_connection_event_code_get_type")
3732  (return-type "GType")
3733)
3734
3735(define-function gda_connection_error_get_type
3736  (c-name "gda_connection_error_get_type")
3737  (return-type "GType")
3738)
3739
3740(define-function gda_connection_options_get_type
3741  (c-name "gda_connection_options_get_type")
3742  (return-type "GType")
3743)
3744
3745(define-function gda_connection_feature_get_type
3746  (c-name "gda_connection_feature_get_type")
3747  (return-type "GType")
3748)
3749
3750(define-function gda_connection_meta_type_get_type
3751  (c-name "gda_connection_meta_type_get_type")
3752  (return-type "GType")
3753)
3754
3755(define-function gda_data_comparator_error_get_type
3756  (c-name "gda_data_comparator_error_get_type")
3757  (return-type "GType")
3758)
3759
3760(define-function gda_diff_type_get_type
3761  (c-name "gda_diff_type_get_type")
3762  (return-type "GType")
3763)
3764
3765(define-function gda_data_model_access_flags_get_type
3766  (c-name "gda_data_model_access_flags_get_type")
3767  (return-type "GType")
3768)
3769
3770(define-function gda_data_model_hint_get_type
3771  (c-name "gda_data_model_hint_get_type")
3772  (return-type "GType")
3773)
3774
3775(define-function gda_data_model_io_format_get_type
3776  (c-name "gda_data_model_io_format_get_type")
3777  (return-type "GType")
3778)
3779
3780(define-function gda_data_model_error_get_type
3781  (c-name "gda_data_model_error_get_type")
3782  (return-type "GType")
3783)
3784
3785(define-function gda_ldap_search_scope_get_type
3786  (c-name "gda_ldap_search_scope_get_type")
3787  (return-type "GType")
3788)
3789
3790(define-function gda_data_model_iter_error_get_type
3791  (c-name "gda_data_model_iter_error_get_type")
3792  (return-type "GType")
3793)
3794
3795(define-function gda_data_proxy_error_get_type
3796  (c-name "gda_data_proxy_error_get_type")
3797  (return-type "GType")
3798)
3799
3800(define-function gda_data_select_error_get_type
3801  (c-name "gda_data_select_error_get_type")
3802  (return-type "GType")
3803)
3804
3805(define-function gda_data_select_condition_type_get_type
3806  (c-name "gda_data_select_condition_type_get_type")
3807  (return-type "GType")
3808)
3809
3810(define-function gda_transaction_isolation_get_type
3811  (c-name "gda_transaction_isolation_get_type")
3812  (return-type "GType")
3813)
3814
3815(define-function gda_value_attribute_get_type
3816  (c-name "gda_value_attribute_get_type")
3817  (return-type "GType")
3818)
3819
3820(define-function gda_sql_identifier_style_get_type
3821  (c-name "gda_sql_identifier_style_get_type")
3822  (return-type "GType")
3823)
3824
3825(define-function gda_holder_error_get_type
3826  (c-name "gda_holder_error_get_type")
3827  (return-type "GType")
3828)
3829
3830(define-function gda_meta_store_error_get_type
3831  (c-name "gda_meta_store_error_get_type")
3832  (return-type "GType")
3833)
3834
3835(define-function gda_meta_store_change_type_get_type
3836  (c-name "gda_meta_store_change_type_get_type")
3837  (return-type "GType")
3838)
3839
3840(define-function gda_meta_struct_error_get_type
3841  (c-name "gda_meta_struct_error_get_type")
3842  (return-type "GType")
3843)
3844
3845(define-function gda_meta_db_object_type_get_type
3846  (c-name "gda_meta_db_object_type_get_type")
3847  (return-type "GType")
3848)
3849
3850(define-function gda_meta_struct_feature_get_type
3851  (c-name "gda_meta_struct_feature_get_type")
3852  (return-type "GType")
3853)
3854
3855(define-function gda_meta_sort_type_get_type
3856  (c-name "gda_meta_sort_type_get_type")
3857  (return-type "GType")
3858)
3859
3860(define-function gda_meta_foreign_key_policy_get_type
3861  (c-name "gda_meta_foreign_key_policy_get_type")
3862  (return-type "GType")
3863)
3864
3865(define-function gda_meta_graph_info_get_type
3866  (c-name "gda_meta_graph_info_get_type")
3867  (return-type "GType")
3868)
3869
3870(define-function gda_set_error_get_type
3871  (c-name "gda_set_error_get_type")
3872  (return-type "GType")
3873)
3874
3875(define-function gda_server_operation_type_get_type
3876  (c-name "gda_server_operation_type_get_type")
3877  (return-type "GType")
3878)
3879
3880(define-function gda_server_operation_error_get_type
3881  (c-name "gda_server_operation_error_get_type")
3882  (return-type "GType")
3883)
3884
3885(define-function gda_server_operation_create_table_flag_get_type
3886  (c-name "gda_server_operation_create_table_flag_get_type")
3887  (return-type "GType")
3888)
3889
3890(define-function gda_server_operation_node_type_get_type
3891  (c-name "gda_server_operation_node_type_get_type")
3892  (return-type "GType")
3893)
3894
3895(define-function gda_server_operation_node_status_get_type
3896  (c-name "gda_server_operation_node_status_get_type")
3897  (return-type "GType")
3898)
3899
3900(define-function gda_server_provider_error_get_type
3901  (c-name "gda_server_provider_error_get_type")
3902  (return-type "GType")
3903)
3904
3905(define-function gda_statement_error_get_type
3906  (c-name "gda_statement_error_get_type")
3907  (return-type "GType")
3908)
3909
3910(define-function gda_statement_model_usage_get_type
3911  (c-name "gda_statement_model_usage_get_type")
3912  (return-type "GType")
3913)
3914
3915(define-function gda_statement_sql_flag_get_type
3916  (c-name "gda_statement_sql_flag_get_type")
3917  (return-type "GType")
3918)
3919
3920(define-function gda_sql_builder_error_get_type
3921  (c-name "gda_sql_builder_error_get_type")
3922  (return-type "GType")
3923)
3924
3925(define-function gda_transaction_status_event_type_get_type
3926  (c-name "gda_transaction_status_event_type_get_type")
3927  (return-type "GType")
3928)
3929
3930(define-function gda_transaction_status_state_get_type
3931  (c-name "gda_transaction_status_state_get_type")
3932  (return-type "GType")
3933)
3934
3935(define-function gda_tree_error_get_type
3936  (c-name "gda_tree_error_get_type")
3937  (return-type "GType")
3938)
3939
3940(define-function gda_tree_node_error_get_type
3941  (c-name "gda_tree_node_error_get_type")
3942  (return-type "GType")
3943)
3944
3945(define-function gda_tree_manager_error_get_type
3946  (c-name "gda_tree_manager_error_get_type")
3947  (return-type "GType")
3948)
3949
3950(define-function gda_xa_transaction_error_get_type
3951  (c-name "gda_xa_transaction_error_get_type")
3952  (return-type "GType")
3953)
3954
3955(define-function gda_data_pivot_error_get_type
3956  (c-name "gda_data_pivot_error_get_type")
3957  (return-type "GType")
3958)
3959
3960(define-function gda_data_pivot_aggregate_get_type
3961  (c-name "gda_data_pivot_aggregate_get_type")
3962  (return-type "GType")
3963)
3964
3965(define-function gda_data_pivot_field_type_get_type
3966  (c-name "gda_data_pivot_field_type_get_type")
3967  (return-type "GType")
3968)
3969
3970
3971
3972;; From gda-holder.h
3973
3974(define-function gda_holder_get_type
3975  (c-name "gda_holder_get_type")
3976  (return-type "GType")
3977)
3978
3979(define-function gda_holder_new
3980  (c-name "gda_holder_new")
3981  (is-constructor-of "GdaHolder")
3982  (return-type "GdaHolder*")
3983  (parameters
3984    '("GType" "type")
3985  )
3986)
3987
3988(define-function gda_holder_new_inline
3989  (c-name "gda_holder_new_inline")
3990  (return-type "GdaHolder*")
3991  (parameters
3992    '("GType" "type")
3993    '("const-gchar*" "id")
3994  )
3995  (varargs #t)
3996)
3997
3998(define-method copy
3999  (of-object "GdaHolder")
4000  (c-name "gda_holder_copy")
4001  (return-type "GdaHolder*")
4002)
4003
4004(define-method get_g_type
4005  (of-object "GdaHolder")
4006  (c-name "gda_holder_get_g_type")
4007  (return-type "GType")
4008)
4009
4010(define-method get_id
4011  (of-object "GdaHolder")
4012  (c-name "gda_holder_get_id")
4013  (return-type "const-gchar*")
4014)
4015
4016(define-method get_value
4017  (of-object "GdaHolder")
4018  (c-name "gda_holder_get_value")
4019  (return-type "const-GValue*")
4020)
4021
4022(define-method get_value_str
4023  (of-object "GdaHolder")
4024  (c-name "gda_holder_get_value_str")
4025  (return-type "gchar*")
4026  (parameters
4027    '("GdaDataHandler*" "dh")
4028  )
4029)
4030
4031(define-method set_value
4032  (of-object "GdaHolder")
4033  (c-name "gda_holder_set_value")
4034  (return-type "gboolean")
4035  (parameters
4036    '("const-GValue*" "value")
4037    '("GError**" "error")
4038  )
4039)
4040
4041(define-method take_value
4042  (of-object "GdaHolder")
4043  (c-name "gda_holder_take_value")
4044  (return-type "gboolean")
4045  (parameters
4046    '("GValue*" "value")
4047    '("GError**" "error")
4048  )
4049)
4050
4051(define-method take_static_value
4052  (of-object "GdaHolder")
4053  (c-name "gda_holder_take_static_value")
4054  (return-type "GValue*")
4055  (parameters
4056    '("const-GValue*" "value")
4057    '("gboolean*" "value_changed")
4058    '("GError**" "error")
4059  )
4060)
4061
4062(define-method set_value_str
4063  (of-object "GdaHolder")
4064  (c-name "gda_holder_set_value_str")
4065  (return-type "gboolean")
4066  (parameters
4067    '("GdaDataHandler*" "dh")
4068    '("const-gchar*" "value")
4069    '("GError**" "error")
4070  )
4071)
4072
4073(define-method get_default_value
4074  (of-object "GdaHolder")
4075  (c-name "gda_holder_get_default_value")
4076  (return-type "const-GValue*")
4077)
4078
4079(define-method set_default_value
4080  (of-object "GdaHolder")
4081  (c-name "gda_holder_set_default_value")
4082  (return-type "none")
4083  (parameters
4084    '("const-GValue*" "value")
4085  )
4086)
4087
4088(define-method set_value_to_default
4089  (of-object "GdaHolder")
4090  (c-name "gda_holder_set_value_to_default")
4091  (return-type "gboolean")
4092)
4093
4094(define-method value_is_default
4095  (of-object "GdaHolder")
4096  (c-name "gda_holder_value_is_default")
4097  (return-type "gboolean")
4098)
4099
4100(define-method force_invalid
4101  (of-object "GdaHolder")
4102  (c-name "gda_holder_force_invalid")
4103  (return-type "none")
4104)
4105
4106(define-method force_invalid_e
4107  (of-object "GdaHolder")
4108  (c-name "gda_holder_force_invalid_e")
4109  (return-type "none")
4110  (parameters
4111    '("GError*" "error")
4112  )
4113)
4114
4115(define-method is_valid
4116  (of-object "GdaHolder")
4117  (c-name "gda_holder_is_valid")
4118  (return-type "gboolean")
4119)
4120
4121(define-method is_valid_e
4122  (of-object "GdaHolder")
4123  (c-name "gda_holder_is_valid_e")
4124  (return-type "gboolean")
4125  (parameters
4126    '("GError**" "error")
4127  )
4128)
4129
4130(define-method set_not_null
4131  (of-object "GdaHolder")
4132  (c-name "gda_holder_set_not_null")
4133  (return-type "none")
4134  (parameters
4135    '("gboolean" "not_null")
4136  )
4137)
4138
4139(define-method get_not_null
4140  (of-object "GdaHolder")
4141  (c-name "gda_holder_get_not_null")
4142  (return-type "gboolean")
4143)
4144
4145(define-method set_source_model
4146  (of-object "GdaHolder")
4147  (c-name "gda_holder_set_source_model")
4148  (return-type "gboolean")
4149  (parameters
4150    '("GdaDataModel*" "model")
4151    '("gint" "col")
4152    '("GError**" "error")
4153  )
4154)
4155
4156(define-method get_source_model
4157  (of-object "GdaHolder")
4158  (c-name "gda_holder_get_source_model")
4159  (return-type "GdaDataModel*")
4160  (parameters
4161    '("gint*" "col")
4162  )
4163)
4164
4165(define-method set_bind
4166  (of-object "GdaHolder")
4167  (c-name "gda_holder_set_bind")
4168  (return-type "gboolean")
4169  (parameters
4170    '("GdaHolder*" "bind_to")
4171    '("GError**" "error")
4172  )
4173)
4174
4175(define-method get_bind
4176  (of-object "GdaHolder")
4177  (c-name "gda_holder_get_bind")
4178  (return-type "GdaHolder*")
4179)
4180
4181(define-method get_attribute
4182  (of-object "GdaHolder")
4183  (c-name "gda_holder_get_attribute")
4184  (return-type "const-GValue*")
4185  (parameters
4186    '("const-gchar*" "attribute")
4187  )
4188)
4189
4190(define-method set_attribute
4191  (of-object "GdaHolder")
4192  (c-name "gda_holder_set_attribute")
4193  (return-type "none")
4194  (parameters
4195    '("const-gchar*" "attribute")
4196    '("const-GValue*" "value")
4197    '("GDestroyNotify" "destroy")
4198  )
4199)
4200
4201
4202
4203;; From gda-lockable.h
4204
4205(define-function gda_lockable_get_type
4206  (c-name "gda_lockable_get_type")
4207  (return-type "GType")
4208)
4209
4210(define-method lock
4211  (of-object "GdaLockable")
4212  (c-name "gda_lockable_lock")
4213  (return-type "none")
4214)
4215
4216(define-method trylock
4217  (of-object "GdaLockable")
4218  (c-name "gda_lockable_trylock")
4219  (return-type "gboolean")
4220)
4221
4222(define-method unlock
4223  (of-object "GdaLockable")
4224  (c-name "gda_lockable_unlock")
4225  (return-type "none")
4226)
4227
4228
4229
4230;; From gda-log.h
4231
4232(define-function gda_log_enable
4233  (c-name "gda_log_enable")
4234  (return-type "none")
4235)
4236
4237(define-function gda_log_disable
4238  (c-name "gda_log_disable")
4239  (return-type "none")
4240)
4241
4242(define-function gda_log_is_enabled
4243  (c-name "gda_log_is_enabled")
4244  (return-type "gboolean")
4245)
4246
4247(define-function gda_log_message
4248  (c-name "gda_log_message")
4249  (return-type "none")
4250  (parameters
4251    '("const-gchar*" "format")
4252  )
4253  (varargs #t)
4254)
4255
4256(define-function gda_log_error
4257  (c-name "gda_log_error")
4258  (return-type "none")
4259  (parameters
4260    '("const-gchar*" "format")
4261  )
4262  (varargs #t)
4263)
4264
4265
4266
4267;; From gda-marshal.h
4268
4269
4270
4271;; From gda-meta-store.h
4272
4273(define-function gda_meta_store_get_type
4274  (c-name "gda_meta_store_get_type")
4275  (return-type "GType")
4276)
4277
4278(define-function gda_meta_store_new_with_file
4279  (c-name "gda_meta_store_new_with_file")
4280  (return-type "GdaMetaStore*")
4281  (parameters
4282    '("const-gchar*" "file_name")
4283  )
4284)
4285
4286(define-function gda_meta_store_new
4287  (c-name "gda_meta_store_new")
4288  (is-constructor-of "GdaMetaStore")
4289  (return-type "GdaMetaStore*")
4290  (parameters
4291    '("const-gchar*" "cnc_string")
4292  )
4293)
4294
4295(define-method get_version
4296  (of-object "GdaMetaStore")
4297  (c-name "gda_meta_store_get_version")
4298  (return-type "gint")
4299)
4300
4301(define-method get_internal_connection
4302  (of-object "GdaMetaStore")
4303  (c-name "gda_meta_store_get_internal_connection")
4304  (return-type "GdaConnection*")
4305)
4306
4307(define-function gda_meta_store_sql_identifier_quote
4308  (c-name "gda_meta_store_sql_identifier_quote")
4309  (return-type "gchar*")
4310  (parameters
4311    '("const-gchar*" "id")
4312    '("GdaConnection*" "cnc")
4313  )
4314)
4315
4316(define-method extract
4317  (of-object "GdaMetaStore")
4318  (c-name "gda_meta_store_extract")
4319  (return-type "GdaDataModel*")
4320  (parameters
4321    '("const-gchar*" "select_sql")
4322    '("GError**" "error")
4323  )
4324  (varargs #t)
4325)
4326
4327(define-method extract_v
4328  (of-object "GdaMetaStore")
4329  (c-name "gda_meta_store_extract_v")
4330  (return-type "GdaDataModel*")
4331  (parameters
4332    '("const-gchar*" "select_sql")
4333    '("GHashTable*" "vars")
4334    '("GError**" "error")
4335  )
4336)
4337
4338(define-method modify
4339  (of-object "GdaMetaStore")
4340  (c-name "gda_meta_store_modify")
4341  (return-type "gboolean")
4342  (parameters
4343    '("const-gchar*" "table_name")
4344    '("GdaDataModel*" "new_data")
4345    '("const-gchar*" "condition")
4346    '("GError**" "error")
4347  )
4348  (varargs #t)
4349)
4350
4351(define-method modify_v
4352  (of-object "GdaMetaStore")
4353  (c-name "gda_meta_store_modify_v")
4354  (return-type "gboolean")
4355  (parameters
4356    '("const-gchar*" "table_name")
4357    '("GdaDataModel*" "new_data")
4358    '("const-gchar*" "condition")
4359    '("gint" "nvalues")
4360    '("const-gchar**" "value_names")
4361    '("const-GValue**" "values")
4362    '("GError**" "error")
4363  )
4364)
4365
4366(define-method modify_with_context
4367  (of-object "GdaMetaStore")
4368  (c-name "gda_meta_store_modify_with_context")
4369  (return-type "gboolean")
4370  (parameters
4371    '("GdaMetaContext*" "context")
4372    '("GdaDataModel*" "new_data")
4373    '("GError**" "error")
4374  )
4375)
4376
4377(define-method create_modify_data_model
4378  (of-object "GdaMetaStore")
4379  (c-name "gda_meta_store_create_modify_data_model")
4380  (return-type "GdaDataModel*")
4381  (parameters
4382    '("const-gchar*" "table_name")
4383  )
4384)
4385
4386(define-method set_identifiers_style
4387  (of-object "GdaMetaStore")
4388  (c-name "gda_meta_store_set_identifiers_style")
4389  (return-type "none")
4390  (parameters
4391    '("GdaSqlIdentifierStyle" "style")
4392  )
4393)
4394
4395(define-method set_reserved_keywords_func
4396  (of-object "GdaMetaStore")
4397  (c-name "gda_meta_store_set_reserved_keywords_func")
4398  (return-type "none")
4399  (parameters
4400    '("GdaSqlReservedKeywordsFunc" "func")
4401  )
4402)
4403
4404(define-method get_attribute_value
4405  (of-object "GdaMetaStore")
4406  (c-name "gda_meta_store_get_attribute_value")
4407  (return-type "gboolean")
4408  (parameters
4409    '("const-gchar*" "att_name")
4410    '("gchar**" "att_value")
4411    '("GError**" "error")
4412  )
4413)
4414
4415(define-method set_attribute_value
4416  (of-object "GdaMetaStore")
4417  (c-name "gda_meta_store_set_attribute_value")
4418  (return-type "gboolean")
4419  (parameters
4420    '("const-gchar*" "att_name")
4421    '("const-gchar*" "att_value")
4422    '("GError**" "error")
4423  )
4424)
4425
4426(define-method schema_add_custom_object
4427  (of-object "GdaMetaStore")
4428  (c-name "gda_meta_store_schema_add_custom_object")
4429  (return-type "gboolean")
4430  (parameters
4431    '("const-gchar*" "xml_description")
4432    '("GError**" "error")
4433  )
4434)
4435
4436(define-method schema_remove_custom_object
4437  (of-object "GdaMetaStore")
4438  (c-name "gda_meta_store_schema_remove_custom_object")
4439  (return-type "gboolean")
4440  (parameters
4441    '("const-gchar*" "obj_name")
4442    '("GError**" "error")
4443  )
4444)
4445
4446(define-method schema_get_all_tables
4447  (of-object "GdaMetaStore")
4448  (c-name "gda_meta_store_schema_get_all_tables")
4449  (return-type "GSList*")
4450)
4451
4452(define-method schema_get_depend_tables
4453  (of-object "GdaMetaStore")
4454  (c-name "gda_meta_store_schema_get_depend_tables")
4455  (return-type "GSList*")
4456  (parameters
4457    '("const-gchar*" "table_name")
4458  )
4459)
4460
4461(define-method schema_get_structure
4462  (of-object "GdaMetaStore")
4463  (c-name "gda_meta_store_schema_get_structure")
4464  (return-type "GdaMetaStruct*")
4465  (parameters
4466    '("GError**" "error")
4467  )
4468)
4469
4470(define-method declare_foreign_key
4471  (of-object "GdaMetaStore")
4472  (c-name "gda_meta_store_declare_foreign_key")
4473  (return-type "gboolean")
4474  (parameters
4475    '("GdaMetaStruct*" "mstruct")
4476    '("const-gchar*" "fk_name")
4477    '("const-gchar*" "catalog")
4478    '("const-gchar*" "schema")
4479    '("const-gchar*" "table")
4480    '("const-gchar*" "ref_catalog")
4481    '("const-gchar*" "ref_schema")
4482    '("const-gchar*" "ref_table")
4483    '("guint" "nb_cols")
4484    '("gchar**" "colnames")
4485    '("gchar**" "ref_colnames")
4486    '("GError**" "error")
4487  )
4488)
4489
4490(define-method undeclare_foreign_key
4491  (of-object "GdaMetaStore")
4492  (c-name "gda_meta_store_undeclare_foreign_key")
4493  (return-type "gboolean")
4494  (parameters
4495    '("GdaMetaStruct*" "mstruct")
4496    '("const-gchar*" "fk_name")
4497    '("const-gchar*" "catalog")
4498    '("const-gchar*" "schema")
4499    '("const-gchar*" "table")
4500    '("const-gchar*" "ref_catalog")
4501    '("const-gchar*" "ref_schema")
4502    '("const-gchar*" "ref_table")
4503    '("GError**" "error")
4504  )
4505)
4506
4507
4508
4509;; From gda-meta-struct.h
4510
4511(define-method get_attribute
4512  (of-object "GdaMetaTableColumn")
4513  (c-name "gda_meta_table_column_get_attribute")
4514  (return-type "const-GValue*")
4515  (parameters
4516    '("const-gchar*" "attribute")
4517  )
4518)
4519
4520(define-method set_attribute
4521  (of-object "GdaMetaTableColumn")
4522  (c-name "gda_meta_table_column_set_attribute")
4523  (return-type "none")
4524  (parameters
4525    '("const-gchar*" "attribute")
4526    '("const-GValue*" "value")
4527    '("GDestroyNotify" "destroy")
4528  )
4529)
4530
4531(define-method foreach_attribute
4532  (of-object "GdaMetaTableColumn")
4533  (c-name "gda_meta_table_column_foreach_attribute")
4534  (return-type "none")
4535  (parameters
4536    '("GdaAttributesManagerFunc" "func")
4537    '("gpointer" "data")
4538  )
4539)
4540
4541(define-function gda_meta_struct_get_type
4542  (c-name "gda_meta_struct_get_type")
4543  (return-type "GType")
4544)
4545
4546(define-function gda_meta_struct_new
4547  (c-name "gda_meta_struct_new")
4548  (is-constructor-of "GdaMetaStruct")
4549  (return-type "GdaMetaStruct*")
4550  (parameters
4551    '("GdaMetaStore*" "store")
4552    '("GdaMetaStructFeature" "features")
4553  )
4554)
4555
4556(define-method complement
4557  (of-object "GdaMetaStruct")
4558  (c-name "gda_meta_struct_complement")
4559  (return-type "GdaMetaDbObject*")
4560  (parameters
4561    '("GdaMetaDbObjectType" "type")
4562    '("const-GValue*" "catalog")
4563    '("const-GValue*" "schema")
4564    '("const-GValue*" "name")
4565    '("GError**" "error")
4566  )
4567)
4568
4569(define-method complement_schema
4570  (of-object "GdaMetaStruct")
4571  (c-name "gda_meta_struct_complement_schema")
4572  (return-type "gboolean")
4573  (parameters
4574    '("const-GValue*" "catalog")
4575    '("const-GValue*" "schema")
4576    '("GError**" "error")
4577  )
4578)
4579
4580(define-method complement_default
4581  (of-object "GdaMetaStruct")
4582  (c-name "gda_meta_struct_complement_default")
4583  (return-type "gboolean")
4584  (parameters
4585    '("GError**" "error")
4586  )
4587)
4588
4589(define-method complement_all
4590  (of-object "GdaMetaStruct")
4591  (c-name "gda_meta_struct_complement_all")
4592  (return-type "gboolean")
4593  (parameters
4594    '("GError**" "error")
4595  )
4596)
4597
4598(define-method complement_depend
4599  (of-object "GdaMetaStruct")
4600  (c-name "gda_meta_struct_complement_depend")
4601  (return-type "gboolean")
4602  (parameters
4603    '("GdaMetaDbObject*" "dbo")
4604    '("GError**" "error")
4605  )
4606)
4607
4608(define-method sort_db_objects
4609  (of-object "GdaMetaStruct")
4610  (c-name "gda_meta_struct_sort_db_objects")
4611  (return-type "gboolean")
4612  (parameters
4613    '("GdaMetaSortType" "sort_type")
4614    '("GError**" "error")
4615  )
4616)
4617
4618(define-method get_all_db_objects
4619  (of-object "GdaMetaStruct")
4620  (c-name "gda_meta_struct_get_all_db_objects")
4621  (return-type "GSList*")
4622)
4623
4624(define-method get_db_object
4625  (of-object "GdaMetaStruct")
4626  (c-name "gda_meta_struct_get_db_object")
4627  (return-type "GdaMetaDbObject*")
4628  (parameters
4629    '("const-GValue*" "catalog")
4630    '("const-GValue*" "schema")
4631    '("const-GValue*" "name")
4632  )
4633)
4634
4635(define-method get_table_column
4636  (of-object "GdaMetaStruct")
4637  (c-name "gda_meta_struct_get_table_column")
4638  (return-type "GdaMetaTableColumn*")
4639  (parameters
4640    '("GdaMetaTable*" "table")
4641    '("const-GValue*" "col_name")
4642  )
4643)
4644
4645(define-method dump_as_graph
4646  (of-object "GdaMetaStruct")
4647  (c-name "gda_meta_struct_dump_as_graph")
4648  (return-type "gchar*")
4649  (parameters
4650    '("GdaMetaGraphInfo" "info")
4651    '("GError**" "error")
4652  )
4653)
4654
4655
4656
4657;; From gda-mutex.h
4658
4659(define-function gda_mutex_new
4660  (c-name "gda_mutex_new")
4661  (is-constructor-of "GdaMutex")
4662  (return-type "GdaMutex*")
4663)
4664
4665(define-method lock
4666  (of-object "GdaMutex")
4667  (c-name "gda_mutex_lock")
4668  (return-type "none")
4669)
4670
4671(define-method trylock
4672  (of-object "GdaMutex")
4673  (c-name "gda_mutex_trylock")
4674  (return-type "gboolean")
4675)
4676
4677(define-method unlock
4678  (of-object "GdaMutex")
4679  (c-name "gda_mutex_unlock")
4680  (return-type "none")
4681)
4682
4683(define-method free
4684  (of-object "GdaMutex")
4685  (c-name "gda_mutex_free")
4686  (return-type "none")
4687)
4688
4689(define-method debug
4690  (of-object "GdaMutex")
4691  (c-name "gda_mutex_debug")
4692  (return-type "none")
4693  (parameters
4694    '("gboolean" "debug")
4695  )
4696)
4697
4698(define-method dump_usage
4699  (of-object "GdaMutex")
4700  (c-name "gda_mutex_dump_usage")
4701  (return-type "none")
4702  (parameters
4703    '("FILE*" "stream")
4704  )
4705)
4706
4707
4708
4709;; From gda-quark-list.h
4710
4711(define-function gda_quark_list_get_type
4712  (c-name "gda_quark_list_get_type")
4713  (return-type "GType")
4714)
4715
4716(define-function gda_quark_list_new
4717  (c-name "gda_quark_list_new")
4718  (is-constructor-of "GdaQuarkList")
4719  (return-type "GdaQuarkList*")
4720)
4721
4722(define-function gda_quark_list_new_from_string
4723  (c-name "gda_quark_list_new_from_string")
4724  (return-type "GdaQuarkList*")
4725  (parameters
4726    '("const-gchar*" "string")
4727  )
4728)
4729
4730(define-method copy
4731  (of-object "GdaQuarkList")
4732  (c-name "gda_quark_list_copy")
4733  (return-type "GdaQuarkList*")
4734)
4735
4736(define-method free
4737  (of-object "GdaQuarkList")
4738  (c-name "gda_quark_list_free")
4739  (return-type "none")
4740)
4741
4742(define-method add_from_string
4743  (of-object "GdaQuarkList")
4744  (c-name "gda_quark_list_add_from_string")
4745  (return-type "none")
4746  (parameters
4747    '("const-gchar*" "string")
4748    '("gboolean" "cleanup")
4749  )
4750)
4751
4752(define-method find
4753  (of-object "GdaQuarkList")
4754  (c-name "gda_quark_list_find")
4755  (return-type "const-gchar*")
4756  (parameters
4757    '("const-gchar*" "name")
4758  )
4759)
4760
4761(define-method remove
4762  (of-object "GdaQuarkList")
4763  (c-name "gda_quark_list_remove")
4764  (return-type "none")
4765  (parameters
4766    '("const-gchar*" "name")
4767  )
4768)
4769
4770(define-method clear
4771  (of-object "GdaQuarkList")
4772  (c-name "gda_quark_list_clear")
4773  (return-type "none")
4774)
4775
4776(define-method foreach
4777  (of-object "GdaQuarkList")
4778  (c-name "gda_quark_list_foreach")
4779  (return-type "none")
4780  (parameters
4781    '("GHFunc" "func")
4782    '("gpointer" "user_data")
4783  )
4784)
4785
4786
4787
4788;; From gda-repetitive-statement.h
4789
4790(define-function gda_repetitive_statement_get_type
4791  (c-name "gda_repetitive_statement_get_type")
4792  (return-type "GType")
4793)
4794
4795(define-function gda_repetitive_statement_new
4796  (c-name "gda_repetitive_statement_new")
4797  (is-constructor-of "GdaRepetitiveStatement")
4798  (return-type "GdaRepetitiveStatement*")
4799  (parameters
4800    '("GdaStatement*" "stmt")
4801  )
4802)
4803
4804(define-method get_template_set
4805  (of-object "GdaRepetitiveStatement")
4806  (c-name "gda_repetitive_statement_get_template_set")
4807  (return-type "gboolean")
4808  (parameters
4809    '("GdaSet**" "set")
4810    '("GError**" "error")
4811  )
4812)
4813
4814(define-method get_all_sets
4815  (of-object "GdaRepetitiveStatement")
4816  (c-name "gda_repetitive_statement_get_all_sets")
4817  (return-type "GSList*")
4818)
4819
4820(define-method append_set
4821  (of-object "GdaRepetitiveStatement")
4822  (c-name "gda_repetitive_statement_append_set")
4823  (return-type "gboolean")
4824  (parameters
4825    '("GdaSet*" "values")
4826    '("gboolean" "make_copy")
4827  )
4828)
4829
4830
4831
4832;; From gda-row.h
4833
4834(define-function gda_row_get_type
4835  (c-name "gda_row_get_type")
4836  (return-type "GType")
4837)
4838
4839(define-function gda_row_new
4840  (c-name "gda_row_new")
4841  (is-constructor-of "GdaRow")
4842  (return-type "GdaRow*")
4843  (parameters
4844    '("gint" "count")
4845  )
4846)
4847
4848(define-method get_length
4849  (of-object "GdaRow")
4850  (c-name "gda_row_get_length")
4851  (return-type "gint")
4852)
4853
4854(define-method get_value
4855  (of-object "GdaRow")
4856  (c-name "gda_row_get_value")
4857  (return-type "GValue*")
4858  (parameters
4859    '("gint" "num")
4860  )
4861)
4862
4863(define-method invalidate_value
4864  (of-object "GdaRow")
4865  (c-name "gda_row_invalidate_value")
4866  (return-type "none")
4867  (parameters
4868    '("GValue*" "value")
4869  )
4870)
4871
4872(define-method invalidate_value_e
4873  (of-object "GdaRow")
4874  (c-name "gda_row_invalidate_value_e")
4875  (return-type "none")
4876  (parameters
4877    '("GValue*" "value")
4878    '("GError*" "error")
4879  )
4880)
4881
4882(define-method value_is_valid
4883  (of-object "GdaRow")
4884  (c-name "gda_row_value_is_valid")
4885  (return-type "gboolean")
4886  (parameters
4887    '("GValue*" "value")
4888  )
4889)
4890
4891(define-method value_is_valid_e
4892  (of-object "GdaRow")
4893  (c-name "gda_row_value_is_valid_e")
4894  (return-type "gboolean")
4895  (parameters
4896    '("GValue*" "value")
4897    '("GError**" "error")
4898  )
4899)
4900
4901
4902
4903;; From gda-server-operation.h
4904
4905(define-function gda_server_operation_get_type
4906  (c-name "gda_server_operation_get_type")
4907  (return-type "GType")
4908)
4909
4910(define-function gda_server_operation_new
4911  (c-name "gda_server_operation_new")
4912  (is-constructor-of "GdaServerOperation")
4913  (return-type "GdaServerOperation*")
4914  (parameters
4915    '("GdaServerOperationType" "op_type")
4916    '("const-gchar*" "xml_file")
4917  )
4918)
4919
4920(define-method get_op_type
4921  (of-object "GdaServerOperation")
4922  (c-name "gda_server_operation_get_op_type")
4923  (return-type "GdaServerOperationType")
4924)
4925
4926(define-function gda_server_operation_op_type_to_string
4927  (c-name "gda_server_operation_op_type_to_string")
4928  (return-type "const-gchar*")
4929  (parameters
4930    '("GdaServerOperationType" "type")
4931  )
4932)
4933
4934(define-function gda_server_operation_string_to_op_type
4935  (c-name "gda_server_operation_string_to_op_type")
4936  (return-type "GdaServerOperationType")
4937  (parameters
4938    '("const-gchar*" "str")
4939  )
4940)
4941
4942(define-method get_node_info
4943  (of-object "GdaServerOperation")
4944  (c-name "gda_server_operation_get_node_info")
4945  (return-type "GdaServerOperationNode*")
4946  (parameters
4947    '("const-gchar*" "path_format")
4948  )
4949  (varargs #t)
4950)
4951
4952(define-method get_value_at
4953  (of-object "GdaServerOperation")
4954  (c-name "gda_server_operation_get_value_at")
4955  (return-type "const-GValue*")
4956  (parameters
4957    '("const-gchar*" "path_format")
4958  )
4959  (varargs #t)
4960)
4961
4962(define-method get_value_at_path
4963  (of-object "GdaServerOperation")
4964  (c-name "gda_server_operation_get_value_at_path")
4965  (return-type "const-GValue*")
4966  (parameters
4967    '("const-gchar*" "path")
4968  )
4969)
4970
4971(define-method get_sql_identifier_at
4972  (of-object "GdaServerOperation")
4973  (c-name "gda_server_operation_get_sql_identifier_at")
4974  (return-type "gchar*")
4975  (parameters
4976    '("GdaConnection*" "cnc")
4977    '("GdaServerProvider*" "prov")
4978    '("const-gchar*" "path_format")
4979  )
4980  (varargs #t)
4981)
4982
4983(define-method get_sql_identifier_at_path
4984  (of-object "GdaServerOperation")
4985  (c-name "gda_server_operation_get_sql_identifier_at_path")
4986  (return-type "gchar*")
4987  (parameters
4988    '("GdaConnection*" "cnc")
4989    '("GdaServerProvider*" "prov")
4990    '("const-gchar*" "path")
4991  )
4992)
4993
4994(define-method set_value_at
4995  (of-object "GdaServerOperation")
4996  (c-name "gda_server_operation_set_value_at")
4997  (return-type "gboolean")
4998  (parameters
4999    '("const-gchar*" "value")
5000    '("GError**" "error")
5001    '("const-gchar*" "path_format")
5002  )
5003  (varargs #t)
5004)
5005
5006(define-method set_value_at_path
5007  (of-object "GdaServerOperation")
5008  (c-name "gda_server_operation_set_value_at_path")
5009  (return-type "gboolean")
5010  (parameters
5011    '("const-gchar*" "value")
5012    '("const-gchar*" "path")
5013    '("GError**" "error")
5014  )
5015)
5016
5017(define-method save_data_to_xml
5018  (of-object "GdaServerOperation")
5019  (c-name "gda_server_operation_save_data_to_xml")
5020  (return-type "xmlNodePtr")
5021  (parameters
5022    '("GError**" "error")
5023  )
5024)
5025
5026(define-method load_data_from_xml
5027  (of-object "GdaServerOperation")
5028  (c-name "gda_server_operation_load_data_from_xml")
5029  (return-type "gboolean")
5030  (parameters
5031    '("xmlNodePtr" "node")
5032    '("GError**" "error")
5033  )
5034)
5035
5036(define-method get_root_nodes
5037  (of-object "GdaServerOperation")
5038  (c-name "gda_server_operation_get_root_nodes")
5039  (return-type "gchar**")
5040)
5041
5042(define-method get_node_type
5043  (of-object "GdaServerOperation")
5044  (c-name "gda_server_operation_get_node_type")
5045  (return-type "GdaServerOperationNodeType")
5046  (parameters
5047    '("const-gchar*" "path")
5048    '("GdaServerOperationNodeStatus*" "status")
5049  )
5050)
5051
5052(define-method get_node_parent
5053  (of-object "GdaServerOperation")
5054  (c-name "gda_server_operation_get_node_parent")
5055  (return-type "gchar*")
5056  (parameters
5057    '("const-gchar*" "path")
5058  )
5059)
5060
5061(define-method get_node_path_portion
5062  (of-object "GdaServerOperation")
5063  (c-name "gda_server_operation_get_node_path_portion")
5064  (return-type "gchar*")
5065  (parameters
5066    '("const-gchar*" "path")
5067  )
5068)
5069
5070(define-method get_sequence_name
5071  (of-object "GdaServerOperation")
5072  (c-name "gda_server_operation_get_sequence_name")
5073  (return-type "const-gchar*")
5074  (parameters
5075    '("const-gchar*" "path")
5076  )
5077)
5078
5079(define-method get_sequence_size
5080  (of-object "GdaServerOperation")
5081  (c-name "gda_server_operation_get_sequence_size")
5082  (return-type "guint")
5083  (parameters
5084    '("const-gchar*" "path")
5085  )
5086)
5087
5088(define-method get_sequence_max_size
5089  (of-object "GdaServerOperation")
5090  (c-name "gda_server_operation_get_sequence_max_size")
5091  (return-type "guint")
5092  (parameters
5093    '("const-gchar*" "path")
5094  )
5095)
5096
5097(define-method get_sequence_min_size
5098  (of-object "GdaServerOperation")
5099  (c-name "gda_server_operation_get_sequence_min_size")
5100  (return-type "guint")
5101  (parameters
5102    '("const-gchar*" "path")
5103  )
5104)
5105
5106(define-method get_sequence_item_names
5107  (of-object "GdaServerOperation")
5108  (c-name "gda_server_operation_get_sequence_item_names")
5109  (return-type "gchar**")
5110  (parameters
5111    '("const-gchar*" "path")
5112  )
5113)
5114
5115(define-method add_item_to_sequence
5116  (of-object "GdaServerOperation")
5117  (c-name "gda_server_operation_add_item_to_sequence")
5118  (return-type "guint")
5119  (parameters
5120    '("const-gchar*" "seq_path")
5121  )
5122)
5123
5124(define-method del_item_from_sequence
5125  (of-object "GdaServerOperation")
5126  (c-name "gda_server_operation_del_item_from_sequence")
5127  (return-type "gboolean")
5128  (parameters
5129    '("const-gchar*" "item_path")
5130  )
5131)
5132
5133(define-method is_valid
5134  (of-object "GdaServerOperation")
5135  (c-name "gda_server_operation_is_valid")
5136  (return-type "gboolean")
5137  (parameters
5138    '("const-gchar*" "xml_file")
5139    '("GError**" "error")
5140  )
5141)
5142
5143(define-function gda_server_operation_prepare_create_database
5144  (c-name "gda_server_operation_prepare_create_database")
5145  (return-type "GdaServerOperation*")
5146  (parameters
5147    '("const-gchar*" "provider")
5148    '("const-gchar*" "db_name")
5149    '("GError**" "error")
5150  )
5151)
5152
5153(define-method perform_create_database
5154  (of-object "GdaServerOperation")
5155  (c-name "gda_server_operation_perform_create_database")
5156  (return-type "gboolean")
5157  (parameters
5158    '("const-gchar*" "provider")
5159    '("GError**" "error")
5160  )
5161)
5162
5163(define-function gda_server_operation_prepare_drop_database
5164  (c-name "gda_server_operation_prepare_drop_database")
5165  (return-type "GdaServerOperation*")
5166  (parameters
5167    '("const-gchar*" "provider")
5168    '("const-gchar*" "db_name")
5169    '("GError**" "error")
5170  )
5171)
5172
5173(define-method perform_drop_database
5174  (of-object "GdaServerOperation")
5175  (c-name "gda_server_operation_perform_drop_database")
5176  (return-type "gboolean")
5177  (parameters
5178    '("const-gchar*" "provider")
5179    '("GError**" "error")
5180  )
5181)
5182
5183(define-function gda_server_operation_prepare_create_table
5184  (c-name "gda_server_operation_prepare_create_table")
5185  (return-type "GdaServerOperation*")
5186  (parameters
5187    '("GdaConnection*" "cnc")
5188    '("const-gchar*" "table_name")
5189    '("GError**" "error")
5190  )
5191  (varargs #t)
5192)
5193
5194(define-method perform_create_table
5195  (of-object "GdaServerOperation")
5196  (c-name "gda_server_operation_perform_create_table")
5197  (return-type "gboolean")
5198  (parameters
5199    '("GError**" "error")
5200  )
5201)
5202
5203(define-function gda_server_operation_prepare_drop_table
5204  (c-name "gda_server_operation_prepare_drop_table")
5205  (return-type "GdaServerOperation*")
5206  (parameters
5207    '("GdaConnection*" "cnc")
5208    '("const-gchar*" "table_name")
5209    '("GError**" "error")
5210  )
5211)
5212
5213(define-method perform_drop_table
5214  (of-object "GdaServerOperation")
5215  (c-name "gda_server_operation_perform_drop_table")
5216  (return-type "gboolean")
5217  (parameters
5218    '("GError**" "error")
5219  )
5220)
5221
5222
5223
5224;; From gda-server-provider-extra.h
5225
5226(define-method internal_get_parser
5227  (of-object "GdaServerProvider")
5228  (c-name "gda_server_provider_internal_get_parser")
5229  (return-type "GdaSqlParser*")
5230)
5231
5232(define-method perform_operation_default
5233  (of-object "GdaServerProvider")
5234  (c-name "gda_server_provider_perform_operation_default")
5235  (return-type "gboolean")
5236  (parameters
5237    '("GdaConnection*" "cnc")
5238    '("GdaServerOperation*" "op")
5239    '("GError**" "error")
5240  )
5241)
5242
5243(define-method get_data_handler_default
5244  (of-object "GdaServerProvider")
5245  (c-name "gda_server_provider_get_data_handler_default")
5246  (return-type "GdaDataHandler*")
5247  (parameters
5248    '("GdaConnection*" "cnc")
5249    '("GType" "type")
5250    '("const-gchar*" "dbms_type")
5251  )
5252)
5253
5254(define-function gda_select_alter_select_for_empty
5255  (c-name "gda_select_alter_select_for_empty")
5256  (return-type "GdaStatement*")
5257  (parameters
5258    '("GdaStatement*" "stmt")
5259    '("GError**" "error")
5260  )
5261)
5262
5263(define-method handler_find
5264  (of-object "GdaServerProvider")
5265  (c-name "gda_server_provider_handler_find")
5266  (return-type "GdaDataHandler*")
5267  (parameters
5268    '("GdaConnection*" "cnc")
5269    '("GType" "g_type")
5270    '("const-gchar*" "dbms_type")
5271  )
5272)
5273
5274(define-method handler_declare
5275  (of-object "GdaServerProvider")
5276  (c-name "gda_server_provider_handler_declare")
5277  (return-type "none")
5278  (parameters
5279    '("GdaDataHandler*" "dh")
5280    '("GdaConnection*" "cnc")
5281    '("GType" "g_type")
5282    '("const-gchar*" "dbms_type")
5283  )
5284)
5285
5286(define-method find_file
5287  (of-object "GdaServerProvider")
5288  (c-name "gda_server_provider_find_file")
5289  (return-type "gchar*")
5290  (parameters
5291    '("const-gchar*" "inst_dir")
5292    '("const-gchar*" "filename")
5293  )
5294)
5295
5296(define-function gda_server_provider_load_file_contents
5297  (c-name "gda_server_provider_load_file_contents")
5298  (return-type "gchar*")
5299  (parameters
5300    '("const-gchar*" "inst_dir")
5301    '("const-gchar*" "data_dir")
5302    '("const-gchar*" "filename")
5303  )
5304)
5305
5306
5307
5308;; From gda-server-provider.h
5309
5310(define-function gda_server_provider_get_type
5311  (c-name "gda_server_provider_get_type")
5312  (return-type "GType")
5313)
5314
5315(define-method get_name
5316  (of-object "GdaServerProvider")
5317  (c-name "gda_server_provider_get_name")
5318  (return-type "const-gchar*")
5319)
5320
5321(define-method get_version
5322  (of-object "GdaServerProvider")
5323  (c-name "gda_server_provider_get_version")
5324  (return-type "const-gchar*")
5325)
5326
5327(define-method get_server_version
5328  (of-object "GdaServerProvider")
5329  (c-name "gda_server_provider_get_server_version")
5330  (return-type "const-gchar*")
5331  (parameters
5332    '("GdaConnection*" "cnc")
5333  )
5334)
5335
5336(define-method supports_feature
5337  (of-object "GdaServerProvider")
5338  (c-name "gda_server_provider_supports_feature")
5339  (return-type "gboolean")
5340  (parameters
5341    '("GdaConnection*" "cnc")
5342    '("GdaConnectionFeature" "feature")
5343  )
5344)
5345
5346(define-method get_data_handler_g_type
5347  (of-object "GdaServerProvider")
5348  (c-name "gda_server_provider_get_data_handler_g_type")
5349  (return-type "GdaDataHandler*")
5350  (parameters
5351    '("GdaConnection*" "cnc")
5352    '("GType" "for_type")
5353  )
5354)
5355
5356(define-method get_data_handler_dbms
5357  (of-object "GdaServerProvider")
5358  (c-name "gda_server_provider_get_data_handler_dbms")
5359  (return-type "GdaDataHandler*")
5360  (parameters
5361    '("GdaConnection*" "cnc")
5362    '("const-gchar*" "for_type")
5363  )
5364)
5365
5366(define-method string_to_value
5367  (of-object "GdaServerProvider")
5368  (c-name "gda_server_provider_string_to_value")
5369  (return-type "GValue*")
5370  (parameters
5371    '("GdaConnection*" "cnc")
5372    '("const-gchar*" "string")
5373    '("GType" "preferred_type")
5374    '("gchar**" "dbms_type")
5375  )
5376)
5377
5378(define-method value_to_sql_string
5379  (of-object "GdaServerProvider")
5380  (c-name "gda_server_provider_value_to_sql_string")
5381  (return-type "gchar*")
5382  (parameters
5383    '("GdaConnection*" "cnc")
5384    '("GValue*" "from")
5385  )
5386)
5387
5388(define-method get_default_dbms_type
5389  (of-object "GdaServerProvider")
5390  (c-name "gda_server_provider_get_default_dbms_type")
5391  (return-type "const-gchar*")
5392  (parameters
5393    '("GdaConnection*" "cnc")
5394    '("GType" "type")
5395  )
5396)
5397
5398(define-method escape_string
5399  (of-object "GdaServerProvider")
5400  (c-name "gda_server_provider_escape_string")
5401  (return-type "gchar*")
5402  (parameters
5403    '("GdaConnection*" "cnc")
5404    '("const-gchar*" "str")
5405  )
5406)
5407
5408(define-method unescape_string
5409  (of-object "GdaServerProvider")
5410  (c-name "gda_server_provider_unescape_string")
5411  (return-type "gchar*")
5412  (parameters
5413    '("GdaConnection*" "cnc")
5414    '("const-gchar*" "str")
5415  )
5416)
5417
5418(define-method supports_operation
5419  (of-object "GdaServerProvider")
5420  (c-name "gda_server_provider_supports_operation")
5421  (return-type "gboolean")
5422  (parameters
5423    '("GdaConnection*" "cnc")
5424    '("GdaServerOperationType" "type")
5425    '("GdaSet*" "options")
5426  )
5427)
5428
5429(define-method create_operation
5430  (of-object "GdaServerProvider")
5431  (c-name "gda_server_provider_create_operation")
5432  (return-type "GdaServerOperation*")
5433  (parameters
5434    '("GdaConnection*" "cnc")
5435    '("GdaServerOperationType" "type")
5436    '("GdaSet*" "options")
5437    '("GError**" "error")
5438  )
5439)
5440
5441(define-method render_operation
5442  (of-object "GdaServerProvider")
5443  (c-name "gda_server_provider_render_operation")
5444  (return-type "gchar*")
5445  (parameters
5446    '("GdaConnection*" "cnc")
5447    '("GdaServerOperation*" "op")
5448    '("GError**" "error")
5449  )
5450)
5451
5452(define-method perform_operation
5453  (of-object "GdaServerProvider")
5454  (c-name "gda_server_provider_perform_operation")
5455  (return-type "gboolean")
5456  (parameters
5457    '("GdaConnection*" "cnc")
5458    '("GdaServerOperation*" "op")
5459    '("GError**" "error")
5460  )
5461)
5462
5463(define-method create_parser
5464  (of-object "GdaServerProvider")
5465  (c-name "gda_server_provider_create_parser")
5466  (return-type "GdaSqlParser*")
5467  (parameters
5468    '("GdaConnection*" "cnc")
5469  )
5470)
5471
5472
5473
5474;; From gda-server-provider-private.h
5475
5476
5477
5478;; From gda-set.h
5479
5480(define-function gda_set_get_type
5481  (c-name "gda_set_get_type")
5482  (return-type "GType")
5483)
5484
5485(define-function gda_set_new
5486  (c-name "gda_set_new")
5487  (is-constructor-of "GdaSet")
5488  (return-type "GdaSet*")
5489  (parameters
5490    '("GSList*" "holders")
5491  )
5492)
5493
5494(define-method copy
5495  (of-object "GdaSet")
5496  (c-name "gda_set_copy")
5497  (return-type "GdaSet*")
5498)
5499
5500(define-function gda_set_new_inline
5501  (c-name "gda_set_new_inline")
5502  (return-type "GdaSet*")
5503  (parameters
5504    '("gint" "nb")
5505  )
5506  (varargs #t)
5507)
5508
5509(define-function gda_set_new_from_spec_string
5510  (c-name "gda_set_new_from_spec_string")
5511  (return-type "GdaSet*")
5512  (parameters
5513    '("const-gchar*" "xml_spec")
5514    '("GError**" "error")
5515  )
5516)
5517
5518(define-function gda_set_new_from_spec_node
5519  (c-name "gda_set_new_from_spec_node")
5520  (return-type "GdaSet*")
5521  (parameters
5522    '("xmlNodePtr" "xml_spec")
5523    '("GError**" "error")
5524  )
5525)
5526
5527(define-method set_holder_value
5528  (of-object "GdaSet")
5529  (c-name "gda_set_set_holder_value")
5530  (return-type "gboolean")
5531  (parameters
5532    '("GError**" "error")
5533    '("const-gchar*" "holder_id")
5534  )
5535  (varargs #t)
5536)
5537
5538(define-method get_holder_value
5539  (of-object "GdaSet")
5540  (c-name "gda_set_get_holder_value")
5541  (return-type "const-GValue*")
5542  (parameters
5543    '("const-gchar*" "holder_id")
5544  )
5545)
5546
5547(define-method get_holder
5548  (of-object "GdaSet")
5549  (c-name "gda_set_get_holder")
5550  (return-type "GdaHolder*")
5551  (parameters
5552    '("const-gchar*" "holder_id")
5553  )
5554)
5555
5556(define-method get_nth_holder
5557  (of-object "GdaSet")
5558  (c-name "gda_set_get_nth_holder")
5559  (return-type "GdaHolder*")
5560  (parameters
5561    '("gint" "pos")
5562  )
5563)
5564
5565(define-method add_holder
5566  (of-object "GdaSet")
5567  (c-name "gda_set_add_holder")
5568  (return-type "gboolean")
5569  (parameters
5570    '("GdaHolder*" "holder")
5571  )
5572)
5573
5574(define-method remove_holder
5575  (of-object "GdaSet")
5576  (c-name "gda_set_remove_holder")
5577  (return-type "none")
5578  (parameters
5579    '("GdaHolder*" "holder")
5580  )
5581)
5582
5583(define-method merge_with_set
5584  (of-object "GdaSet")
5585  (c-name "gda_set_merge_with_set")
5586  (return-type "none")
5587  (parameters
5588    '("GdaSet*" "set_to_merge")
5589  )
5590)
5591
5592(define-method is_valid
5593  (of-object "GdaSet")
5594  (c-name "gda_set_is_valid")
5595  (return-type "gboolean")
5596  (parameters
5597    '("GError**" "error")
5598  )
5599)
5600
5601(define-method replace_source_model
5602  (of-object "GdaSet")
5603  (c-name "gda_set_replace_source_model")
5604  (return-type "none")
5605  (parameters
5606    '("GdaSetSource*" "source")
5607    '("GdaDataModel*" "model")
5608  )
5609)
5610
5611(define-method get_node
5612  (of-object "GdaSet")
5613  (c-name "gda_set_get_node")
5614  (return-type "GdaSetNode*")
5615  (parameters
5616    '("GdaHolder*" "holder")
5617  )
5618)
5619
5620(define-method get_source_for_model
5621  (of-object "GdaSet")
5622  (c-name "gda_set_get_source_for_model")
5623  (return-type "GdaSetSource*")
5624  (parameters
5625    '("GdaDataModel*" "model")
5626  )
5627)
5628
5629(define-method get_source
5630  (of-object "GdaSet")
5631  (c-name "gda_set_get_source")
5632  (return-type "GdaSetSource*")
5633  (parameters
5634    '("GdaHolder*" "holder")
5635  )
5636)
5637
5638(define-method get_group
5639  (of-object "GdaSet")
5640  (c-name "gda_set_get_group")
5641  (return-type "GdaSetGroup*")
5642  (parameters
5643    '("GdaHolder*" "holder")
5644  )
5645)
5646
5647(define-function gda_set_new_read_only
5648  (c-name "gda_set_new_read_only")
5649  (return-type "GdaSet*")
5650  (parameters
5651    '("GSList*" "holders")
5652  )
5653)
5654
5655
5656
5657;; From gda-sql-builder.h
5658
5659(define-function gda_sql_builder_get_type
5660  (c-name "gda_sql_builder_get_type")
5661  (return-type "GType")
5662)
5663
5664(define-function gda_sql_builder_new
5665  (c-name "gda_sql_builder_new")
5666  (is-constructor-of "GdaSqlBuilder")
5667  (return-type "GdaSqlBuilder*")
5668  (parameters
5669    '("GdaSqlStatementType" "stmt_type")
5670  )
5671)
5672
5673(define-method get_statement
5674  (of-object "GdaSqlBuilder")
5675  (c-name "gda_sql_builder_get_statement")
5676  (return-type "GdaStatement*")
5677  (parameters
5678    '("GError**" "error")
5679  )
5680)
5681
5682(define-method get_sql_statement
5683  (of-object "GdaSqlBuilder")
5684  (c-name "gda_sql_builder_get_sql_statement")
5685  (return-type "GdaSqlStatement*")
5686)
5687
5688(define-method add_id
5689  (of-object "GdaSqlBuilder")
5690  (c-name "gda_sql_builder_add_id")
5691  (return-type "GdaSqlBuilderId")
5692  (parameters
5693    '("const-gchar*" "str")
5694  )
5695)
5696
5697(define-method add_field_id
5698  (of-object "GdaSqlBuilder")
5699  (c-name "gda_sql_builder_add_field_id")
5700  (return-type "GdaSqlBuilderId")
5701  (parameters
5702    '("const-gchar*" "field_name")
5703    '("const-gchar*" "table_name")
5704  )
5705)
5706
5707(define-method add_expr
5708  (of-object "GdaSqlBuilder")
5709  (c-name "gda_sql_builder_add_expr")
5710  (return-type "GdaSqlBuilderId")
5711  (parameters
5712    '("GdaDataHandler*" "dh")
5713    '("GType" "type")
5714  )
5715  (varargs #t)
5716)
5717
5718(define-method add_expr_value
5719  (of-object "GdaSqlBuilder")
5720  (c-name "gda_sql_builder_add_expr_value")
5721  (return-type "GdaSqlBuilderId")
5722  (parameters
5723    '("GdaDataHandler*" "dh")
5724    '("const-GValue*" "value")
5725  )
5726)
5727
5728(define-method add_param
5729  (of-object "GdaSqlBuilder")
5730  (c-name "gda_sql_builder_add_param")
5731  (return-type "GdaSqlBuilderId")
5732  (parameters
5733    '("const-gchar*" "param_name")
5734    '("GType" "type")
5735    '("gboolean" "nullok")
5736  )
5737)
5738
5739(define-method add_cond
5740  (of-object "GdaSqlBuilder")
5741  (c-name "gda_sql_builder_add_cond")
5742  (return-type "GdaSqlBuilderId")
5743  (parameters
5744    '("GdaSqlOperatorType" "op")
5745    '("GdaSqlBuilderId" "op1")
5746    '("GdaSqlBuilderId" "op2")
5747    '("GdaSqlBuilderId" "op3")
5748  )
5749)
5750
5751(define-method add_cond_v
5752  (of-object "GdaSqlBuilder")
5753  (c-name "gda_sql_builder_add_cond_v")
5754  (return-type "GdaSqlBuilderId")
5755  (parameters
5756    '("GdaSqlOperatorType" "op")
5757    '("const-GdaSqlBuilderId*" "op_ids")
5758    '("gint" "op_ids_size")
5759  )
5760)
5761
5762(define-method add_function
5763  (of-object "GdaSqlBuilder")
5764  (c-name "gda_sql_builder_add_function")
5765  (return-type "GdaSqlBuilderId")
5766  (parameters
5767    '("const-gchar*" "func_name")
5768  )
5769  (varargs #t)
5770)
5771
5772(define-method add_function_v
5773  (of-object "GdaSqlBuilder")
5774  (c-name "gda_sql_builder_add_function_v")
5775  (return-type "GdaSqlBuilderId")
5776  (parameters
5777    '("const-gchar*" "func_name")
5778    '("const-GdaSqlBuilderId*" "args")
5779    '("gint" "args_size")
5780  )
5781)
5782
5783(define-method add_sub_select
5784  (of-object "GdaSqlBuilder")
5785  (c-name "gda_sql_builder_add_sub_select")
5786  (return-type "GdaSqlBuilderId")
5787  (parameters
5788    '("GdaSqlStatement*" "sqlst")
5789  )
5790)
5791
5792(define-method add_case
5793  (of-object "GdaSqlBuilder")
5794  (c-name "gda_sql_builder_add_case")
5795  (return-type "GdaSqlBuilderId")
5796  (parameters
5797    '("GdaSqlBuilderId" "test_expr")
5798    '("GdaSqlBuilderId" "else_expr")
5799  )
5800  (varargs #t)
5801)
5802
5803(define-method add_case_v
5804  (of-object "GdaSqlBuilder")
5805  (c-name "gda_sql_builder_add_case_v")
5806  (return-type "GdaSqlBuilderId")
5807  (parameters
5808    '("GdaSqlBuilderId" "test_expr")
5809    '("GdaSqlBuilderId" "else_expr")
5810    '("const-GdaSqlBuilderId*" "when_array")
5811    '("const-GdaSqlBuilderId*" "then_array")
5812    '("gint" "args_size")
5813  )
5814)
5815
5816(define-method add_field_value
5817  (of-object "GdaSqlBuilder")
5818  (c-name "gda_sql_builder_add_field_value")
5819  (return-type "none")
5820  (parameters
5821    '("const-gchar*" "field_name")
5822    '("GType" "type")
5823  )
5824  (varargs #t)
5825)
5826
5827(define-method add_field_value_as_gvalue
5828  (of-object "GdaSqlBuilder")
5829  (c-name "gda_sql_builder_add_field_value_as_gvalue")
5830  (return-type "none")
5831  (parameters
5832    '("const-gchar*" "field_name")
5833    '("const-GValue*" "value")
5834  )
5835)
5836
5837(define-method add_field_value_id
5838  (of-object "GdaSqlBuilder")
5839  (c-name "gda_sql_builder_add_field_value_id")
5840  (return-type "none")
5841  (parameters
5842    '("GdaSqlBuilderId" "field_id")
5843    '("GdaSqlBuilderId" "value_id")
5844  )
5845)
5846
5847(define-method set_table
5848  (of-object "GdaSqlBuilder")
5849  (c-name "gda_sql_builder_set_table")
5850  (return-type "none")
5851  (parameters
5852    '("const-gchar*" "table_name")
5853  )
5854)
5855
5856(define-method set_where
5857  (of-object "GdaSqlBuilder")
5858  (c-name "gda_sql_builder_set_where")
5859  (return-type "none")
5860  (parameters
5861    '("GdaSqlBuilderId" "cond_id")
5862  )
5863)
5864
5865(define-method select_add_field
5866  (of-object "GdaSqlBuilder")
5867  (c-name "gda_sql_builder_select_add_field")
5868  (return-type "GdaSqlBuilderId")
5869  (parameters
5870    '("const-gchar*" "field_name")
5871    '("const-gchar*" "table_name")
5872    '("const-gchar*" "alias")
5873  )
5874)
5875
5876(define-method select_add_target
5877  (of-object "GdaSqlBuilder")
5878  (c-name "gda_sql_builder_select_add_target")
5879  (return-type "GdaSqlBuilderId")
5880  (parameters
5881    '("const-gchar*" "table_name")
5882    '("const-gchar*" "alias")
5883  )
5884)
5885
5886(define-method select_add_target_id
5887  (of-object "GdaSqlBuilder")
5888  (c-name "gda_sql_builder_select_add_target_id")
5889  (return-type "GdaSqlBuilderId")
5890  (parameters
5891    '("GdaSqlBuilderId" "table_id")
5892    '("const-gchar*" "alias")
5893  )
5894)
5895
5896(define-method select_join_targets
5897  (of-object "GdaSqlBuilder")
5898  (c-name "gda_sql_builder_select_join_targets")
5899  (return-type "GdaSqlBuilderId")
5900  (parameters
5901    '("GdaSqlBuilderId" "left_target_id")
5902    '("GdaSqlBuilderId" "right_target_id")
5903    '("GdaSqlSelectJoinType" "join_type")
5904    '("GdaSqlBuilderId" "join_expr")
5905  )
5906)
5907
5908(define-method join_add_field
5909  (of-object "GdaSqlBuilder")
5910  (c-name "gda_sql_builder_join_add_field")
5911  (return-type "none")
5912  (parameters
5913    '("GdaSqlBuilderId" "join_id")
5914    '("const-gchar*" "field_name")
5915  )
5916)
5917
5918(define-method select_order_by
5919  (of-object "GdaSqlBuilder")
5920  (c-name "gda_sql_builder_select_order_by")
5921  (return-type "none")
5922  (parameters
5923    '("GdaSqlBuilderId" "expr_id")
5924    '("gboolean" "asc")
5925    '("const-gchar*" "collation_name")
5926  )
5927)
5928
5929(define-method select_set_distinct
5930  (of-object "GdaSqlBuilder")
5931  (c-name "gda_sql_builder_select_set_distinct")
5932  (return-type "none")
5933  (parameters
5934    '("gboolean" "distinct")
5935    '("GdaSqlBuilderId" "expr_id")
5936  )
5937)
5938
5939(define-method select_set_limit
5940  (of-object "GdaSqlBuilder")
5941  (c-name "gda_sql_builder_select_set_limit")
5942  (return-type "none")
5943  (parameters
5944    '("GdaSqlBuilderId" "limit_count_expr_id")
5945    '("GdaSqlBuilderId" "limit_offset_expr_id")
5946  )
5947)
5948
5949(define-method select_set_having
5950  (of-object "GdaSqlBuilder")
5951  (c-name "gda_sql_builder_select_set_having")
5952  (return-type "none")
5953  (parameters
5954    '("GdaSqlBuilderId" "cond_id")
5955  )
5956)
5957
5958(define-method select_group_by
5959  (of-object "GdaSqlBuilder")
5960  (c-name "gda_sql_builder_select_group_by")
5961  (return-type "none")
5962  (parameters
5963    '("GdaSqlBuilderId" "expr_id")
5964  )
5965)
5966
5967(define-method compound_set_type
5968  (of-object "GdaSqlBuilder")
5969  (c-name "gda_sql_builder_compound_set_type")
5970  (return-type "none")
5971  (parameters
5972    '("GdaSqlStatementCompoundType" "compound_type")
5973  )
5974)
5975
5976(define-method compound_add_sub_select
5977  (of-object "GdaSqlBuilder")
5978  (c-name "gda_sql_builder_compound_add_sub_select")
5979  (return-type "none")
5980  (parameters
5981    '("GdaSqlStatement*" "sqlst")
5982  )
5983)
5984
5985(define-method compound_add_sub_select_from_builder
5986  (of-object "GdaSqlBuilder")
5987  (c-name "gda_sql_builder_compound_add_sub_select_from_builder")
5988  (return-type "none")
5989  (parameters
5990    '("GdaSqlBuilder*" "subselect")
5991  )
5992)
5993
5994(define-method export_expression
5995  (of-object "GdaSqlBuilder")
5996  (c-name "gda_sql_builder_export_expression")
5997  (return-type "GdaSqlExpr*")
5998  (parameters
5999    '("GdaSqlBuilderId" "id")
6000  )
6001)
6002
6003(define-method import_expression
6004  (of-object "GdaSqlBuilder")
6005  (c-name "gda_sql_builder_import_expression")
6006  (return-type "GdaSqlBuilderId")
6007  (parameters
6008    '("GdaSqlExpr*" "expr")
6009  )
6010)
6011
6012(define-method import_expression_from_builder
6013  (of-object "GdaSqlBuilder")
6014  (c-name "gda_sql_builder_import_expression_from_builder")
6015  (return-type "GdaSqlBuilderId")
6016  (parameters
6017    '("GdaSqlBuilder*" "query")
6018    '("GdaSqlBuilderId" "expr_id")
6019  )
6020)
6021
6022
6023
6024;; From gda-statement-extra.h
6025
6026(define-method to_sql_real
6027  (of-object "GdaStatement")
6028  (c-name "gda_statement_to_sql_real")
6029  (return-type "gchar*")
6030  (parameters
6031    '("GdaSqlRenderingContext*" "context")
6032    '("GError**" "error")
6033  )
6034)
6035
6036
6037
6038;; From gda-statement.h
6039
6040(define-function gda_statement_get_type
6041  (c-name "gda_statement_get_type")
6042  (return-type "GType")
6043)
6044
6045(define-function gda_statement_new
6046  (c-name "gda_statement_new")
6047  (is-constructor-of "GdaStatement")
6048  (return-type "GdaStatement*")
6049)
6050
6051(define-method copy
6052  (of-object "GdaStatement")
6053  (c-name "gda_statement_copy")
6054  (return-type "GdaStatement*")
6055)
6056
6057(define-method serialize
6058  (of-object "GdaStatement")
6059  (c-name "gda_statement_serialize")
6060  (return-type "gchar*")
6061)
6062
6063(define-method get_parameters
6064  (of-object "GdaStatement")
6065  (c-name "gda_statement_get_parameters")
6066  (return-type "gboolean")
6067  (parameters
6068    '("GdaSet**" "out_params")
6069    '("GError**" "error")
6070  )
6071)
6072
6073(define-method to_sql_extended
6074  (of-object "GdaStatement")
6075  (c-name "gda_statement_to_sql_extended")
6076  (return-type "gchar*")
6077  (parameters
6078    '("GdaConnection*" "cnc")
6079    '("GdaSet*" "params")
6080    '("GdaStatementSqlFlag" "flags")
6081    '("GSList**" "params_used")
6082    '("GError**" "error")
6083  )
6084)
6085
6086(define-method get_statement_type
6087  (of-object "GdaStatement")
6088  (c-name "gda_statement_get_statement_type")
6089  (return-type "GdaSqlStatementType")
6090)
6091
6092(define-method is_useless
6093  (of-object "GdaStatement")
6094  (c-name "gda_statement_is_useless")
6095  (return-type "gboolean")
6096)
6097
6098(define-method check_structure
6099  (of-object "GdaStatement")
6100  (c-name "gda_statement_check_structure")
6101  (return-type "gboolean")
6102  (parameters
6103    '("GError**" "error")
6104  )
6105)
6106
6107(define-method check_validity
6108  (of-object "GdaStatement")
6109  (c-name "gda_statement_check_validity")
6110  (return-type "gboolean")
6111  (parameters
6112    '("GdaConnection*" "cnc")
6113    '("GError**" "error")
6114  )
6115)
6116
6117(define-method normalize
6118  (of-object "GdaStatement")
6119  (c-name "gda_statement_normalize")
6120  (return-type "gboolean")
6121  (parameters
6122    '("GdaConnection*" "cnc")
6123    '("GError**" "error")
6124  )
6125)
6126
6127
6128
6129;; From gda-transaction-status.h
6130
6131(define-function gda_transaction_status_get_type
6132  (c-name "gda_transaction_status_get_type")
6133  (return-type "GType")
6134)
6135
6136(define-function gda_transaction_status_new
6137  (c-name "gda_transaction_status_new")
6138  (is-constructor-of "GdaTransactionStatus")
6139  (return-type "GdaTransactionStatus*")
6140  (parameters
6141    '("const-gchar*" "name")
6142  )
6143)
6144
6145
6146
6147;; From gda-transaction-status-private.h
6148
6149(define-method add_event_svp
6150  (of-object "GdaTransactionStatus")
6151  (c-name "gda_transaction_status_add_event_svp")
6152  (return-type "GdaTransactionStatusEvent*")
6153  (parameters
6154    '("const-gchar*" "svp_name")
6155  )
6156)
6157
6158(define-method add_event_sql
6159  (of-object "GdaTransactionStatus")
6160  (c-name "gda_transaction_status_add_event_sql")
6161  (return-type "GdaTransactionStatusEvent*")
6162  (parameters
6163    '("const-gchar*" "sql")
6164    '("GdaConnectionEvent*" "conn_event")
6165  )
6166)
6167
6168(define-method add_event_sub
6169  (of-object "GdaTransactionStatus")
6170  (c-name "gda_transaction_status_add_event_sub")
6171  (return-type "GdaTransactionStatusEvent*")
6172  (parameters
6173    '("GdaTransactionStatus*" "sub_trans")
6174  )
6175)
6176
6177(define-method free_events
6178  (of-object "GdaTransactionStatus")
6179  (c-name "gda_transaction_status_free_events")
6180  (return-type "none")
6181  (parameters
6182    '("GdaTransactionStatusEvent*" "event")
6183    '("gboolean" "free_after")
6184  )
6185)
6186
6187(define-method find
6188  (of-object "GdaTransactionStatus")
6189  (c-name "gda_transaction_status_find")
6190  (return-type "GdaTransactionStatus*")
6191  (parameters
6192    '("const-gchar*" "str")
6193    '("GdaTransactionStatusEvent**" "destev")
6194  )
6195)
6196
6197(define-method find_current
6198  (of-object "GdaTransactionStatus")
6199  (c-name "gda_transaction_status_find_current")
6200  (return-type "GdaTransactionStatus*")
6201  (parameters
6202    '("GdaTransactionStatusEvent**" "destev")
6203    '("gboolean" "unnamed_only")
6204  )
6205)
6206
6207(define-method dump
6208  (of-object "GdaTransactionStatus")
6209  (c-name "gda_transaction_status_dump")
6210  (return-type "none")
6211  (parameters
6212    '("guint" "offset")
6213  )
6214)
6215
6216
6217
6218;; From gda-tree.h
6219
6220(define-function gda_tree_get_type
6221  (c-name "gda_tree_get_type")
6222  (return-type "GType")
6223)
6224
6225(define-function gda_tree_new
6226  (c-name "gda_tree_new")
6227  (is-constructor-of "GdaTree")
6228  (return-type "GdaTree*")
6229)
6230
6231(define-method add_manager
6232  (of-object "GdaTree")
6233  (c-name "gda_tree_add_manager")
6234  (return-type "none")
6235  (parameters
6236    '("GdaTreeManager*" "manager")
6237  )
6238)
6239
6240(define-method clean
6241  (of-object "GdaTree")
6242  (c-name "gda_tree_clean")
6243  (return-type "none")
6244)
6245
6246(define-method update_all
6247  (of-object "GdaTree")
6248  (c-name "gda_tree_update_all")
6249  (return-type "gboolean")
6250  (parameters
6251    '("GError**" "error")
6252  )
6253)
6254
6255(define-method update_part
6256  (of-object "GdaTree")
6257  (c-name "gda_tree_update_part")
6258  (return-type "gboolean")
6259  (parameters
6260    '("GdaTreeNode*" "node")
6261    '("GError**" "error")
6262  )
6263)
6264
6265(define-method update_children
6266  (of-object "GdaTree")
6267  (c-name "gda_tree_update_children")
6268  (return-type "gboolean")
6269  (parameters
6270    '("GdaTreeNode*" "node")
6271    '("GError**" "error")
6272  )
6273)
6274
6275(define-method get_nodes_in_path
6276  (of-object "GdaTree")
6277  (c-name "gda_tree_get_nodes_in_path")
6278  (return-type "GSList*")
6279  (parameters
6280    '("const-gchar*" "tree_path")
6281    '("gboolean" "use_names")
6282  )
6283)
6284
6285(define-method get_node
6286  (of-object "GdaTree")
6287  (c-name "gda_tree_get_node")
6288  (return-type "GdaTreeNode*")
6289  (parameters
6290    '("const-gchar*" "tree_path")
6291    '("gboolean" "use_names")
6292  )
6293)
6294
6295(define-method get_node_path
6296  (of-object "GdaTree")
6297  (c-name "gda_tree_get_node_path")
6298  (return-type "gchar*")
6299  (parameters
6300    '("GdaTreeNode*" "node")
6301  )
6302)
6303
6304(define-method get_node_manager
6305  (of-object "GdaTree")
6306  (c-name "gda_tree_get_node_manager")
6307  (return-type "GdaTreeManager*")
6308  (parameters
6309    '("GdaTreeNode*" "node")
6310  )
6311)
6312
6313(define-method set_attribute
6314  (of-object "GdaTree")
6315  (c-name "gda_tree_set_attribute")
6316  (return-type "none")
6317  (parameters
6318    '("const-gchar*" "attribute")
6319    '("const-GValue*" "value")
6320    '("GDestroyNotify" "destroy")
6321  )
6322)
6323
6324(define-method dump
6325  (of-object "GdaTree")
6326  (c-name "gda_tree_dump")
6327  (return-type "none")
6328  (parameters
6329    '("GdaTreeNode*" "node")
6330    '("FILE*" "stream")
6331  )
6332)
6333
6334
6335
6336;; From gda-tree-manager.h
6337
6338(define-function gda_tree_manager_get_type
6339  (c-name "gda_tree_manager_get_type")
6340  (return-type "GType")
6341)
6342
6343(define-function gda_tree_manager_new_with_func
6344  (c-name "gda_tree_manager_new_with_func")
6345  (return-type "GdaTreeManager*")
6346  (parameters
6347    '("GdaTreeManagerNodesFunc" "update_func")
6348  )
6349)
6350
6351(define-method add_manager
6352  (of-object "GdaTreeManager")
6353  (c-name "gda_tree_manager_add_manager")
6354  (return-type "none")
6355  (parameters
6356    '("GdaTreeManager*" "sub")
6357  )
6358)
6359
6360(define-method get_managers
6361  (of-object "GdaTreeManager")
6362  (c-name "gda_tree_manager_get_managers")
6363  (return-type "const-GSList*")
6364)
6365
6366(define-method set_node_create_func
6367  (of-object "GdaTreeManager")
6368  (c-name "gda_tree_manager_set_node_create_func")
6369  (return-type "none")
6370  (parameters
6371    '("GdaTreeManagerNodeFunc" "func")
6372  )
6373)
6374
6375(define-method get_node_create_func
6376  (of-object "GdaTreeManager")
6377  (c-name "gda_tree_manager_get_node_create_func")
6378  (return-type "GdaTreeManagerNodeFunc")
6379)
6380
6381(define-method add_new_node_attribute
6382  (of-object "GdaTreeManager")
6383  (c-name "gda_tree_manager_add_new_node_attribute")
6384  (return-type "none")
6385  (parameters
6386    '("const-gchar*" "attribute")
6387    '("const-GValue*" "value")
6388  )
6389)
6390
6391(define-method create_node
6392  (of-object "GdaTreeManager")
6393  (c-name "gda_tree_manager_create_node")
6394  (return-type "GdaTreeNode*")
6395  (parameters
6396    '("GdaTreeNode*" "parent")
6397    '("const-gchar*" "name")
6398  )
6399)
6400
6401
6402
6403;; From gda-tree-mgr-columns.h
6404
6405(define-function gda_tree_mgr_columns_get_type
6406  (c-name "gda_tree_mgr_columns_get_type")
6407  (return-type "GType")
6408)
6409
6410(define-function gda_tree_mgr_columns_new
6411  (c-name "gda_tree_mgr_columns_new")
6412  (is-constructor-of "GdaTreeMgrColumns")
6413  (return-type "GdaTreeManager*")
6414  (parameters
6415    '("GdaConnection*" "cnc")
6416    '("const-gchar*" "schema")
6417    '("const-gchar*" "table_name")
6418  )
6419)
6420
6421
6422
6423;; From gda-tree-mgr-label.h
6424
6425(define-function gda_tree_mgr_label_get_type
6426  (c-name "gda_tree_mgr_label_get_type")
6427  (return-type "GType")
6428)
6429
6430(define-function gda_tree_mgr_label_new
6431  (c-name "gda_tree_mgr_label_new")
6432  (is-constructor-of "GdaTreeMgrLabel")
6433  (return-type "GdaTreeManager*")
6434  (parameters
6435    '("const-gchar*" "label")
6436  )
6437)
6438
6439
6440
6441;; From gda-tree-mgr-ldap.h
6442
6443(define-function gda_tree_mgr_ldap_get_type
6444  (c-name "gda_tree_mgr_ldap_get_type")
6445  (return-type "GType")
6446)
6447
6448(define-function gda_tree_mgr_ldap_new
6449  (c-name "gda_tree_mgr_ldap_new")
6450  (is-constructor-of "GdaTreeMgrLdap")
6451  (return-type "GdaTreeManager*")
6452  (parameters
6453    '("GdaConnection*" "cnc")
6454    '("const-gchar*" "dn")
6455  )
6456)
6457
6458
6459
6460;; From gda-tree-mgr-schemas.h
6461
6462(define-function gda_tree_mgr_schemas_get_type
6463  (c-name "gda_tree_mgr_schemas_get_type")
6464  (return-type "GType")
6465)
6466
6467(define-function gda_tree_mgr_schemas_new
6468  (c-name "gda_tree_mgr_schemas_new")
6469  (is-constructor-of "GdaTreeMgrSchemas")
6470  (return-type "GdaTreeManager*")
6471  (parameters
6472    '("GdaConnection*" "cnc")
6473  )
6474)
6475
6476
6477
6478;; From gda-tree-mgr-select.h
6479
6480(define-function gda_tree_mgr_select_get_type
6481  (c-name "gda_tree_mgr_select_get_type")
6482  (return-type "GType")
6483)
6484
6485(define-function gda_tree_mgr_select_new
6486  (c-name "gda_tree_mgr_select_new")
6487  (is-constructor-of "GdaTreeMgrSelect")
6488  (return-type "GdaTreeManager*")
6489  (parameters
6490    '("GdaConnection*" "cnc")
6491    '("GdaStatement*" "stmt")
6492    '("GdaSet*" "params")
6493  )
6494)
6495
6496
6497
6498;; From gda-tree-mgr-tables.h
6499
6500(define-function gda_tree_mgr_tables_get_type
6501  (c-name "gda_tree_mgr_tables_get_type")
6502  (return-type "GType")
6503)
6504
6505(define-function gda_tree_mgr_tables_new
6506  (c-name "gda_tree_mgr_tables_new")
6507  (is-constructor-of "GdaTreeMgrTables")
6508  (return-type "GdaTreeManager*")
6509  (parameters
6510    '("GdaConnection*" "cnc")
6511    '("const-gchar*" "schema")
6512  )
6513)
6514
6515
6516
6517;; From gda-tree-node.h
6518
6519(define-function gda_tree_node_get_type
6520  (c-name "gda_tree_node_get_type")
6521  (return-type "GType")
6522)
6523
6524(define-function gda_tree_node_new
6525  (c-name "gda_tree_node_new")
6526  (is-constructor-of "GdaTreeNode")
6527  (return-type "GdaTreeNode*")
6528  (parameters
6529    '("const-gchar*" "name")
6530  )
6531)
6532
6533(define-method get_parent
6534  (of-object "GdaTreeNode")
6535  (c-name "gda_tree_node_get_parent")
6536  (return-type "GdaTreeNode*")
6537)
6538
6539(define-method get_children
6540  (of-object "GdaTreeNode")
6541  (c-name "gda_tree_node_get_children")
6542  (return-type "GSList*")
6543)
6544
6545(define-method get_child_index
6546  (of-object "GdaTreeNode")
6547  (c-name "gda_tree_node_get_child_index")
6548  (return-type "GdaTreeNode*")
6549  (parameters
6550    '("gint" "index")
6551  )
6552)
6553
6554(define-method get_child_name
6555  (of-object "GdaTreeNode")
6556  (c-name "gda_tree_node_get_child_name")
6557  (return-type "GdaTreeNode*")
6558  (parameters
6559    '("const-gchar*" "name")
6560  )
6561)
6562
6563(define-method set_node_attribute
6564  (of-object "GdaTreeNode")
6565  (c-name "gda_tree_node_set_node_attribute")
6566  (return-type "none")
6567  (parameters
6568    '("const-gchar*" "attribute")
6569    '("const-GValue*" "value")
6570    '("GDestroyNotify" "destroy")
6571  )
6572)
6573
6574(define-method get_node_attribute
6575  (of-object "GdaTreeNode")
6576  (c-name "gda_tree_node_get_node_attribute")
6577  (return-type "const-GValue*")
6578  (parameters
6579    '("const-gchar*" "attribute")
6580  )
6581)
6582
6583(define-method fetch_attribute
6584  (of-object "GdaTreeNode")
6585  (c-name "gda_tree_node_fetch_attribute")
6586  (return-type "const-GValue*")
6587  (parameters
6588    '("const-gchar*" "attribute")
6589  )
6590)
6591
6592
6593
6594;; From gda-util.h
6595
6596(define-function gda_g_type_to_string
6597  (c-name "gda_g_type_to_string")
6598  (return-type "const-gchar*")
6599  (parameters
6600    '("GType" "type")
6601  )
6602)
6603
6604(define-function gda_g_type_from_string
6605  (c-name "gda_g_type_from_string")
6606  (return-type "GType")
6607  (parameters
6608    '("const-gchar*" "str")
6609  )
6610)
6611
6612(define-function gda_default_escape_string
6613  (c-name "gda_default_escape_string")
6614  (return-type "gchar*")
6615  (parameters
6616    '("const-gchar*" "string")
6617  )
6618)
6619
6620(define-function gda_default_unescape_string
6621  (c-name "gda_default_unescape_string")
6622  (return-type "gchar*")
6623  (parameters
6624    '("const-gchar*" "string")
6625  )
6626)
6627
6628(define-function gda_identifier_hash
6629  (c-name "gda_identifier_hash")
6630  (return-type "guint")
6631  (parameters
6632    '("const-gchar*" "id")
6633  )
6634)
6635
6636(define-function gda_identifier_equal
6637  (c-name "gda_identifier_equal")
6638  (return-type "gboolean")
6639  (parameters
6640    '("const-gchar*" "id1")
6641    '("const-gchar*" "id2")
6642  )
6643)
6644
6645(define-function gda_completion_list_get
6646  (c-name "gda_completion_list_get")
6647  (return-type "gchar**")
6648  (parameters
6649    '("GdaConnection*" "cnc")
6650    '("const-gchar*" "sql")
6651    '("gint" "start")
6652    '("gint" "end")
6653  )
6654)
6655
6656(define-function gda_sql_identifier_split
6657  (c-name "gda_sql_identifier_split")
6658  (return-type "gchar**")
6659  (parameters
6660    '("const-gchar*" "id")
6661  )
6662)
6663
6664(define-function gda_sql_identifier_quote
6665  (c-name "gda_sql_identifier_quote")
6666  (return-type "gchar*")
6667  (parameters
6668    '("const-gchar*" "id")
6669    '("GdaConnection*" "cnc")
6670    '("GdaServerProvider*" "prov")
6671    '("gboolean" "meta_store_convention")
6672    '("gboolean" "force_quotes")
6673  )
6674)
6675
6676(define-function gda_utility_check_data_model
6677  (c-name "gda_utility_check_data_model")
6678  (return-type "gboolean")
6679  (parameters
6680    '("GdaDataModel*" "model")
6681    '("gint" "nbcols")
6682  )
6683  (varargs #t)
6684)
6685
6686(define-function gda_utility_check_data_model_v
6687  (c-name "gda_utility_check_data_model_v")
6688  (return-type "gboolean")
6689  (parameters
6690    '("GdaDataModel*" "model")
6691    '("gint" "nbcols")
6692    '("GType*" "types")
6693  )
6694)
6695
6696(define-function gda_utility_data_model_dump_data_to_xml
6697  (c-name "gda_utility_data_model_dump_data_to_xml")
6698  (return-type "gboolean")
6699  (parameters
6700    '("GdaDataModel*" "model")
6701    '("xmlNodePtr" "parent")
6702    '("const-gint*" "cols")
6703    '("gint" "nb_cols")
6704    '("const-gint*" "rows")
6705    '("gint" "nb_rows")
6706    '("gboolean" "use_col_ids")
6707  )
6708)
6709
6710(define-function gda_utility_data_model_find_column_description
6711  (c-name "gda_utility_data_model_find_column_description")
6712  (return-type "const-gchar*")
6713  (parameters
6714    '("GdaDataSelect*" "model")
6715    '("const-gchar*" "field_name")
6716  )
6717)
6718
6719(define-function gda_utility_holder_load_attributes
6720  (c-name "gda_utility_holder_load_attributes")
6721  (return-type "gboolean")
6722  (parameters
6723    '("GdaHolder*" "holder")
6724    '("xmlNodePtr" "node")
6725    '("GSList*" "sources")
6726    '("GError**" "error")
6727  )
6728)
6729
6730(define-method rewrite_for_default_values
6731  (of-object "GdaStatement")
6732  (c-name "gda_statement_rewrite_for_default_values")
6733  (return-type "GdaSqlStatement*")
6734  (parameters
6735    '("GdaSet*" "params")
6736    '("gboolean" "remove")
6737    '("GError**" "error")
6738  )
6739)
6740
6741(define-function gda_text_to_alphanum
6742  (c-name "gda_text_to_alphanum")
6743  (return-type "gchar*")
6744  (parameters
6745    '("const-gchar*" "text")
6746  )
6747)
6748
6749(define-function gda_alphanum_to_text
6750  (c-name "gda_alphanum_to_text")
6751  (return-type "gchar*")
6752  (parameters
6753    '("gchar*" "text")
6754  )
6755)
6756
6757(define-function gda_compute_unique_table_row_condition
6758  (c-name "gda_compute_unique_table_row_condition")
6759  (return-type "GdaSqlExpr*")
6760  (parameters
6761    '("GdaSqlStatementSelect*" "stsel")
6762    '("GdaMetaTable*" "mtable")
6763    '("gboolean" "require_pk")
6764    '("GError**" "error")
6765  )
6766)
6767
6768(define-function gda_compute_unique_table_row_condition_with_cnc
6769  (c-name "gda_compute_unique_table_row_condition_with_cnc")
6770  (return-type "GdaSqlExpr*")
6771  (parameters
6772    '("GdaConnection*" "cnc")
6773    '("GdaSqlStatementSelect*" "stsel")
6774    '("GdaMetaTable*" "mtable")
6775    '("gboolean" "require_pk")
6776    '("GError**" "error")
6777  )
6778)
6779
6780(define-function gda_compute_dml_statements
6781  (c-name "gda_compute_dml_statements")
6782  (return-type "gboolean")
6783  (parameters
6784    '("GdaConnection*" "cnc")
6785    '("GdaStatement*" "select_stmt")
6786    '("gboolean" "require_pk")
6787    '("GdaStatement**" "insert_stmt")
6788    '("GdaStatement**" "update_stmt")
6789    '("GdaStatement**" "delete_stmt")
6790    '("GError**" "error")
6791  )
6792)
6793
6794(define-function gda_compute_select_statement_from_update
6795  (c-name "gda_compute_select_statement_from_update")
6796  (return-type "GdaSqlStatement*")
6797  (parameters
6798    '("GdaStatement*" "update_stmt")
6799    '("GError**" "error")
6800  )
6801)
6802
6803(define-function gda_rewrite_sql_statement_for_null_parameters
6804  (c-name "gda_rewrite_sql_statement_for_null_parameters")
6805  (return-type "GdaSqlStatement*")
6806  (parameters
6807    '("GdaSqlStatement*" "sqlst")
6808    '("GdaSet*" "params")
6809    '("gboolean*" "out_modified")
6810    '("GError**" "error")
6811  )
6812)
6813
6814(define-function gda_rewrite_statement_for_null_parameters
6815  (c-name "gda_rewrite_statement_for_null_parameters")
6816  (return-type "gboolean")
6817  (parameters
6818    '("GdaStatement*" "stmt")
6819    '("GdaSet*" "params")
6820    '("GdaStatement**" "out_stmt")
6821    '("GError**" "error")
6822  )
6823)
6824
6825(define-function gda_rfc1738_encode
6826  (c-name "gda_rfc1738_encode")
6827  (return-type "gchar*")
6828  (parameters
6829    '("const-gchar*" "string")
6830  )
6831)
6832
6833(define-function gda_rfc1738_decode
6834  (c-name "gda_rfc1738_decode")
6835  (return-type "gboolean")
6836  (parameters
6837    '("gchar*" "string")
6838  )
6839)
6840
6841(define-function gda_dsn_split
6842  (c-name "gda_dsn_split")
6843  (return-type "none")
6844  (parameters
6845    '("const-gchar*" "string")
6846    '("gchar**" "out_dsn")
6847    '("gchar**" "out_username")
6848    '("gchar**" "out_password")
6849  )
6850)
6851
6852(define-function gda_connection_string_split
6853  (c-name "gda_connection_string_split")
6854  (return-type "none")
6855  (parameters
6856    '("const-gchar*" "string")
6857    '("gchar**" "out_cnc_params")
6858    '("gchar**" "out_provider")
6859    '("gchar**" "out_username")
6860    '("gchar**" "out_password")
6861  )
6862)
6863
6864(define-function gda_parse_iso8601_date
6865  (c-name "gda_parse_iso8601_date")
6866  (return-type "gboolean")
6867  (parameters
6868    '("GDate*" "gdate")
6869    '("const-gchar*" "value")
6870  )
6871)
6872
6873(define-function gda_parse_iso8601_time
6874  (c-name "gda_parse_iso8601_time")
6875  (return-type "gboolean")
6876  (parameters
6877    '("GdaTime*" "timegda")
6878    '("const-gchar*" "value")
6879  )
6880)
6881
6882(define-function gda_parse_iso8601_timestamp
6883  (c-name "gda_parse_iso8601_timestamp")
6884  (return-type "gboolean")
6885  (parameters
6886    '("GdaTimestamp*" "timestamp")
6887    '("const-gchar*" "value")
6888  )
6889)
6890
6891
6892
6893;; From gda-value.h
6894
6895(define-function gda_value_new
6896  (c-name "gda_value_new")
6897  (is-constructor-of "GdaValue")
6898  (return-type "GValue*")
6899  (parameters
6900    '("GType" "type")
6901  )
6902)
6903
6904(define-function gda_value_new_null
6905  (c-name "gda_value_new_null")
6906  (return-type "GValue*")
6907)
6908
6909(define-function gda_value_new_default
6910  (c-name "gda_value_new_default")
6911  (return-type "GValue*")
6912  (parameters
6913    '("const-gchar*" "default_val")
6914  )
6915)
6916
6917(define-function gda_value_new_binary
6918  (c-name "gda_value_new_binary")
6919  (return-type "GValue*")
6920  (parameters
6921    '("const-guchar*" "val")
6922    '("glong" "size")
6923  )
6924)
6925
6926(define-function gda_value_new_blob
6927  (c-name "gda_value_new_blob")
6928  (return-type "GValue*")
6929  (parameters
6930    '("const-guchar*" "val")
6931    '("glong" "size")
6932  )
6933)
6934
6935(define-function gda_value_new_blob_from_file
6936  (c-name "gda_value_new_blob_from_file")
6937  (return-type "GValue*")
6938  (parameters
6939    '("const-gchar*" "filename")
6940  )
6941)
6942
6943(define-function gda_value_new_timestamp_from_timet
6944  (c-name "gda_value_new_timestamp_from_timet")
6945  (return-type "GValue*")
6946  (parameters
6947    '("time_t" "val")
6948  )
6949)
6950
6951(define-function gda_value_new_from_string
6952  (c-name "gda_value_new_from_string")
6953  (return-type "GValue*")
6954  (parameters
6955    '("const-gchar*" "as_string")
6956    '("GType" "type")
6957  )
6958)
6959
6960(define-function gda_value_new_from_xml
6961  (c-name "gda_value_new_from_xml")
6962  (return-type "GValue*")
6963  (parameters
6964    '("const-xmlNodePtr" "node")
6965  )
6966)
6967
6968(define-function gda_value_free
6969  (c-name "gda_value_free")
6970  (return-type "none")
6971  (parameters
6972    '("GValue*" "value")
6973  )
6974)
6975
6976(define-function gda_value_reset_with_type
6977  (c-name "gda_value_reset_with_type")
6978  (return-type "none")
6979  (parameters
6980    '("GValue*" "value")
6981    '("GType" "type")
6982  )
6983)
6984
6985(define-function gda_value_is_null
6986  (c-name "gda_value_is_null")
6987  (return-type "gboolean")
6988  (parameters
6989    '("const-GValue*" "value")
6990  )
6991)
6992
6993(define-function gda_value_is_number
6994  (c-name "gda_value_is_number")
6995  (return-type "gboolean")
6996  (parameters
6997    '("const-GValue*" "value")
6998  )
6999)
7000
7001(define-function gda_value_copy
7002  (c-name "gda_value_copy")
7003  (return-type "GValue*")
7004  (parameters
7005    '("const-GValue*" "value")
7006  )
7007)
7008
7009(define-function gda_value_get_binary
7010  (c-name "gda_value_get_binary")
7011  (return-type "const-GdaBinary*")
7012  (parameters
7013    '("const-GValue*" "value")
7014  )
7015)
7016
7017(define-function gda_value_set_binary
7018  (c-name "gda_value_set_binary")
7019  (return-type "none")
7020  (parameters
7021    '("GValue*" "value")
7022    '("const-GdaBinary*" "binary")
7023  )
7024)
7025
7026(define-function gda_value_take_binary
7027  (c-name "gda_value_take_binary")
7028  (return-type "none")
7029  (parameters
7030    '("GValue*" "value")
7031    '("GdaBinary*" "binary")
7032  )
7033)
7034
7035(define-function gda_value_get_blob
7036  (c-name "gda_value_get_blob")
7037  (return-type "const-GdaBlob*")
7038  (parameters
7039    '("const-GValue*" "value")
7040  )
7041)
7042
7043(define-function gda_value_set_blob
7044  (c-name "gda_value_set_blob")
7045  (return-type "none")
7046  (parameters
7047    '("GValue*" "value")
7048    '("const-GdaBlob*" "blob")
7049  )
7050)
7051
7052(define-function gda_value_take_blob
7053  (c-name "gda_value_take_blob")
7054  (return-type "none")
7055  (parameters
7056    '("GValue*" "value")
7057    '("GdaBlob*" "blob")
7058  )
7059)
7060
7061(define-function gda_value_get_geometric_point
7062  (c-name "gda_value_get_geometric_point")
7063  (return-type "const-GdaGeometricPoint*")
7064  (parameters
7065    '("const-GValue*" "value")
7066  )
7067)
7068
7069(define-function gda_value_set_geometric_point
7070  (c-name "gda_value_set_geometric_point")
7071  (return-type "none")
7072  (parameters
7073    '("GValue*" "value")
7074    '("const-GdaGeometricPoint*" "val")
7075  )
7076)
7077
7078(define-function gda_value_set_null
7079  (c-name "gda_value_set_null")
7080  (return-type "none")
7081  (parameters
7082    '("GValue*" "value")
7083  )
7084)
7085
7086(define-function gda_value_get_numeric
7087  (c-name "gda_value_get_numeric")
7088  (return-type "const-GdaNumeric*")
7089  (parameters
7090    '("const-GValue*" "value")
7091  )
7092)
7093
7094(define-function gda_value_set_numeric
7095  (c-name "gda_value_set_numeric")
7096  (return-type "none")
7097  (parameters
7098    '("GValue*" "value")
7099    '("const-GdaNumeric*" "val")
7100  )
7101)
7102
7103(define-function gda_value_get_short
7104  (c-name "gda_value_get_short")
7105  (return-type "gshort")
7106  (parameters
7107    '("const-GValue*" "value")
7108  )
7109)
7110
7111(define-function gda_value_set_short
7112  (c-name "gda_value_set_short")
7113  (return-type "none")
7114  (parameters
7115    '("GValue*" "value")
7116    '("const-gshort" "val")
7117  )
7118)
7119
7120(define-function gda_value_get_ushort
7121  (c-name "gda_value_get_ushort")
7122  (return-type "gushort")
7123  (parameters
7124    '("const-GValue*" "value")
7125  )
7126)
7127
7128(define-function gda_value_set_ushort
7129  (c-name "gda_value_set_ushort")
7130  (return-type "none")
7131  (parameters
7132    '("GValue*" "value")
7133    '("const-gushort" "val")
7134  )
7135)
7136
7137(define-function gda_value_get_time
7138  (c-name "gda_value_get_time")
7139  (return-type "const-GdaTime*")
7140  (parameters
7141    '("const-GValue*" "value")
7142  )
7143)
7144
7145(define-function gda_value_set_time
7146  (c-name "gda_value_set_time")
7147  (return-type "none")
7148  (parameters
7149    '("GValue*" "value")
7150    '("const-GdaTime*" "val")
7151  )
7152)
7153
7154(define-function gda_value_get_timestamp
7155  (c-name "gda_value_get_timestamp")
7156  (return-type "const-GdaTimestamp*")
7157  (parameters
7158    '("const-GValue*" "value")
7159  )
7160)
7161
7162(define-function gda_value_set_timestamp
7163  (c-name "gda_value_set_timestamp")
7164  (return-type "none")
7165  (parameters
7166    '("GValue*" "value")
7167    '("const-GdaTimestamp*" "val")
7168  )
7169)
7170
7171(define-function gda_value_set_from_string
7172  (c-name "gda_value_set_from_string")
7173  (return-type "gboolean")
7174  (parameters
7175    '("GValue*" "value")
7176    '("const-gchar*" "as_string")
7177    '("GType" "type")
7178  )
7179)
7180
7181(define-function gda_value_set_from_value
7182  (c-name "gda_value_set_from_value")
7183  (return-type "gboolean")
7184  (parameters
7185    '("GValue*" "value")
7186    '("const-GValue*" "from")
7187  )
7188)
7189
7190(define-function gda_value_differ
7191  (c-name "gda_value_differ")
7192  (return-type "gint")
7193  (parameters
7194    '("const-GValue*" "value1")
7195    '("const-GValue*" "value2")
7196  )
7197)
7198
7199(define-function gda_value_compare
7200  (c-name "gda_value_compare")
7201  (return-type "gint")
7202  (parameters
7203    '("const-GValue*" "value1")
7204    '("const-GValue*" "value2")
7205  )
7206)
7207
7208(define-function gda_value_stringify
7209  (c-name "gda_value_stringify")
7210  (return-type "gchar*")
7211  (parameters
7212    '("const-GValue*" "value")
7213  )
7214)
7215
7216(define-function gda_value_to_xml
7217  (c-name "gda_value_to_xml")
7218  (return-type "xmlNodePtr")
7219  (parameters
7220    '("const-GValue*" "value")
7221  )
7222)
7223
7224(define-method to_string
7225  (of-object "GdaBinary")
7226  (c-name "gda_binary_to_string")
7227  (return-type "gchar*")
7228  (parameters
7229    '("guint" "maxlen")
7230  )
7231)
7232
7233(define-function gda_string_to_binary
7234  (c-name "gda_string_to_binary")
7235  (return-type "GdaBinary*")
7236  (parameters
7237    '("const-gchar*" "str")
7238  )
7239)
7240
7241(define-method to_string
7242  (of-object "GdaBlob")
7243  (c-name "gda_blob_to_string")
7244  (return-type "gchar*")
7245  (parameters
7246    '("guint" "maxlen")
7247  )
7248)
7249
7250(define-function gda_string_to_blob
7251  (c-name "gda_string_to_blob")
7252  (return-type "GdaBlob*")
7253  (parameters
7254    '("const-gchar*" "str")
7255  )
7256)
7257
7258(define-function gda_null_get_type
7259  (c-name "gda_null_get_type")
7260  (return-type "GType")
7261)
7262
7263(define-function gda_default_get_type
7264  (c-name "gda_default_get_type")
7265  (return-type "GType")
7266)
7267
7268(define-function gda_numeric_get_type
7269  (c-name "gda_numeric_get_type")
7270  (return-type "GType")
7271)
7272
7273(define-function gda_numeric_new
7274  (c-name "gda_numeric_new")
7275  (is-constructor-of "GdaNumeric")
7276  (return-type "GdaNumeric*")
7277)
7278
7279(define-function gda_numeric_copy
7280  (c-name "gda_numeric_copy")
7281  (return-type "GdaNumeric*")
7282  (parameters
7283    '("GdaNumeric*" "src")
7284  )
7285)
7286
7287(define-method set_from_string
7288  (of-object "GdaNumeric")
7289  (c-name "gda_numeric_set_from_string")
7290  (return-type "none")
7291  (parameters
7292    '("const-gchar*" "str")
7293  )
7294)
7295
7296(define-method set_double
7297  (of-object "GdaNumeric")
7298  (c-name "gda_numeric_set_double")
7299  (return-type "none")
7300  (parameters
7301    '("gdouble" "number")
7302  )
7303)
7304
7305(define-method get_double
7306  (of-object "GdaNumeric")
7307  (c-name "gda_numeric_get_double")
7308  (return-type "gdouble")
7309)
7310
7311(define-method set_precision
7312  (of-object "GdaNumeric")
7313  (c-name "gda_numeric_set_precision")
7314  (return-type "none")
7315  (parameters
7316    '("glong" "precision")
7317  )
7318)
7319
7320(define-method get_precision
7321  (of-object "GdaNumeric")
7322  (c-name "gda_numeric_get_precision")
7323  (return-type "glong")
7324)
7325
7326(define-method set_width
7327  (of-object "GdaNumeric")
7328  (c-name "gda_numeric_set_width")
7329  (return-type "none")
7330  (parameters
7331    '("glong" "width")
7332  )
7333)
7334
7335(define-method get_width
7336  (of-object "GdaNumeric")
7337  (c-name "gda_numeric_get_width")
7338  (return-type "glong")
7339)
7340
7341(define-method get_string
7342  (of-object "GdaNumeric")
7343  (c-name "gda_numeric_get_string")
7344  (return-type "gchar*")
7345)
7346
7347(define-function gda_numeric_free
7348  (c-name "gda_numeric_free")
7349  (return-type "none")
7350  (parameters
7351    '("GdaNumeric*" "numeric")
7352  )
7353)
7354
7355(define-function gda_time_get_type
7356  (c-name "gda_time_get_type")
7357  (return-type "GType")
7358)
7359
7360(define-function gda_time_copy
7361  (c-name "gda_time_copy")
7362  (return-type "gpointer")
7363  (parameters
7364    '("gpointer" "boxed")
7365  )
7366)
7367
7368(define-function gda_time_free
7369  (c-name "gda_time_free")
7370  (return-type "none")
7371  (parameters
7372    '("gpointer" "boxed")
7373  )
7374)
7375
7376(define-method valid
7377  (of-object "GdaTime")
7378  (c-name "gda_time_valid")
7379  (return-type "gboolean")
7380)
7381
7382(define-function gda_timestamp_get_type
7383  (c-name "gda_timestamp_get_type")
7384  (return-type "GType")
7385)
7386
7387(define-function gda_timestamp_copy
7388  (c-name "gda_timestamp_copy")
7389  (return-type "gpointer")
7390  (parameters
7391    '("gpointer" "boxed")
7392  )
7393)
7394
7395(define-function gda_timestamp_free
7396  (c-name "gda_timestamp_free")
7397  (return-type "none")
7398  (parameters
7399    '("gpointer" "boxed")
7400  )
7401)
7402
7403(define-method valid
7404  (of-object "GdaTimestamp")
7405  (c-name "gda_timestamp_valid")
7406  (return-type "gboolean")
7407)
7408
7409(define-function gda_geometricpoint_get_type
7410  (c-name "gda_geometricpoint_get_type")
7411  (return-type "GType")
7412)
7413
7414(define-function gda_geometricpoint_copy
7415  (c-name "gda_geometricpoint_copy")
7416  (return-type "gpointer")
7417  (parameters
7418    '("gpointer" "boxed")
7419  )
7420)
7421
7422(define-function gda_geometricpoint_free
7423  (c-name "gda_geometricpoint_free")
7424  (return-type "none")
7425  (parameters
7426    '("gpointer" "boxed")
7427  )
7428)
7429
7430(define-function gda_binary_get_type
7431  (c-name "gda_binary_get_type")
7432  (return-type "GType")
7433)
7434
7435(define-function gda_binary_copy
7436  (c-name "gda_binary_copy")
7437  (return-type "gpointer")
7438  (parameters
7439    '("gpointer" "boxed")
7440  )
7441)
7442
7443(define-function gda_binary_free
7444  (c-name "gda_binary_free")
7445  (return-type "none")
7446  (parameters
7447    '("gpointer" "boxed")
7448  )
7449)
7450
7451(define-function gda_blob_get_type
7452  (c-name "gda_blob_get_type")
7453  (return-type "GType")
7454)
7455
7456(define-function gda_blob_copy
7457  (c-name "gda_blob_copy")
7458  (return-type "gpointer")
7459  (parameters
7460    '("gpointer" "boxed")
7461  )
7462)
7463
7464(define-function gda_blob_free
7465  (c-name "gda_blob_free")
7466  (return-type "none")
7467  (parameters
7468    '("gpointer" "boxed")
7469  )
7470)
7471
7472(define-method set_op
7473  (of-object "GdaBlob")
7474  (c-name "gda_blob_set_op")
7475  (return-type "none")
7476  (parameters
7477    '("GdaBlobOp*" "op")
7478  )
7479)
7480
7481(define-function gda_short_get_type
7482  (c-name "gda_short_get_type")
7483  (return-type "GType")
7484)
7485
7486(define-function gda_ushort_get_type
7487  (c-name "gda_ushort_get_type")
7488  (return-type "GType")
7489)
7490
7491
7492
7493;; From gda-xa-transaction.h
7494
7495(define-function gda_xa_transaction_get_type
7496  (c-name "gda_xa_transaction_get_type")
7497  (return-type "GType")
7498)
7499
7500(define-function gda_xa_transaction_new
7501  (c-name "gda_xa_transaction_new")
7502  (is-constructor-of "GdaXaTransaction")
7503  (return-type "GdaXaTransaction*")
7504  (parameters
7505    '("guint32" "format")
7506    '("const-gchar*" "global_transaction_id")
7507  )
7508)
7509
7510(define-method register_connection
7511  (of-object "GdaXaTransaction")
7512  (c-name "gda_xa_transaction_register_connection")
7513  (return-type "gboolean")
7514  (parameters
7515    '("GdaConnection*" "cnc")
7516    '("const-gchar*" "branch")
7517    '("GError**" "error")
7518  )
7519)
7520
7521(define-method unregister_connection
7522  (of-object "GdaXaTransaction")
7523  (c-name "gda_xa_transaction_unregister_connection")
7524  (return-type "none")
7525  (parameters
7526    '("GdaConnection*" "cnc")
7527  )
7528)
7529
7530(define-method begin
7531  (of-object "GdaXaTransaction")
7532  (c-name "gda_xa_transaction_begin")
7533  (return-type "gboolean")
7534  (parameters
7535    '("GError**" "error")
7536  )
7537)
7538
7539(define-method commit
7540  (of-object "GdaXaTransaction")
7541  (c-name "gda_xa_transaction_commit")
7542  (return-type "gboolean")
7543  (parameters
7544    '("GSList**" "cnc_to_recover")
7545    '("GError**" "error")
7546  )
7547)
7548
7549(define-method rollback
7550  (of-object "GdaXaTransaction")
7551  (c-name "gda_xa_transaction_rollback")
7552  (return-type "gboolean")
7553  (parameters
7554    '("GError**" "error")
7555  )
7556)
7557
7558(define-method commit_recovered
7559  (of-object "GdaXaTransaction")
7560  (c-name "gda_xa_transaction_commit_recovered")
7561  (return-type "gboolean")
7562  (parameters
7563    '("GSList**" "cnc_to_recover")
7564    '("GError**" "error")
7565  )
7566)
7567
7568(define-method to_string
7569  (of-object "GdaXaTransactionId")
7570  (c-name "gda_xa_transaction_id_to_string")
7571  (return-type "gchar*")
7572)
7573
7574(define-function gda_xa_transaction_string_to_id
7575  (c-name "gda_xa_transaction_string_to_id")
7576  (return-type "GdaXaTransactionId*")
7577  (parameters
7578    '("const-gchar*" "str")
7579  )
7580)
7581
7582
7583
7584;; From gda-sql-parser-enum-types.h
7585
7586(define-function gda_sql_parser_error_get_type
7587  (c-name "gda_sql_parser_error_get_type")
7588  (return-type "GType")
7589)
7590
7591(define-function gda_sql_parser_mode_get_type
7592  (c-name "gda_sql_parser_mode_get_type")
7593  (return-type "GType")
7594)
7595
7596(define-function gda_sql_parser_flavour_get_type
7597  (c-name "gda_sql_parser_flavour_get_type")
7598  (return-type "GType")
7599)
7600
7601(define-function gda_sql_error_get_type
7602  (c-name "gda_sql_error_get_type")
7603  (return-type "GType")
7604)
7605
7606(define-function gda_sql_statement_type_get_type
7607  (c-name "gda_sql_statement_type_get_type")
7608  (return-type "GType")
7609)
7610
7611(define-function gda_sql_any_part_type_get_type
7612  (c-name "gda_sql_any_part_type_get_type")
7613  (return-type "GType")
7614)
7615
7616(define-function gda_sql_statement_compound_type_get_type
7617  (c-name "gda_sql_statement_compound_type_get_type")
7618  (return-type "GType")
7619)
7620
7621(define-function gda_sql_operator_type_get_type
7622  (c-name "gda_sql_operator_type_get_type")
7623  (return-type "GType")
7624)
7625
7626(define-function gda_sql_select_join_type_get_type
7627  (c-name "gda_sql_select_join_type_get_type")
7628  (return-type "GType")
7629)
7630
7631
7632
7633;; From gda-sql-parser.h
7634
7635(define-function gda_sql_parser_get_type
7636  (c-name "gda_sql_parser_get_type")
7637  (return-type "GType")
7638)
7639
7640(define-function gda_sql_parser_new
7641  (c-name "gda_sql_parser_new")
7642  (is-constructor-of "GdaSqlParser")
7643  (return-type "GdaSqlParser*")
7644)
7645
7646(define-method parse_string
7647  (of-object "GdaSqlParser")
7648  (c-name "gda_sql_parser_parse_string")
7649  (return-type "GdaStatement*")
7650  (parameters
7651    '("const-gchar*" "sql")
7652    '("const-gchar**" "remain")
7653    '("GError**" "error")
7654  )
7655)
7656
7657(define-method parse_string_as_batch
7658  (of-object "GdaSqlParser")
7659  (c-name "gda_sql_parser_parse_string_as_batch")
7660  (return-type "GdaBatch*")
7661  (parameters
7662    '("const-gchar*" "sql")
7663    '("const-gchar**" "remain")
7664    '("GError**" "error")
7665  )
7666)
7667
7668(define-method parse_file_as_batch
7669  (of-object "GdaSqlParser")
7670  (c-name "gda_sql_parser_parse_file_as_batch")
7671  (return-type "GdaBatch*")
7672  (parameters
7673    '("const-gchar*" "filename")
7674    '("GError**" "error")
7675  )
7676)
7677
7678(define-method set_syntax_error
7679  (of-object "GdaSqlParser")
7680  (c-name "gda_sql_parser_set_syntax_error")
7681  (return-type "none")
7682)
7683
7684(define-method set_overflow_error
7685  (of-object "GdaSqlParser")
7686  (c-name "gda_sql_parser_set_overflow_error")
7687  (return-type "none")
7688)
7689
7690
7691
7692;; From gda-sql-statement.h
7693
7694
7695
7696;; From gda-statement-struct-compound.h
7697
7698(define-method compound_set_type
7699  (of-object "GdaSqlStatement")
7700  (c-name "gda_sql_statement_compound_set_type")
7701  (return-type "none")
7702  (parameters
7703    '("GdaSqlStatementCompoundType" "type")
7704  )
7705)
7706
7707(define-method compound_take_stmt
7708  (of-object "GdaSqlStatement")
7709  (c-name "gda_sql_statement_compound_take_stmt")
7710  (return-type "none")
7711  (parameters
7712    '("GdaSqlStatement*" "s")
7713  )
7714)
7715
7716
7717
7718;; From gda-statement-struct-decl.h
7719
7720(define-method foreach
7721  (of-object "GdaSqlAnyPart")
7722  (c-name "gda_sql_any_part_foreach")
7723  (return-type "gboolean")
7724  (parameters
7725    '("GdaSqlForeachFunc" "func")
7726    '("gpointer" "data")
7727    '("GError**" "error")
7728  )
7729)
7730
7731(define-method check_structure
7732  (of-object "GdaSqlAnyPart")
7733  (c-name "gda_sql_any_part_check_structure")
7734  (return-type "gboolean")
7735  (parameters
7736    '("GError**" "error")
7737  )
7738)
7739
7740
7741
7742;; From gda-statement-struct-delete.h
7743
7744(define-method delete_take_table_name
7745  (of-object "GdaSqlStatement")
7746  (c-name "gda_sql_statement_delete_take_table_name")
7747  (return-type "none")
7748  (parameters
7749    '("GValue*" "value")
7750  )
7751)
7752
7753(define-method delete_take_condition
7754  (of-object "GdaSqlStatement")
7755  (c-name "gda_sql_statement_delete_take_condition")
7756  (return-type "none")
7757  (parameters
7758    '("GdaSqlExpr*" "cond")
7759  )
7760)
7761
7762
7763
7764;; From gda-statement-struct.h
7765
7766(define-function gda_sql_statement_get_type
7767  (c-name "gda_sql_statement_get_type")
7768  (return-type "GType")
7769)
7770
7771(define-function gda_sql_statement_new
7772  (c-name "gda_sql_statement_new")
7773  (is-constructor-of "GdaSqlStatement")
7774  (return-type "GdaSqlStatement*")
7775  (parameters
7776    '("GdaSqlStatementType" "type")
7777  )
7778)
7779
7780(define-method copy
7781  (of-object "GdaSqlStatement")
7782  (c-name "gda_sql_statement_copy")
7783  (return-type "GdaSqlStatement*")
7784)
7785
7786(define-method free
7787  (of-object "GdaSqlStatement")
7788  (c-name "gda_sql_statement_free")
7789  (return-type "none")
7790)
7791
7792(define-method serialize
7793  (of-object "GdaSqlStatement")
7794  (c-name "gda_sql_statement_serialize")
7795  (return-type "gchar*")
7796)
7797
7798(define-method to_string
7799  (of-object "GdaSqlStatementType")
7800  (c-name "gda_sql_statement_type_to_string")
7801  (return-type "const-gchar*")
7802)
7803
7804(define-function gda_sql_statement_string_to_type
7805  (c-name "gda_sql_statement_string_to_type")
7806  (return-type "GdaSqlStatementType")
7807  (parameters
7808    '("const-gchar*" "type")
7809  )
7810)
7811
7812(define-method check_structure
7813  (of-object "GdaSqlStatement")
7814  (c-name "gda_sql_statement_check_structure")
7815  (return-type "gboolean")
7816  (parameters
7817    '("GError**" "error")
7818  )
7819)
7820
7821(define-method check_validity
7822  (of-object "GdaSqlStatement")
7823  (c-name "gda_sql_statement_check_validity")
7824  (return-type "gboolean")
7825  (parameters
7826    '("GdaConnection*" "cnc")
7827    '("GError**" "error")
7828  )
7829)
7830
7831(define-method check_validity_m
7832  (of-object "GdaSqlStatement")
7833  (c-name "gda_sql_statement_check_validity_m")
7834  (return-type "gboolean")
7835  (parameters
7836    '("GdaMetaStruct*" "mstruct")
7837    '("GError**" "error")
7838  )
7839)
7840
7841(define-method check_clean
7842  (of-object "GdaSqlStatement")
7843  (c-name "gda_sql_statement_check_clean")
7844  (return-type "none")
7845)
7846
7847(define-method normalize
7848  (of-object "GdaSqlStatement")
7849  (c-name "gda_sql_statement_normalize")
7850  (return-type "gboolean")
7851  (parameters
7852    '("GdaConnection*" "cnc")
7853    '("GError**" "error")
7854  )
7855)
7856
7857(define-function gda_sql_statement_get_contents_infos
7858  (c-name "gda_sql_statement_get_contents_infos")
7859  (return-type "GdaSqlStatementContentsInfo*")
7860  (parameters
7861    '("GdaSqlStatementType" "type")
7862  )
7863)
7864
7865
7866
7867;; From gda-statement-struct-insert.h
7868
7869(define-method insert_take_table_name
7870  (of-object "GdaSqlStatement")
7871  (c-name "gda_sql_statement_insert_take_table_name")
7872  (return-type "none")
7873  (parameters
7874    '("GValue*" "value")
7875  )
7876)
7877
7878(define-method insert_take_on_conflict
7879  (of-object "GdaSqlStatement")
7880  (c-name "gda_sql_statement_insert_take_on_conflict")
7881  (return-type "none")
7882  (parameters
7883    '("GValue*" "value")
7884  )
7885)
7886
7887(define-method insert_take_fields_list
7888  (of-object "GdaSqlStatement")
7889  (c-name "gda_sql_statement_insert_take_fields_list")
7890  (return-type "none")
7891  (parameters
7892    '("GSList*" "list")
7893  )
7894)
7895
7896(define-method insert_take_1_values_list
7897  (of-object "GdaSqlStatement")
7898  (c-name "gda_sql_statement_insert_take_1_values_list")
7899  (return-type "none")
7900  (parameters
7901    '("GSList*" "list")
7902  )
7903)
7904
7905(define-method insert_take_extra_values_list
7906  (of-object "GdaSqlStatement")
7907  (c-name "gda_sql_statement_insert_take_extra_values_list")
7908  (return-type "none")
7909  (parameters
7910    '("GSList*" "list")
7911  )
7912)
7913
7914(define-method insert_take_select
7915  (of-object "GdaSqlStatement")
7916  (c-name "gda_sql_statement_insert_take_select")
7917  (return-type "none")
7918  (parameters
7919    '("GdaSqlStatement*" "select")
7920  )
7921)
7922
7923
7924
7925;; From gda-statement-struct-parts.h
7926
7927(define-function gda_sql_expr_get_type
7928  (c-name "gda_sql_expr_get_type")
7929  (return-type "GType")
7930)
7931
7932(define-function gda_sql_expr_new
7933  (c-name "gda_sql_expr_new")
7934  (is-constructor-of "GdaSqlExpr")
7935  (return-type "GdaSqlExpr*")
7936  (parameters
7937    '("GdaSqlAnyPart*" "parent")
7938  )
7939)
7940
7941(define-method free
7942  (of-object "GdaSqlExpr")
7943  (c-name "gda_sql_expr_free")
7944  (return-type "none")
7945)
7946
7947(define-method copy
7948  (of-object "GdaSqlExpr")
7949  (c-name "gda_sql_expr_copy")
7950  (return-type "GdaSqlExpr*")
7951)
7952
7953(define-method serialize
7954  (of-object "GdaSqlExpr")
7955  (c-name "gda_sql_expr_serialize")
7956  (return-type "gchar*")
7957)
7958
7959(define-method take_select
7960  (of-object "GdaSqlExpr")
7961  (c-name "gda_sql_expr_take_select")
7962  (return-type "none")
7963  (parameters
7964    '("GdaSqlStatement*" "stmt")
7965  )
7966)
7967
7968(define-function gda_sql_field_new
7969  (c-name "gda_sql_field_new")
7970  (is-constructor-of "GdaSqlField")
7971  (return-type "GdaSqlField*")
7972  (parameters
7973    '("GdaSqlAnyPart*" "parent")
7974  )
7975)
7976
7977(define-method free
7978  (of-object "GdaSqlField")
7979  (c-name "gda_sql_field_free")
7980  (return-type "none")
7981)
7982
7983(define-method copy
7984  (of-object "GdaSqlField")
7985  (c-name "gda_sql_field_copy")
7986  (return-type "GdaSqlField*")
7987)
7988
7989(define-method serialize
7990  (of-object "GdaSqlField")
7991  (c-name "gda_sql_field_serialize")
7992  (return-type "gchar*")
7993)
7994
7995(define-method take_name
7996  (of-object "GdaSqlField")
7997  (c-name "gda_sql_field_take_name")
7998  (return-type "none")
7999  (parameters
8000    '("GValue*" "value")
8001  )
8002)
8003
8004(define-function gda_sql_table_new
8005  (c-name "gda_sql_table_new")
8006  (is-constructor-of "GdaSqlTable")
8007  (return-type "GdaSqlTable*")
8008  (parameters
8009    '("GdaSqlAnyPart*" "parent")
8010  )
8011)
8012
8013(define-method free
8014  (of-object "GdaSqlTable")
8015  (c-name "gda_sql_table_free")
8016  (return-type "none")
8017)
8018
8019(define-method copy
8020  (of-object "GdaSqlTable")
8021  (c-name "gda_sql_table_copy")
8022  (return-type "GdaSqlTable*")
8023)
8024
8025(define-method serialize
8026  (of-object "GdaSqlTable")
8027  (c-name "gda_sql_table_serialize")
8028  (return-type "gchar*")
8029)
8030
8031(define-method take_name
8032  (of-object "GdaSqlTable")
8033  (c-name "gda_sql_table_take_name")
8034  (return-type "none")
8035  (parameters
8036    '("GValue*" "value")
8037  )
8038)
8039
8040(define-function gda_sql_function_new
8041  (c-name "gda_sql_function_new")
8042  (is-constructor-of "GdaSqlFunction")
8043  (return-type "GdaSqlFunction*")
8044  (parameters
8045    '("GdaSqlAnyPart*" "parent")
8046  )
8047)
8048
8049(define-method free
8050  (of-object "GdaSqlFunction")
8051  (c-name "gda_sql_function_free")
8052  (return-type "none")
8053)
8054
8055(define-method copy
8056  (of-object "GdaSqlFunction")
8057  (c-name "gda_sql_function_copy")
8058  (return-type "GdaSqlFunction*")
8059)
8060
8061(define-method serialize
8062  (of-object "GdaSqlFunction")
8063  (c-name "gda_sql_function_serialize")
8064  (return-type "gchar*")
8065)
8066
8067(define-method check_clean
8068  (of-object "GdaSqlFunction")
8069  (c-name "gda_sql_function_check_clean")
8070  (return-type "none")
8071)
8072
8073(define-method take_name
8074  (of-object "GdaSqlFunction")
8075  (c-name "gda_sql_function_take_name")
8076  (return-type "none")
8077  (parameters
8078    '("GValue*" "value")
8079  )
8080)
8081
8082(define-method take_args_list
8083  (of-object "GdaSqlFunction")
8084  (c-name "gda_sql_function_take_args_list")
8085  (return-type "none")
8086  (parameters
8087    '("GSList*" "args")
8088  )
8089)
8090
8091(define-function gda_sql_operation_new
8092  (c-name "gda_sql_operation_new")
8093  (is-constructor-of "GdaSqlOperation")
8094  (return-type "GdaSqlOperation*")
8095  (parameters
8096    '("GdaSqlAnyPart*" "parent")
8097  )
8098)
8099
8100(define-method free
8101  (of-object "GdaSqlOperation")
8102  (c-name "gda_sql_operation_free")
8103  (return-type "none")
8104)
8105
8106(define-method copy
8107  (of-object "GdaSqlOperation")
8108  (c-name "gda_sql_operation_copy")
8109  (return-type "GdaSqlOperation*")
8110)
8111
8112(define-method serialize
8113  (of-object "GdaSqlOperation")
8114  (c-name "gda_sql_operation_serialize")
8115  (return-type "gchar*")
8116)
8117
8118(define-function gda_sql_operation_operator_to_string
8119  (c-name "gda_sql_operation_operator_to_string")
8120  (return-type "const-gchar*")
8121  (parameters
8122    '("GdaSqlOperatorType" "op")
8123  )
8124)
8125
8126(define-function gda_sql_operation_operator_from_string
8127  (c-name "gda_sql_operation_operator_from_string")
8128  (return-type "GdaSqlOperatorType")
8129  (parameters
8130    '("const-gchar*" "op")
8131  )
8132)
8133
8134(define-function gda_sql_case_new
8135  (c-name "gda_sql_case_new")
8136  (is-constructor-of "GdaSqlCase")
8137  (return-type "GdaSqlCase*")
8138  (parameters
8139    '("GdaSqlAnyPart*" "parent")
8140  )
8141)
8142
8143(define-method free
8144  (of-object "GdaSqlCase")
8145  (c-name "gda_sql_case_free")
8146  (return-type "none")
8147)
8148
8149(define-method copy
8150  (of-object "GdaSqlCase")
8151  (c-name "gda_sql_case_copy")
8152  (return-type "GdaSqlCase*")
8153)
8154
8155(define-method serialize
8156  (of-object "GdaSqlCase")
8157  (c-name "gda_sql_case_serialize")
8158  (return-type "gchar*")
8159)
8160
8161(define-function gda_sql_select_field_new
8162  (c-name "gda_sql_select_field_new")
8163  (is-constructor-of "GdaSqlSelectField")
8164  (return-type "GdaSqlSelectField*")
8165  (parameters
8166    '("GdaSqlAnyPart*" "parent")
8167  )
8168)
8169
8170(define-method free
8171  (of-object "GdaSqlSelectField")
8172  (c-name "gda_sql_select_field_free")
8173  (return-type "none")
8174)
8175
8176(define-method copy
8177  (of-object "GdaSqlSelectField")
8178  (c-name "gda_sql_select_field_copy")
8179  (return-type "GdaSqlSelectField*")
8180)
8181
8182(define-method serialize
8183  (of-object "GdaSqlSelectField")
8184  (c-name "gda_sql_select_field_serialize")
8185  (return-type "gchar*")
8186)
8187
8188(define-method take_star_value
8189  (of-object "GdaSqlSelectField")
8190  (c-name "gda_sql_select_field_take_star_value")
8191  (return-type "none")
8192  (parameters
8193    '("GValue*" "value")
8194  )
8195)
8196
8197(define-method take_expr
8198  (of-object "GdaSqlSelectField")
8199  (c-name "gda_sql_select_field_take_expr")
8200  (return-type "none")
8201  (parameters
8202    '("GdaSqlExpr*" "expr")
8203  )
8204)
8205
8206(define-method take_alias
8207  (of-object "GdaSqlSelectField")
8208  (c-name "gda_sql_select_field_take_alias")
8209  (return-type "none")
8210  (parameters
8211    '("GValue*" "alias")
8212  )
8213)
8214
8215(define-function gda_sql_select_target_new
8216  (c-name "gda_sql_select_target_new")
8217  (is-constructor-of "GdaSqlSelectTarget")
8218  (return-type "GdaSqlSelectTarget*")
8219  (parameters
8220    '("GdaSqlAnyPart*" "parent")
8221  )
8222)
8223
8224(define-method free
8225  (of-object "GdaSqlSelectTarget")
8226  (c-name "gda_sql_select_target_free")
8227  (return-type "none")
8228)
8229
8230(define-method copy
8231  (of-object "GdaSqlSelectTarget")
8232  (c-name "gda_sql_select_target_copy")
8233  (return-type "GdaSqlSelectTarget*")
8234)
8235
8236(define-method serialize
8237  (of-object "GdaSqlSelectTarget")
8238  (c-name "gda_sql_select_target_serialize")
8239  (return-type "gchar*")
8240)
8241
8242(define-method take_table_name
8243  (of-object "GdaSqlSelectTarget")
8244  (c-name "gda_sql_select_target_take_table_name")
8245  (return-type "none")
8246  (parameters
8247    '("GValue*" "value")
8248  )
8249)
8250
8251(define-method take_select
8252  (of-object "GdaSqlSelectTarget")
8253  (c-name "gda_sql_select_target_take_select")
8254  (return-type "none")
8255  (parameters
8256    '("GdaSqlStatement*" "stmt")
8257  )
8258)
8259
8260(define-method take_alias
8261  (of-object "GdaSqlSelectTarget")
8262  (c-name "gda_sql_select_target_take_alias")
8263  (return-type "none")
8264  (parameters
8265    '("GValue*" "alias")
8266  )
8267)
8268
8269(define-function gda_sql_select_join_new
8270  (c-name "gda_sql_select_join_new")
8271  (is-constructor-of "GdaSqlSelectJoin")
8272  (return-type "GdaSqlSelectJoin*")
8273  (parameters
8274    '("GdaSqlAnyPart*" "parent")
8275  )
8276)
8277
8278(define-method free
8279  (of-object "GdaSqlSelectJoin")
8280  (c-name "gda_sql_select_join_free")
8281  (return-type "none")
8282)
8283
8284(define-method copy
8285  (of-object "GdaSqlSelectJoin")
8286  (c-name "gda_sql_select_join_copy")
8287  (return-type "GdaSqlSelectJoin*")
8288)
8289
8290(define-method serialize
8291  (of-object "GdaSqlSelectJoin")
8292  (c-name "gda_sql_select_join_serialize")
8293  (return-type "gchar*")
8294)
8295
8296(define-method to_string
8297  (of-object "GdaSqlSelectJoinType")
8298  (c-name "gda_sql_select_join_type_to_string")
8299  (return-type "const-gchar*")
8300)
8301
8302(define-function gda_sql_select_from_new
8303  (c-name "gda_sql_select_from_new")
8304  (is-constructor-of "GdaSqlSelectFrom")
8305  (return-type "GdaSqlSelectFrom*")
8306  (parameters
8307    '("GdaSqlAnyPart*" "parent")
8308  )
8309)
8310
8311(define-method free
8312  (of-object "GdaSqlSelectFrom")
8313  (c-name "gda_sql_select_from_free")
8314  (return-type "none")
8315)
8316
8317(define-method copy
8318  (of-object "GdaSqlSelectFrom")
8319  (c-name "gda_sql_select_from_copy")
8320  (return-type "GdaSqlSelectFrom*")
8321)
8322
8323(define-method serialize
8324  (of-object "GdaSqlSelectFrom")
8325  (c-name "gda_sql_select_from_serialize")
8326  (return-type "gchar*")
8327)
8328
8329(define-method take_new_target
8330  (of-object "GdaSqlSelectFrom")
8331  (c-name "gda_sql_select_from_take_new_target")
8332  (return-type "none")
8333  (parameters
8334    '("GdaSqlSelectTarget*" "target")
8335  )
8336)
8337
8338(define-method take_new_join
8339  (of-object "GdaSqlSelectFrom")
8340  (c-name "gda_sql_select_from_take_new_join")
8341  (return-type "none")
8342  (parameters
8343    '("GdaSqlSelectJoin*" "join")
8344  )
8345)
8346
8347(define-function gda_sql_select_order_new
8348  (c-name "gda_sql_select_order_new")
8349  (is-constructor-of "GdaSqlSelectOrder")
8350  (return-type "GdaSqlSelectOrder*")
8351  (parameters
8352    '("GdaSqlAnyPart*" "parent")
8353  )
8354)
8355
8356(define-method free
8357  (of-object "GdaSqlSelectOrder")
8358  (c-name "gda_sql_select_order_free")
8359  (return-type "none")
8360)
8361
8362(define-method copy
8363  (of-object "GdaSqlSelectOrder")
8364  (c-name "gda_sql_select_order_copy")
8365  (return-type "GdaSqlSelectOrder*")
8366)
8367
8368(define-method serialize
8369  (of-object "GdaSqlSelectOrder")
8370  (c-name "gda_sql_select_order_serialize")
8371  (return-type "gchar*")
8372)
8373
8374
8375
8376;; From gda-statement-struct-pspec.h
8377
8378(define-function gda_sql_param_spec_new
8379  (c-name "gda_sql_param_spec_new")
8380  (is-constructor-of "GdaSqlParamSpec")
8381  (return-type "GdaSqlParamSpec*")
8382  (parameters
8383    '("GValue*" "simple_spec")
8384  )
8385)
8386
8387(define-method copy
8388  (of-object "GdaSqlParamSpec")
8389  (c-name "gda_sql_param_spec_copy")
8390  (return-type "GdaSqlParamSpec*")
8391)
8392
8393(define-method take_name
8394  (of-object "GdaSqlParamSpec")
8395  (c-name "gda_sql_param_spec_take_name")
8396  (return-type "none")
8397  (parameters
8398    '("GValue*" "value")
8399  )
8400)
8401
8402(define-method take_type
8403  (of-object "GdaSqlParamSpec")
8404  (c-name "gda_sql_param_spec_take_type")
8405  (return-type "none")
8406  (parameters
8407    '("GValue*" "value")
8408  )
8409)
8410
8411(define-method take_descr
8412  (of-object "GdaSqlParamSpec")
8413  (c-name "gda_sql_param_spec_take_descr")
8414  (return-type "none")
8415  (parameters
8416    '("GValue*" "value")
8417  )
8418)
8419
8420(define-method take_nullok
8421  (of-object "GdaSqlParamSpec")
8422  (c-name "gda_sql_param_spec_take_nullok")
8423  (return-type "none")
8424  (parameters
8425    '("GValue*" "value")
8426  )
8427)
8428
8429(define-method free
8430  (of-object "GdaSqlParamSpec")
8431  (c-name "gda_sql_param_spec_free")
8432  (return-type "none")
8433)
8434
8435(define-method serialize
8436  (of-object "GdaSqlParamSpec")
8437  (c-name "gda_sql_param_spec_serialize")
8438  (return-type "gchar*")
8439)
8440
8441
8442
8443;; From gda-statement-struct-select.h
8444
8445(define-method select_take_distinct
8446  (of-object "GdaSqlStatement")
8447  (c-name "gda_sql_statement_select_take_distinct")
8448  (return-type "none")
8449  (parameters
8450    '("gboolean" "distinct")
8451    '("GdaSqlExpr*" "distinct_expr")
8452  )
8453)
8454
8455(define-method select_take_expr_list
8456  (of-object "GdaSqlStatement")
8457  (c-name "gda_sql_statement_select_take_expr_list")
8458  (return-type "none")
8459  (parameters
8460    '("GSList*" "expr_list")
8461  )
8462)
8463
8464(define-method select_take_from
8465  (of-object "GdaSqlStatement")
8466  (c-name "gda_sql_statement_select_take_from")
8467  (return-type "none")
8468  (parameters
8469    '("GdaSqlSelectFrom*" "from")
8470  )
8471)
8472
8473(define-method select_take_where_cond
8474  (of-object "GdaSqlStatement")
8475  (c-name "gda_sql_statement_select_take_where_cond")
8476  (return-type "none")
8477  (parameters
8478    '("GdaSqlExpr*" "expr")
8479  )
8480)
8481
8482(define-method select_take_group_by
8483  (of-object "GdaSqlStatement")
8484  (c-name "gda_sql_statement_select_take_group_by")
8485  (return-type "none")
8486  (parameters
8487    '("GSList*" "group_by")
8488  )
8489)
8490
8491(define-method select_take_having_cond
8492  (of-object "GdaSqlStatement")
8493  (c-name "gda_sql_statement_select_take_having_cond")
8494  (return-type "none")
8495  (parameters
8496    '("GdaSqlExpr*" "expr")
8497  )
8498)
8499
8500(define-method select_take_order_by
8501  (of-object "GdaSqlStatement")
8502  (c-name "gda_sql_statement_select_take_order_by")
8503  (return-type "none")
8504  (parameters
8505    '("GSList*" "order_by")
8506  )
8507)
8508
8509(define-method select_take_limits
8510  (of-object "GdaSqlStatement")
8511  (c-name "gda_sql_statement_select_take_limits")
8512  (return-type "none")
8513  (parameters
8514    '("GdaSqlExpr*" "count")
8515    '("GdaSqlExpr*" "offset")
8516  )
8517)
8518
8519
8520
8521;; From gda-statement-struct-trans.h
8522
8523(define-method trans_take_mode
8524  (of-object "GdaSqlStatement")
8525  (c-name "gda_sql_statement_trans_take_mode")
8526  (return-type "none")
8527  (parameters
8528    '("GValue*" "value")
8529  )
8530)
8531
8532(define-method trans_set_isol_level
8533  (of-object "GdaSqlStatement")
8534  (c-name "gda_sql_statement_trans_set_isol_level")
8535  (return-type "none")
8536  (parameters
8537    '("GdaTransactionIsolation" "level")
8538  )
8539)
8540
8541(define-method trans_take_name
8542  (of-object "GdaSqlStatement")
8543  (c-name "gda_sql_statement_trans_take_name")
8544  (return-type "none")
8545  (parameters
8546    '("GValue*" "value")
8547  )
8548)
8549
8550
8551
8552;; From gda-statement-struct-unknown.h
8553
8554(define-method unknown_take_expressions
8555  (of-object "GdaSqlStatement")
8556  (c-name "gda_sql_statement_unknown_take_expressions")
8557  (return-type "none")
8558  (parameters
8559    '("GSList*" "expressions")
8560  )
8561)
8562
8563
8564
8565;; From gda-statement-struct-update.h
8566
8567(define-method update_take_table_name
8568  (of-object "GdaSqlStatement")
8569  (c-name "gda_sql_statement_update_take_table_name")
8570  (return-type "none")
8571  (parameters
8572    '("GValue*" "value")
8573  )
8574)
8575
8576(define-method update_take_on_conflict
8577  (of-object "GdaSqlStatement")
8578  (c-name "gda_sql_statement_update_take_on_conflict")
8579  (return-type "none")
8580  (parameters
8581    '("GValue*" "value")
8582  )
8583)
8584
8585(define-method update_take_condition
8586  (of-object "GdaSqlStatement")
8587  (c-name "gda_sql_statement_update_take_condition")
8588  (return-type "none")
8589  (parameters
8590    '("GdaSqlExpr*" "cond")
8591  )
8592)
8593
8594(define-method update_take_set_value
8595  (of-object "GdaSqlStatement")
8596  (c-name "gda_sql_statement_update_take_set_value")
8597  (return-type "none")
8598  (parameters
8599    '("GValue*" "fname")
8600    '("GdaSqlExpr*" "expr")
8601  )
8602)
8603
8604
8605
8606;; From gda-statement-struct-util.h
8607
8608(define-function gda_sql_identifier_force_quotes
8609  (c-name "gda_sql_identifier_force_quotes")
8610  (return-type "gchar*")
8611  (parameters
8612    '("const-gchar*" "str")
8613  )
8614)
8615
8616(define-function gda_sql_identifier_prepare_for_compare
8617  (c-name "gda_sql_identifier_prepare_for_compare")
8618  (return-type "gchar*")
8619  (parameters
8620    '("gchar*" "str")
8621  )
8622)
8623
8624(define-function gda_sql_value_stringify
8625  (c-name "gda_sql_value_stringify")
8626  (return-type "gchar*")
8627  (parameters
8628    '("const-GValue*" "value")
8629  )
8630)
8631
8632
8633
8634;; From gda-report-docbook-document.h
8635
8636(define-function gda_report_docbook_document_get_type
8637  (c-name "gda_report_docbook_document_get_type")
8638  (return-type "GType")
8639)
8640
8641(define-function gda_report_docbook_document_new
8642  (c-name "gda_report_docbook_document_new")
8643  (is-constructor-of "GdaReportDocbookDocument")
8644  (return-type "GdaReportDocument*")
8645  (parameters
8646    '("GdaReportEngine*" "engine")
8647  )
8648)
8649
8650
8651
8652;; From gda-report-document.h
8653
8654(define-function gda_report_document_get_type
8655  (c-name "gda_report_document_get_type")
8656  (return-type "GType")
8657)
8658
8659(define-method set_template
8660  (of-object "GdaReportDocument")
8661  (c-name "gda_report_document_set_template")
8662  (return-type "none")
8663  (parameters
8664    '("const-gchar*" "file")
8665  )
8666)
8667
8668(define-method run_as_html
8669  (of-object "GdaReportDocument")
8670  (c-name "gda_report_document_run_as_html")
8671  (return-type "gboolean")
8672  (parameters
8673    '("const-gchar*" "filename")
8674    '("GError**" "error")
8675  )
8676)
8677
8678(define-method run_as_pdf
8679  (of-object "GdaReportDocument")
8680  (c-name "gda_report_document_run_as_pdf")
8681  (return-type "gboolean")
8682  (parameters
8683    '("const-gchar*" "filename")
8684    '("GError**" "error")
8685  )
8686)
8687
8688
8689
8690;; From gda-report-engine.h
8691
8692(define-function gda_report_engine_get_type
8693  (c-name "gda_report_engine_get_type")
8694  (return-type "GType")
8695)
8696
8697(define-function gda_report_engine_new
8698  (c-name "gda_report_engine_new")
8699  (is-constructor-of "GdaReportEngine")
8700  (return-type "GdaReportEngine*")
8701  (parameters
8702    '("xmlNodePtr" "spec_node")
8703  )
8704)
8705
8706(define-function gda_report_engine_new_from_string
8707  (c-name "gda_report_engine_new_from_string")
8708  (return-type "GdaReportEngine*")
8709  (parameters
8710    '("const-gchar*" "spec_string")
8711  )
8712)
8713
8714(define-function gda_report_engine_new_from_file
8715  (c-name "gda_report_engine_new_from_file")
8716  (return-type "GdaReportEngine*")
8717  (parameters
8718    '("const-gchar*" "spec_file_name")
8719  )
8720)
8721
8722(define-method declare_object
8723  (of-object "GdaReportEngine")
8724  (c-name "gda_report_engine_declare_object")
8725  (return-type "none")
8726  (parameters
8727    '("GObject*" "object")
8728    '("const-gchar*" "obj_name")
8729  )
8730)
8731
8732(define-method find_declared_object
8733  (of-object "GdaReportEngine")
8734  (c-name "gda_report_engine_find_declared_object")
8735  (return-type "GObject*")
8736  (parameters
8737    '("GType" "obj_type")
8738    '("const-gchar*" "obj_name")
8739  )
8740)
8741
8742(define-method run_as_node
8743  (of-object "GdaReportEngine")
8744  (c-name "gda_report_engine_run_as_node")
8745  (return-type "xmlNodePtr")
8746  (parameters
8747    '("GError**" "error")
8748  )
8749)
8750
8751(define-method run_as_doc
8752  (of-object "GdaReportEngine")
8753  (c-name "gda_report_engine_run_as_doc")
8754  (return-type "xmlDocPtr")
8755  (parameters
8756    '("GError**" "error")
8757  )
8758)
8759
8760
8761
8762;; From gda-report-rml-document.h
8763
8764(define-function gda_report_rml_document_get_type
8765  (c-name "gda_report_rml_document_get_type")
8766  (return-type "GType")
8767)
8768
8769(define-function gda_report_rml_document_new
8770  (c-name "gda_report_rml_document_new")
8771  (is-constructor-of "GdaReportRmlDocument")
8772  (return-type "GdaReportDocument*")
8773  (parameters
8774    '("GdaReportEngine*" "engine")
8775  )
8776)
8777
8778
8779
8780;; From libgda-report.h
8781
8782
8783