From e922cc649959d2f05dc4df44b0d5889b0fcdb32c Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 12 Apr 2023 17:12:10 +0200 Subject: ASAP::O: Use message ID as serial number --- src/im-asapo.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/im-asapo.h') 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; } -- cgit v1.2.3