Rizin
unix-like reverse engineering framework and cli tools
zip_source_tell_write.c File Reference
#include "zipint.h"

Go to the source code of this file.

Functions

ZIP_EXTERN zip_int64_t zip_source_tell_write (zip_source_t *src)
 

Function Documentation

◆ zip_source_tell_write()

ZIP_EXTERN zip_int64_t zip_source_tell_write ( zip_source_t src)

Definition at line 39 of file zip_source_tell_write.c.

39  {
41  zip_error_set(&src->error, ZIP_ER_INVAL, 0);
42  return -1;
43  }
44 
46 }
lzma_index * src
Definition: index.h:567
#define NULL
Definition: cris-opc.c:27
ZIP_EXTERN void zip_error_set(zip_error_t *_Nullable, int, int)
Definition: zip_error.c:126
@ ZIP_SOURCE_TELL_WRITE
Definition: zip.h:233
#define ZIP_ER_INVAL
Definition: zip.h:123
zip_int64_t _zip_source_call(zip_source_t *src, void *data, zip_uint64_t length, zip_source_cmd_t command)
#define ZIP_SOURCE_IS_OPEN_WRITING(src)
Definition: zipint.h:403

References _zip_source_call(), NULL, src, ZIP_ER_INVAL, zip_error_set(), ZIP_SOURCE_IS_OPEN_WRITING, and ZIP_SOURCE_TELL_WRITE.

Referenced by _zip_cdir_write(), add_data(), write_cdir(), and zip_close().