You're welcome, glad it worked for you. 🙂
On Fri, Dec 17, 2021 at 2:23 PM Gavin Henry wrote:
> Hi Silvio,
>
> Thanks. That's what I thought and what I was doing. The problem was
> just the pointer I was passing in wasn't getting cast correctly in my
> ahc_get. Newbie :-)
>
> All good now.
>
> Re
Yeah, that looks right. same as in the examples:
https://github.com/rboulton/libmicrohttpd/blob/61ce9c138338ed34d477482cd5efcaf1bde422dc/src/examples/minimal_example.c#L39
Hi Silvio,
Thanks. That's what I thought and what I was doing. The problem was
just the pointer I was passing in wasn't getting cast correctly in my
ahc_get. Newbie :-)
All good now.
Really appreciated your reply though!
Hi Gavin.
I'm not sure if I understood properly, but, if you are trying to share your
config instance to your request handle function, you can send it
via MHD_start_daemon(), for example, supposing code at
https://github.com/SentryPeer/SentryPeer/blob/99a5b5be48c788d9e5f4177725babc5a97e8f37e/src/h
Hi all,
At
https://github.com/SentryPeer/SentryPeer/blob/99a5b5be48c788d9e5f4177725babc5a97e8f37e/src/http_daemon.c#L135
I'm looking to pass in sentrypeer_config const *config, and am using
dh_cls to pick off cls in:
https://github.com/SentryPeer/SentryPeer/blob/99a5b5be48c788d9e5f4177725babc5a