diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-10 17:30:32 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-10 17:30:32 +0100 |
| commit | 9a1151d6474ac7daebc263edc2f37caf3b4c9955 (patch) | |
| tree | d11965d58c2eb20c0470fc5f9c25de42ab545375 /include/libmsi-database.h | |
| parent | 2ea5d49da27c3569251896884786649a72bd6df3 (diff) | |
| parent | 6b7407cb031cf245a4998d8c79009039ead38fc5 (diff) | |
Merge branch 'pre-gsf'
Conflicts:
libmsi/Makefile.am
libmsi/libmsi-summary-info.c
libmsi/msipriv.h
Diffstat (limited to 'include/libmsi-database.h')
| -rw-r--r-- | include/libmsi-database.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/include/libmsi-database.h b/include/libmsi-database.h new file mode 100644 index 0000000..a8199ab --- /dev/null +++ b/include/libmsi-database.h @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2002,2003 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _LIBMSI_DATABASE_H +#define _LIBMSI_DATABASE_H + +#include "libmsi-types.h" + +LibmsiResult libmsi_database_open (const char *, const char *, LibmsiDatabase **); +LibmsiResult libmsi_database_open_query (LibmsiDatabase *,const char *,LibmsiQuery **); +LibmsiDBState libmsi_database_get_state (LibmsiDatabase *); +LibmsiResult libmsi_database_get_primary_keys (LibmsiDatabase *,const char *,LibmsiRecord **); +LibmsiResult libmsi_database_apply_transform (LibmsiDatabase *,const char *,int); +LibmsiResult libmsi_database_export (LibmsiDatabase *, const char *, int fd); +LibmsiResult libmsi_database_import (LibmsiDatabase *, const char *, const char *); +LibmsiCondition libmsi_database_is_table_persistent (LibmsiDatabase *, const char *); +LibmsiResult libmsi_database_merge (LibmsiDatabase *, LibmsiDatabase *, const char *); +LibmsiResult libmsi_database_get_summary_info (LibmsiDatabase *, unsigned, LibmsiSummaryInfo **); +LibmsiResult libmsi_database_commit (LibmsiDatabase *); + +#endif /* _LIBMSI_DATABASE_H */ |
