diff options
Diffstat (limited to 'src/import/import-job.h')
-rw-r--r-- | src/import/import-job.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/import/import-job.h b/src/import/import-job.h index 57090092ce..dcf89cb28c 100644 --- a/src/import/import-job.h +++ b/src/import/import-job.h @@ -33,7 +33,8 @@ typedef struct ImportJob ImportJob; typedef void (*ImportJobFinished)(ImportJob *job); typedef int (*ImportJobOpenDisk)(ImportJob *job); -typedef int (*ImportJobHeader)(ImportJob*job, const char *header, size_t sz); +typedef int (*ImportJobHeader)(ImportJob *job, const char *header, size_t sz); +typedef void (*ImportJobProgress)(ImportJob *job); typedef enum ImportJobState { IMPORT_JOB_INIT, @@ -66,6 +67,7 @@ struct ImportJob { ImportJobFinished on_finished; ImportJobOpenDisk on_open_disk; ImportJobHeader on_header; + ImportJobProgress on_progress; CurlGlue *glue; CURL *curl; |