KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
simhost.c File Reference
#include <kos/thread.h>
#include <dc/video.h>
#include <dc/biosfont.h>
#include <dc/maple.h>
#include <dc/maple/controller.h>
#include <kos/init.h>

Functions

 KOS_INIT_FLAGS (INIT_DEFAULT|INIT_NET)
 
void httpd_shutdown (void)
 
void httpd (void)
 
void * do_httpd (void *foo)
 
int main (int argc, char **argv)
 

Variables

static volatile bool main_shutdown = false
 

Function Documentation

◆ do_httpd()

void * do_httpd ( void * foo)

References httpd(), main_shutdown, and NULL.

Referenced by main().

◆ httpd()

◆ httpd_shutdown()

void httpd_shutdown ( void )

References daemon_shutdown, listenfd, SHUT_RDWR, shutdown(), states, and thd_pass().

Referenced by main().

◆ KOS_INIT_FLAGS()

KOS_INIT_FLAGS ( INIT_DEFAULT| INIT_NET)

◆ main()

Variable Documentation

◆ main_shutdown

volatile bool main_shutdown = false
static

Referenced by do_httpd(), and main().