midori-array

midori-array

Functions

Includes

#include <midori/midori.h>

Description

Functions

midori_array_from_file ()

gboolean
midori_array_from_file (KatzeArray *array,
                        const gchar *filename,
                        const gchar *format,
                        GError **error);

Loads the contents of a file in the specified format.

Since 0.2.2 format can be NULL to indicate that the file should be loaded if it's any supported format.

Parameters

array

a KatzeArray

 

filename

a filename to load from

 

format

"xbel", "opera", or NULL

 

error

a GError or NULL

 

Returns

TRUE on success, FALSE otherwise

Since 0.1.6


midori_array_to_file ()

gboolean
midori_array_to_file (KatzeArray *array,
                      const gchar *filename,
                      const gchar *format,
                      GError **error);

Saves the contents to a file in the specified format.

Parameters

array

a KatzeArray

 

filename

a filename to load from

 

format

the desired format

 

error

a GError or NULL

 

Returns

TRUE on success, FALSE otherwise

Since 0.1.6


katze_item_set_value_from_column ()

void
katze_item_set_value_from_column (sqlite3_stmt *stmt,
                                  gint column,
                                  KatzeItem *item);

katze_array_from_statement ()

KatzeArray *
katze_array_from_statement (sqlite3_stmt *stmt);

katze_array_from_sqlite ()

KatzeArray *
katze_array_from_sqlite (sqlite3 *db,
                         const gchar *sqlcmd);

Types and Values