VSF Documented
Data Structures | Functions
xfs.h File Reference
#include "utilities/ooc_class.h"
#include "component/vsf_component.h"
#include <xboot.h>

Go to the source code of this file.

Data Structures

struct  xfs_context_t
 
struct  xfs_file_t
 

Functions

struct xfs_file_txfs_open_read (struct xfs_context_t *ctx, const char *name)
 
s64_t xfs_length (struct xfs_file_t *file)
 
s64_t xfs_read (struct xfs_file_t *file, void *buf, s64_t size)
 
void xfs_close (struct xfs_file_t *file)
 
s64_t xfs_seek (struct xfs_file_t *file, s64_t offset)
 

Function Documentation

◆ xfs_open_read()

struct xfs_file_t * xfs_open_read ( struct xfs_context_t ctx,
const char *  name 
)

◆ xfs_length()

s64_t xfs_length ( struct xfs_file_t file)

◆ xfs_read()

s64_t xfs_read ( struct xfs_file_t file,
void *  buf,
s64_t  size 
)

◆ xfs_close()

void xfs_close ( struct xfs_file_t file)

◆ xfs_seek()

s64_t xfs_seek ( struct xfs_file_t file,
s64_t  offset 
)