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

Go to the source code of this file.

Macros

#define MAX_FS   16
 

Typedefs

typedef int(* fs_open_t )(void *opaque, const char *fname, int flags, int mode)
 

Functions

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 7 of file filesystem.h.

Typedef Documentation

typedef int(* fs_open_t)(void *opaque, const char *fname, int flags, int mode)

Definition at line 9 of file filesystem.h.

Function Documentation

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.