aboutsummaryrefslogtreecommitdiff
path: root/src/im-asapo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/im-asapo.h')
-rw-r--r--src/im-asapo.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/im-asapo.h b/src/im-asapo.h
index cf7edfe4..85fffc8a 100644
--- a/src/im-asapo.h
+++ b/src/im-asapo.h
@@ -43,8 +43,11 @@ struct im_asapo_params
char *source;
char *stream;
int wait_for_stream;
+ char *output_stream;
};
+struct im_asapo;
+
#if defined(HAVE_ASAPO)
extern struct im_asapo *im_asapo_connect(struct im_asapo_params *params);
@@ -55,6 +58,8 @@ extern void *im_asapo_fetch(struct im_asapo *a, size_t *pdata_size,
char **pmeta, char **pfilename, char **pevent,
int *pfinished, int *pmessageid);
+extern void im_asapo_send(struct im_asapo *a, struct image *image, int hit);
+
#else /* defined(HAVE_ASAPO) */
static UNUSED struct im_asapo *im_asapo_connect(struct im_asapo_params *params)
@@ -80,6 +85,10 @@ static UNUSED void *im_asapo_fetch(struct im_asapo *a, size_t *psize,
return NULL;
}
+static UNUSED void im_asapo_send(struct im_asapo *a, struct image *image, int hit)
+{
+}
+
#endif /* defined(HAVE_ASAPO) */
#endif /* CRYSTFEL_ASAPO_H */