20 #ifndef UBUNTU_APPLICATION_ARCHIVE_H_
21 #define UBUNTU_APPLICATION_ARCHIVE_H_
105 const intptr_t *data,
171 const intptr_t *data,
UBUNTU_DLL_PUBLIC UStatus u_application_archive_write_wstringn(UApplicationArchive *archive, const wchar_t *s, size_t size)
Writes a string of wide characters to the supplied archive.
UBUNTU_DLL_PUBLIC UStatus u_application_archive_write_end_blockn(UApplicationArchive *archive, const char *name, size_t size)
UbuntuStatus
Indicates the status of an operation.
UBUNTU_DLL_PUBLIC UStatus u_application_archive_read_wstringn(UApplicationArchive *archive, const wchar_t *s, size_t size)
Reads a string of wide characters from the supplied archive.
UBUNTU_DLL_PUBLIC UStatus u_application_archive_read(const UApplicationArchive *archive, int64_t *s)
Reads a signed 64-bit integer from the supplied archive.
UBUNTU_DLL_PUBLIC UStatus u_application_archive_write_bytes(UApplicationArchive *archive, const intptr_t *data, size_t size)
Writes a blob of binary data to the supplied archive.
UBUNTU_DLL_PUBLIC UStatus u_application_archive_write(UApplicationArchive *archive, int64_t s)
Writes a signed 64-bit integer to the supplied archive.
UBUNTU_DLL_PUBLIC UStatus u_application_archive_read_bytes(UApplicationArchive *archive, const intptr_t *data, size_t size)
Reads a blob of binary data from the supplied archive.
UBUNTU_DLL_PUBLIC UApplicationArchive * u_application_archive_new()
Creates a new archive, ownership is transferred to caller.
struct UbuntuApplicationArchive_ UApplicationArchive
#define UBUNTU_DLL_PUBLIC
UBUNTU_DLL_PUBLIC void u_application_archive_destroy(UApplicationArchive *archive)
Destroys the given archive instance and releases all resources held by the instance.
UBUNTU_DLL_PUBLIC UStatus u_application_archive_write_begin_blockn(UApplicationArchive *archive, const char *name, size_t size)
UBUNTU_DLL_PUBLIC UStatus u_application_archive_read_stringn(const UApplicationArchive *archive, const char **s, size_t *size)
Reads a string of characters from the supplied archive.
UBUNTU_DLL_PUBLIC UStatus u_application_archive_write_stringn(UApplicationArchive *archive, const char *s, size_t size)
Writes a string of characters to the supplied archive.