cbmimage
Loading...
Searching...
No Matches
file.c File Reference

cbmimage: file handling functions More...

#include "cbmimage/internal.h"
#include "cbmimage/alloc.h"
#include "cbmimage/helper.h"
#include <assert.h>
#include <string.h>
Include dependency graph for file.c:

Functions

cbmimage_filecbmimage_file_open_by_name (const char *filename)
 open a file on the cbmimage where the name is known
 
cbmimage_filecbmimage_file_open_by_dir_entry (cbmimage_dir_entry *dir_entry)
 open a file on the cbmimage that has already een enumerated
 
void cbmimage_file_close (cbmimage_file *file)
 close a file
 
int cbmimage_file_read_next_block (cbmimage_file *file, uint8_t *buffer, size_t buffer_size)
 read a block from the file
 

Detailed Description

cbmimage: file handling functions


Author
Spiro Trikaliotis