diff options
| author | Jeffrey Armstrong <jeffrey.armstrong@approximatrix.com> | 2014-01-02 21:27:40 -0500 |
|---|---|---|
| committer | Jeffrey Armstrong <jeffrey.armstrong@approximatrix.com> | 2014-01-02 21:27:40 -0500 |
| commit | 2719471cb97c721e929c98c6bad40a381269295e (patch) | |
| tree | 81b2e1e790faed8881114d3922c2a2ed8fdcf6f3 /db.h | |
| parent | eb626bd8ee3fddae050dbf9babfbea19961a36f2 (diff) | |
| download | prism-2719471cb97c721e929c98c6bad40a381269295e.tar.gz prism-2719471cb97c721e929c98c6bad40a381269295e.zip | |
Files can now be queued for commit
Diffstat (limited to 'db.h')
| -rw-r--r-- | db.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,6 +1,12 @@ #ifndef _DB_HDRS_
#define _DB_HDRS_
+struct db_file {
+ int id;
+ int revision;
+ char hash[33];
+};
+
int initdb();
int get_revision();
@@ -11,4 +17,10 @@ int get_file_count(); int increment_revision();
+int add_file(const char *filename);
+
+int get_db_fileinfo(const char *filename, struct db_file *info);
+
+int disp_queue();
+
#endif /* _DB_HDRS_ */
|
