diff options
| author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-09 15:53:11 +0200 |
|---|---|---|
| committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-09 17:37:44 +0200 |
| commit | 0600cacfadf00e916340f2394f1d3bfc173a3d0b (patch) | |
| tree | 4b1900b096de3d2b3ad49094e86adc310ec79dac /src/storage_sqlite.h | |
| parent | test: attempt to fix random port selection again (diff) | |
| download | cimple-0600cacfadf00e916340f2394f1d3bfc173a3d0b.tar.gz cimple-0600cacfadf00e916340f2394f1d3bfc173a3d0b.zip | |
store process output in SQLite
Diffstat (limited to 'src/storage_sqlite.h')
| -rw-r--r-- | src/storage_sqlite.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/storage_sqlite.h b/src/storage_sqlite.h index cecf7e1..857b9c0 100644 --- a/src/storage_sqlite.h +++ b/src/storage_sqlite.h @@ -8,6 +8,7 @@ #ifndef __STORAGE_SQLITE_H__ #define __STORAGE_SQLITE_H__ +#include "process.h" #include "run_queue.h" struct storage_settings; @@ -23,7 +24,7 @@ int storage_sqlite_create(struct storage *, const struct storage_settings *); void storage_sqlite_destroy(struct storage *); int storage_sqlite_run_create(struct storage *, const char *repo_url, const char *rev); -int storage_sqlite_run_finished(struct storage *, int id, int ec); +int storage_sqlite_run_finished(struct storage *, int id, const struct proc_output *); int storage_sqlite_get_run_queue(struct storage *, struct run_queue *runs); #endif |
