diff options
author | Thomas White <taw@physics.org> | 2023-04-12 17:12:10 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2023-06-01 15:31:50 +0200 |
commit | e922cc649959d2f05dc4df44b0d5889b0fcdb32c (patch) | |
tree | eab9eb140cb02e9264be7486b6d66ae939527584 /src/im-asapo.h | |
parent | 6d11d4f13eb46d67f5a619dec93f4b6c4c0d9718 (diff) |
ASAP::O: Use message ID as serial number
Diffstat (limited to 'src/im-asapo.h')
-rw-r--r-- | src/im-asapo.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/im-asapo.h b/src/im-asapo.h index cda9fbd9..cf7edfe4 100644 --- a/src/im-asapo.h +++ b/src/im-asapo.h @@ -53,7 +53,7 @@ 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); #else /* defined(HAVE_ASAPO) */ @@ -69,13 +69,14 @@ 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; } |