aboutsummaryrefslogtreecommitdiff
path: root/src/im-asapo.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-12-01 16:55:24 +0100
committerThomas White <taw@physics.org>2022-06-02 12:15:38 +0200
commitaf270239fa00eb4ca295fb4d866064bfd8a767b7 (patch)
tree6e0feb366d49b6303abfba5e6cc3f108b0f9590f /src/im-asapo.h
parent6aff9f9d2fd6cd4e028871e8162536f9e7fa1683 (diff)
ASAP::O: Pass filename through
Diffstat (limited to 'src/im-asapo.h')
-rw-r--r--src/im-asapo.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/im-asapo.h b/src/im-asapo.h
index 61d237db..26546a88 100644
--- a/src/im-asapo.h
+++ b/src/im-asapo.h
@@ -44,7 +44,8 @@ extern struct im_asapo *im_asapo_connect(const char *endpoint,
extern void im_asapo_shutdown(struct im_asapo *a);
-extern void *im_asapo_fetch(struct im_asapo *a, size_t *pdata_size);
+extern void *im_asapo_fetch(struct im_asapo *a, size_t *pdata_size,
+ char **pfilename, char **pevent);
extern char *im_asapo_make_unique_group_id(const char *endpoint,
const char *token);
@@ -64,9 +65,12 @@ static UNUSED void im_asapo_shutdown(struct im_asapo *a)
{
}
-static UNUSED void *im_asapo_fetch(struct im_asapo *a, size_t *psize)
+static UNUSED void *im_asapo_fetch(struct im_asapo *a, size_t *psize,
+ char **pfilename, char **pevent)
{
*psize = 0;
+ *pfilename = NULL;
+ *pevent = NULL;
return NULL;
}