Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

fs.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  fs_file

Functions

int fs_open (char *name, struct fs_file *file)


Function Documentation

int fs_open char *  name,
struct fs_file file
 

Definition at line 49 of file fs.c.

References fs_file::data, FS_ROOT, fs_file::len, name, and NULL.

Referenced by http_recv().

00050 {
00051   struct fsdata_file_noconst *f;
00052 
00053   for(f = (struct fsdata_file_noconst *)FS_ROOT; f != NULL; f = (struct fsdata_file_noconst *)f->next) {
00054     if(!strcmp(name, f->name)) {
00055       file->data = f->data;
00056       file->len = f->len;
00057       return 1;
00058     }
00059   }
00060   return 0;
00061 }


Generated on Wed Jan 14 12:59:04 2004 for RTL-lwIP-0.4 by doxygen 1.3.4