dbtool -> audio file selector renaming
[paraslash.git] / db.h
diff --git a/db.h b/db.h
index 69d4d9ed04308eb4a5c66505bcb03b3c4762a9c0..3347d3ad239d5fd2d364c99083278f0b0b967a8e 100644 (file)
--- a/db.h
+++ b/db.h
 
 #include <sys/select.h>
 
+enum supported_dbtools {DBT_DOPEY,
+#ifdef HAVE_MYSQL
+       DBT_MYSQL,
+#endif
+       NUM_DBTOOLS
+};
+
 int find_audio_files(const char *dirname, int (*f)(const char *, const char *));
 
 /**
@@ -112,6 +119,9 @@ int (*pre_select)(fd_set *rfds, fd_set *wfds);
  * which are ready for reading/writing.
  */
 void (*post_select)(fd_set *rfds, fd_set *wfds);
+/**
+ * each dbtool has its private data pointer */
+void *private_data;
 };
 
 int mysql_dbtool_init(struct dbtool*);