]> git.datanom.net - lensdb.git/blobdiff - src/sqlite-storage.h
before transition to proper ide
[lensdb.git] / src / sqlite-storage.h
index cc4790ea83ad298ebcada699f3c348ae3ec1433f..bf26d396bea8876648ca91fbab5ff3aaf7141f07 100644 (file)
@@ -29,6 +29,7 @@
 #include <glib.h>
 #include <glib-object.h>
 #include <sqlite3.h>
+#include "csv.h"
 
 G_BEGIN_DECLS
 
@@ -48,10 +49,10 @@ typedef struct {
 
 gint init_storage(const gchar* path);
 void close_storage();
-gint add_lens(const Row* row);
+gint add_lens(Row* row);
 gint update_lens(const Row* row);
 gint add_maker(const gchar* maker, gchar** err);
-gint delete_maker(const gchar* maker);
+gint delete_maker(const gchar* maker, gchar** err);
 GSList* get_makers();
 gint get_maker_id(const gchar* maker);
 Maker* get_maker(gint id);
@@ -62,6 +63,7 @@ GSList* get_lens_by_maker(gint id);
 GSList* get_lens_by_search(const Row* row);
 Row* row_new();
 void row_free(gpointer data, gpointer user_data);
+void dump_storage(CsvParser* parser);
 
 G_END_DECLS
 
This page took 0.411778 seconds and 5 git commands to generate.