uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
filesystem.c File Reference
#include "filesystem.h"
#include "fio.h"
#include "osdebug.h"
#include <stdint.h>
#include <string.h>
#include <hash-djb2.h>

Go to the source code of this file.

Classes

struct  fs_t
 

Macros

#define MAX_FS   16
 

Functions

 __attribute__ ((constructor))
 
int register_fs (const char *mountpoint, fs_open_t callback, void *opaque)
 
int fs_open (const char *path, int flags, int mode)
 

Macro Definition Documentation

#define MAX_FS   16

Definition at line 9 of file filesystem.c.

Function Documentation

__attribute__ ( (constructor)  )

Definition at line 19 of file filesystem.c.

int fs_open ( const char *  path,
int  flags,
int  mode 
)

Definition at line 39 of file filesystem.c.

int register_fs ( const char *  mountpoint,
fs_open_t  callback,
void *  opaque 
)

Definition at line 23 of file filesystem.c.