File: zstdfile.h

package info (click to toggle)
avfs 1.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,916 kB
  • sloc: ansic: 31,364; sh: 6,482; perl: 1,916; makefile: 351
file content (22 lines) | stat: -rw-r--r-- 595 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
    AVFS: A Virtual File System Library
    Copyright (C) 2018  Ralf Hoffmann <ralf@boomerangsworld.de>

    This program can be distributed under the terms of the GNU GPL.
    See the file COPYING.

    based on bzfile.h
*/


#include "avfs.h"

struct zstdfile;
struct zstdcache;

avssize_t av_zstdfile_pread(struct zstdfile *fil, struct zstdcache *zc, char *buf,
                            avsize_t nbyte, avoff_t offset);

struct zstdfile *av_zstdfile_new(vfile *vf);
int av_zstdfile_size(struct zstdfile *fil, struct zstdcache *zc, avoff_t *sizep);
struct zstdcache *av_zstdcache_new();