KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
lftpd.c File Reference
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <kos.h>
#include <dc/video.h>
#include <dc/biosfont.h>
#include <dc/maple.h>
#include <dc/maple/controller.h>
#include <dc/g1ata.h>
#include <dc/sd.h>
#include <fat/fs_fat.h>
#include <lftpd/lftpd.h>

Macros

#define FTP_PORT   21
 
#define DHCP_WAIT_MS   5000
 

Functions

 KOS_INIT_FLAGS (INIT_DEFAULT|INIT_NET)
 
static void clean_exit (void)
 
int main (int argc, char *argv[])
 

Variables

static kos_blockdev_t ide_bd
 
static kos_blockdev_t sd_bd
 

Macro Definition Documentation

◆ DHCP_WAIT_MS

#define DHCP_WAIT_MS   5000

Referenced by main().

◆ FTP_PORT

#define FTP_PORT   21

Referenced by main().

Function Documentation

◆ clean_exit()

static void clean_exit ( void )
static

References fs_fat_sync().

Referenced by main().

◆ KOS_INIT_FLAGS()

KOS_INIT_FLAGS ( INIT_DEFAULT| INIT_NET)

◆ main()

Variable Documentation

◆ ide_bd

kos_blockdev_t ide_bd
static

Referenced by main().

◆ sd_bd

kos_blockdev_t sd_bd
static

Referenced by main().