25 #ifndef HFILE_INTERNAL_H
26 #define HFILE_INTERNAL_H
39 ssize_t (*
write)(
hFILE *fp,
const void *buffer,
size_t nbytes)
void hfile_destroy(hFILE *fp)
Definition: hfile.c:89
ssize_t(* write)(hFILE *fp, const void *buffer, size_t nbytes) HTS_RESULT_USED
Definition: hfile_internal.h:39
int(* close)(hFILE *fp) HTS_RESULT_USED
Definition: hfile_internal.h:53
off_t(* seek)(hFILE *fp, off_t offset, int whence) HTS_RESULT_USED
Definition: hfile_internal.h:44
hFILE * hfile_init(size_t struct_size, const char *mode, size_t capacity)
Definition: hfile.c:64
int hfile_oflags(const char *mode)
Definition: hfile.c:425
#define HTS_RESULT_USED
Definition: hts_defs.h:38
int(* flush)(hFILE *fp) HTS_RESULT_USED
Definition: hfile_internal.h:48
Definition: hfile_internal.h:30
hFILE * hopen_net(const char *filename, const char *mode)
Definition: hfile_net.c:84
ssize_t(* read)(hFILE *fp, void *buffer, size_t nbytes) HTS_RESULT_USED
Definition: hfile_internal.h:34