Loading...
Searching...
No Matches
vcdiff_vfs.h File Reference

Detailed Description

Author
Juergen Fitschen me@ju.nosp@m.e.yt

Definition in file vcdiff_vfs.h.

#include "vcdiff.h"
#include "vfs.h"
+ Include dependency graph for vcdiff_vfs.h:

Go to the source code of this file.

Data Structures

struct  vcdiff_vfs_t
 Context for the underlying file. More...
 
#define VCDIFF_VFS_INIT_MAX_SIZE(FD, SIZE)   { .fd = FD, .max_size = SIZE }
 Initializes vcdiff_vfs_t with maximum allowed file size.
 
#define VCDIFF_VFS_INIT(FD)   VCDIFF_VFS_INIT_MAX_SIZE(FD, SIZE_MAX)
 Initializes vcdiff_vfs_t.
 
const vcdiff_driver_t vcdiff_vfs_driver
 Driver for accessing VFS-based file access.
 

Macro Definition Documentation

◆ VCDIFF_VFS_INIT

#define VCDIFF_VFS_INIT (   FD)    VCDIFF_VFS_INIT_MAX_SIZE(FD, SIZE_MAX)

Initializes vcdiff_vfs_t.

Definition at line 49 of file vcdiff_vfs.h.

◆ VCDIFF_VFS_INIT_MAX_SIZE

#define VCDIFF_VFS_INIT_MAX_SIZE (   FD,
  SIZE 
)    { .fd = FD, .max_size = SIZE }

Initializes vcdiff_vfs_t with maximum allowed file size.

Definition at line 44 of file vcdiff_vfs.h.