zathura
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Structures | Macros | Functions
database-sqlite.h File Reference
#include "database.h"

Go to the source code of this file.

Data Structures

struct  ZathuraSQLDatabase
struct  ZathuraSQLDatabaseClass

Macros

#define ZATHURA_TYPE_SQLDATABASE   (zathura_sqldatabase_get_type ())
#define ZATHURA_SQLDATABASE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), ZATHURA_TYPE_SQLDATABASE, ZathuraSQLDatabase))
#define ZATHURA_IS_SQLDATABASE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ZATHURA_TYPE_SQLDATABASE))
#define ZATHURA_SQLDATABASE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), ZATHURA_TYPE_SQLDATABASE, ZathuraSQLDatabaseClass))
#define ZATHURA_IS_SQLDATABASE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), ZATHURA_TYPE_SQLDATABASE))
#define ZATHURA_SQLDATABASE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), ZATHURA_TYPE_SQLDATABASE, ZathuraSQLDatabaseClass))

Functions

GType zathura_sqldatabase_get_type (void)
zathura_database_tzathura_sqldatabase_new (const char *path)

Macro Definition Documentation

#define ZATHURA_IS_SQLDATABASE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ZATHURA_TYPE_SQLDATABASE))

Definition at line 12 of file database-sqlite.h.

#define ZATHURA_IS_SQLDATABASE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), ZATHURA_TYPE_SQLDATABASE))

Definition at line 16 of file database-sqlite.h.

#define ZATHURA_SQLDATABASE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), ZATHURA_TYPE_SQLDATABASE, ZathuraSQLDatabase))

Definition at line 10 of file database-sqlite.h.

#define ZATHURA_SQLDATABASE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), ZATHURA_TYPE_SQLDATABASE, ZathuraSQLDatabaseClass))

Definition at line 14 of file database-sqlite.h.

#define ZATHURA_SQLDATABASE_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), ZATHURA_TYPE_SQLDATABASE, ZathuraSQLDatabaseClass))

Definition at line 18 of file database-sqlite.h.

#define ZATHURA_TYPE_SQLDATABASE   (zathura_sqldatabase_get_type ())

Definition at line 8 of file database-sqlite.h.

Function Documentation

GType zathura_sqldatabase_get_type ( void  )
zathura_database_t* zathura_sqldatabase_new ( const char *  path)

Initialize database system.

Parameters
pathPath to the sqlite database.
Returns
A valid zathura_database_t instance or NULL on failure

Definition at line 88 of file database-sqlite.c.