angler-fishThe Vulnerability History Project

journal-remote: split out µhttpd support and main() into a separate file

      This is in preparation to reusing the RemoteServer in other concepts.
I tried to keep changes to minimum:
- arg_* global variables are now passed as state in RemoteServer
- exported functions get the "journal_remote_" prefix
- some variables are renamed

In particular, there is an ugly global RemoveServer* variable. It was originally
added because µhttpd did not allow state to be passed to the callbacks. I'm not
sure if this has been remediated in µhttpd, but either way, this is not changed
here, the global variable is only renamed for clarity.
    
commit c064d8db402de0c0d609aabcfc722750856a1f01
+1 -2
-1145
+1152 -54
+1 -22
+8 -19
expand_less