/** @internal * @file http_microhttpd.c * @brief a httpd implementation using libmicrohttpd * @author Copyright (C) 2015 Alexander Couzens * @author Copyright (C) 2015-2023 The openNDS contributors * @author Copyright (C) 2015-2025 Modifications and additions by BlueWave Projects and Services */ #ifndef HTTP_MICROHTTPD_H #define HTTP_MICROHTTPD_H #include #include #include struct MHD_Connection; /** @brief Get an IP's MAC address from the ARP cache.*/ int arp_get(char mac_addr[18], const char req_ip[]); void start_mhd(void); void stop_mhd(void); enum MHD_Result libmicrohttpd_cb (void *cls, struct MHD_Connection *connection, const char *url, const char *method, const char *version, const char *upload_data, size_t *upload_data_size, void **ptr); #endif // HTTP_MICROHTTPD_H