Guitar
Classes | Functions
zip Namespace Reference

Classes

class  Zip
 
struct  file_header_item_t
 
struct  zip_local_file_header_t
 
struct  zip_file_header_t
 
struct  zip_end_of_central_directory_record_t
 
struct  failed_t
 
struct  Item
 
class  ZipInternal
 
struct  file_entry_t
 

Functions

static void loadfile (char const *path, std::vector< unsigned char > *out)
 
static void write_ (int fd, void const *p, int n)
 
void archive (int fd, std::list< file_entry_t > const *filelist)
 
void archive (char const *zipfile, std::list< file_entry_t > const *filelist)
 
uint16_t msdos_date_format (int year, int month, int day)
 
uint16_t msdos_time_format (int hour, int minute, int second)
 

Function Documentation

◆ archive() [1/2]

void zip::archive ( char const *  zipfile,
std::list< file_entry_t > const *  filelist 
)
Here is the call graph for this function:

◆ archive() [2/2]

void zip::archive ( int  fd,
std::list< file_entry_t > const *  filelist 
)
Here is the call graph for this function:

◆ loadfile()

static void zip::loadfile ( char const *  path,
std::vector< unsigned char > *  out 
)
static

◆ msdos_date_format()

uint16_t zip::msdos_date_format ( int  year,
int  month,
int  day 
)
inline

◆ msdos_time_format()

uint16_t zip::msdos_time_format ( int  hour,
int  minute,
int  second 
)
inline

◆ write_()

static void zip::write_ ( int  fd,
void const *  p,
int  n 
)
static