summaryrefslogtreecommitdiff
path: root/src/import/import-job.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/import/import-job.h')
-rw-r--r--src/import/import-job.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/import/import-job.h b/src/import/import-job.h
index b10b0ec0d9..57090092ce 100644
--- a/src/import/import-job.h
+++ b/src/import/import-job.h
@@ -33,6 +33,7 @@ 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 enum ImportJobState {
IMPORT_JOB_INIT,
@@ -64,6 +65,7 @@ struct ImportJob {
void *userdata;
ImportJobFinished on_finished;
ImportJobOpenDisk on_open_disk;
+ ImportJobHeader on_header;
CurlGlue *glue;
CURL *curl;