Ubuntu Platform API
3.0.0
A library helping with tight integration into the Ubuntu platform
|
|
Go to the documentation of this file.
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.
find_package(Doxygen) if(DOXYGEN_FOUND) configure_file($
UBUNTU_DLL_PUBLIC UStatus u_application_archive_write_end_blockn(UApplicationArchive *archive, const char *name, size_t size)
set(UBUNTU_APPLICATION_HEADERS archive.h description.h id.h instance.h lifecycle_delegate.h operation_mode.h options.h init.h) install(FILES $
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.
UbuntuStatus
Indicates the status of an operation.
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.
#define UBUNTU_DLL_PUBLIC
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
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.