/* * fb_captive.h * Captive portal detection and bypass strategies. */ #pragma once #include #ifdef __cplusplus extern "C" { #endif typedef enum { FB_PORTAL_NONE, /* No captive portal — internet is open */ FB_PORTAL_DETECTED, /* Captive portal detected (302 or non-204) */ FB_PORTAL_UNKNOWN, /* Couldn't determine (connection failed) */ } fb_portal_status_t; fb_portal_status_t fb_captive_detect(void); bool fb_captive_bypass(void); #ifdef __cplusplus } #endif