Go to the source code of this file.
|
ar_archive * | ar_open_archive (ar_stream *stream, size_t struct_size, ar_archive_close_fn close, ar_parse_entry_fn parse_entry, ar_entry_get_name_fn get_name, ar_entry_uncompress_fn uncompress, ar_get_global_comment_fn get_comment, off64_t first_entry_offset) |
|
void | ar_close_archive (ar_archive *ar) |
|
bool | ar_at_eof (ar_archive *ar) |
|
bool | ar_parse_entry (ar_archive *ar) |
|
bool | ar_parse_entry_at (ar_archive *ar, off64_t offset) |
|
bool | ar_parse_entry_for (ar_archive *ar, const char *entry_name) |
|
const char * | ar_entry_get_name (ar_archive *ar) |
|
off64_t | ar_entry_get_offset (ar_archive *ar) |
|
size_t | ar_entry_get_size (ar_archive *ar) |
|
time64_t | ar_entry_get_filetime (ar_archive *ar) |
|
bool | ar_entry_uncompress (ar_archive *ar, void *buffer, size_t count) |
|
size_t | ar_get_global_comment (ar_archive *ar, void *buffer, size_t count) |
|
void | ar_log (const char *prefix, const char *file, int line, const char *msg,...) |
|
bool ar_entry_uncompress |
( |
ar_archive * |
ar, |
|
|
void * |
buffer, |
|
|
size_t |
count |
|
) |
| |
size_t ar_get_global_comment |
( |
ar_archive * |
ar, |
|
|
void * |
buffer, |
|
|
size_t |
count |
|
) |
| |
void ar_log |
( |
const char * |
prefix, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
msg, |
|
|
|
... |
|
) |
| |
Definition at line 95 of file unarr.c.
100 fprintf(stderr,
"%s ",
prefix);
104 file =
strrchr(file,
'\\') + 1;
105 fprintf(stderr,
"%s:%d: ", file, line);
106 vfprintf(stderr, msg, args);
107 fprintf(stderr,
"\n");
Definition at line 6 of file unarr.c.
13 memset(ar, 0, struct_size);
bool ar_parse_entry_for |
( |
ar_archive * |
ar, |
|
|
const char * |
entry_name |
|
) |
| |
Definition at line 48 of file unarr.c.
57 if (name && strcmp(name, entry_name) == 0)