LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
lwip_fs.h File Reference
#include "lwip/err.h"
#include "lwip/opt.h"

Go to the source code of this file.

Data Structures

struct  fs_file
 

Macros

#define LWIP_HTTPD_CUSTOM_FILES   0
 
#define LWIP_HTTPD_FILE_STATE   0
 
#define HTTPD_PRECALCULATED_CHECKSUM   0
 

Functions

int GetHTTP_Header (const char *fName, char *buff)
 Get HTTP header function.
 
int fs_init (void)
 Initialize the filesystem and device on it.
 
struct fs_filefs_open_default (void)
 Open default HTTP file function.
 
struct fs_filefs_open (const char *name)
 Open a file from the Filesystem function The function will open the file present on the file system.
 
void fs_close (struct fs_file *file)
 Closes/Frees a previously opened file function The function will close the file & free the resources.
 
int fs_read (struct fs_file *file, char *buffer, int count)
 This reads the requested number of bytes from the file function The function will read the specified number of bytes from the file.
 
int fs_bytes_left (struct fs_file *file)
 Get number of bytes yet to be read in a file function The function will return the number bytes yet to be read from the file.