diff options
Diffstat (limited to 'src/im-asapo.h')
-rw-r--r-- | src/im-asapo.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/im-asapo.h b/src/im-asapo.h index cda9fbd9..43691700 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; + int write_output_stream; }; +struct im_asapo; + #if defined(HAVE_ASAPO) extern struct im_asapo *im_asapo_connect(struct im_asapo_params *params); @@ -53,7 +56,9 @@ extern void im_asapo_shutdown(struct im_asapo *a); extern void *im_asapo_fetch(struct im_asapo *a, size_t *pdata_size, char **pmeta, char **pfilename, char **pevent, - int *pfinished); + int *pfinished, int *pmessageid); + +extern void im_asapo_send(struct im_asapo *a, struct image *image, int hit); #else /* defined(HAVE_ASAPO) */ @@ -69,16 +74,21 @@ static UNUSED void im_asapo_shutdown(struct im_asapo *a) static UNUSED void *im_asapo_fetch(struct im_asapo *a, size_t *psize, char **pmeta, char **pfilename, char **pevent, - int *pfinished) + int *pfinished, int *pmessageid) { *psize = 0; *pmeta = NULL; *pfilename = NULL; *pevent = NULL; *pfinished = 1; + *pmessageid = 0; 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 */ |