From fea924350b6ba50dc0cb0e5e133cbbd914137e61 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Tue, 6 Aug 2019 15:44:18 +0200 Subject: Added a proper subscriptions listing for the direct conversations closer --- restapi/subscriptions.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 restapi/subscriptions.h (limited to 'restapi/subscriptions.h') diff --git a/restapi/subscriptions.h b/restapi/subscriptions.h new file mode 100644 index 0000000..0347e15 --- /dev/null +++ b/restapi/subscriptions.h @@ -0,0 +1,9 @@ +#ifndef RESTAPI_SUBSCRIPTIONS_H_ +#define RESTAPI_SUBSCRIPTIONS_H_ + +#include "common/subscriptions.h" + +struct subscription* // returns NULL if error or a uthash of subscriptions that needs to be freed by the caller +restapi_subscriptions_get(void); + +#endif -- cgit v1.2.3