Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
ArchiveWriter.cpp File Reference
#include "sese/io/File.h"
#include "ArchiveWriter.h"
#include <archive.h>
#include <archive_entry.h>

Macros

#define XX   static_cast<struct archive *>(ArchiveWriter::archive)
 

Functions

SESE_ALWAYS_INLINE int open (struct archive *a, void *archive)
 
SESE_ALWAYS_INLINE int64_t write (struct archive *a, void *archive, const void *buffer, size_t len)
 
SESE_ALWAYS_INLINE int close (struct archive *a, void *archive)
 
SESE_ALWAYS_INLINE int free (struct archive *a, void *archive)
 
SESE_ALWAYS_INLINE const char * passphrase (struct archive *a, void *archive)
 

Macro Definition Documentation

◆ XX

#define XX   static_cast<struct archive *>(ArchiveWriter::archive)

Function Documentation

◆ close()

SESE_ALWAYS_INLINE int close ( struct archive * a,
void * archive )

◆ free()

SESE_ALWAYS_INLINE int free ( struct archive * a,
void * archive )

◆ open()

SESE_ALWAYS_INLINE int open ( struct archive * a,
void * archive )

◆ passphrase()

SESE_ALWAYS_INLINE const char * passphrase ( struct archive * a,
void * archive )

◆ write()

SESE_ALWAYS_INLINE int64_t write ( struct archive * a,
void * archive,
const void * buffer,
size_t len )