ConOpSys V2970  P004.07
ANVILEX control operating system
Classes | Macros | Typedefs | Functions
fs.h File Reference
#include "httpd_opts.h"
#include "lwip/err.h"
Include dependency graph for fs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fs_file
 
struct  fsdata_file
 

Macros

#define FS_READ_EOF   -1
 
#define FS_READ_DELAYED   -2
 
#define FS_FILE_FLAGS_HEADER_INCLUDED   0x01
 
#define FS_FILE_FLAGS_HEADER_PERSISTENT   0x02
 
#define FS_FILE_FLAGS_HEADER_HTTPVER_1_1   0x04
 
#define FS_FILE_FLAGS_SSI   0x08
 

Typedefs

typedef void fs_file_extension
 

Functions

err_t fs_open (struct fs_file *file, const char *name)
 
void fs_close (struct fs_file *file)
 
int fs_bytes_left (struct fs_file *file)
 

Macro Definition Documentation

◆ FS_FILE_FLAGS_HEADER_HTTPVER_1_1

#define FS_FILE_FLAGS_HEADER_HTTPVER_1_1   0x04

◆ FS_FILE_FLAGS_HEADER_INCLUDED

#define FS_FILE_FLAGS_HEADER_INCLUDED   0x01

◆ FS_FILE_FLAGS_HEADER_PERSISTENT

#define FS_FILE_FLAGS_HEADER_PERSISTENT   0x02

◆ FS_FILE_FLAGS_SSI

#define FS_FILE_FLAGS_SSI   0x08

◆ FS_READ_DELAYED

#define FS_READ_DELAYED   -2

◆ FS_READ_EOF

#define FS_READ_EOF   -1

Typedef Documentation

◆ fs_file_extension

typedef void fs_file_extension

Define FS_FILE_EXTENSION_T_DEFINED if you have typedef'ed to your private pointer type (defaults to 'void' so the default usage is 'void*')

Function Documentation

◆ fs_bytes_left()

int fs_bytes_left ( struct fs_file file)

References fs_file::index, and fs_file::len.

◆ fs_close()

void fs_close ( struct fs_file file)

References LWIP_UNUSED_ARG.

◆ fs_open()

err_t fs_open ( struct fs_file file,
const char *  name 
)