|
karazeh
A cross-platform software updating library.
|
Classes | |
| class | create_operation |
| class | delete_operation |
| class | delta_encoder |
| librsync implementation of delta encoding, used in rdiff. More... | |
| struct | download_t |
| class | downloader |
| class | file_manager |
| class | hasher |
| class | invalid_manifest |
| class | invalid_resource |
| class | invalid_state |
| struct | KARAZEH_EXPORT |
| class | logger |
| struct | logstream |
| class | manifest_error |
| class | md5_hasher |
| class | operation |
| class | patcher |
| class | path_resolver |
| struct | release_manifest |
| class | update_operation |
| class | version_manifest |
Typedefs | |
| typedef struct kzh::KARAZEH_EXPORT | config_t |
| typedef file_manager | file_manager_t |
| typedef hasher | hasher_t |
| typedef string_t | identity_t |
| typedef json11::Json | JSON |
| typedef boost::filesystem::path | path_t |
| typedef std::string | string_t |
| typedef unsigned long | uint64_t |
Enumerations | |
| enum | STAGE_RC { STAGE_OK = 0, STAGE_UNAUTHORIZED, STAGE_OUT_OF_SPACE, STAGE_FILE_EXISTS, STAGE_FILE_MISSING, STAGE_FILE_INTEGRITY_MISMATCH, STAGE_INTERNAL_ERROR } |
Functions | |
| static path_t | locate_bin_directory (const logger *, bool verbose) |
| static path_t | locate_root_directory (const path_t &) |
| static size_t | on_curl_data (char *buffer, size_t size, size_t nmemb, void *userdata) |
Variables | |
| static size_t | block_len = RS_DEFAULT_BLOCK_LEN |
| static char | levels [] = { 'D','I','N','W','E','A','C' } |
| static const JSON::shape | SCHEMA_CREATE_OPERATION |
| static const JSON::shape | SCHEMA_CREATE_OPERATION_SOURCE |
| static const JSON::shape | SCHEMA_DELETE_OPERATION |
| static const JSON::shape | SCHEMA_IDENTITY_LIST |
| static const JSON::shape | SCHEMA_RELEASE |
| static const JSON::shape | SCHEMA_UPDATE_OPERATION |
| static const JSON::shape | SCHEMA_UPDATE_OPERATION_BASIS |
| static const JSON::shape | SCHEMA_UPDATE_OPERATION_DELTA |
| static size_t | strong_len = RS_MAX_STRONG_SUM_LENGTH |
| static char | threshold = 'D' |
| static const auto | validate_schema |
karazeh – the library for patching software
Copyright (C) 2011-2016 by Ahmad Amireh ahmad@amireh.net
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
| typedef struct kzh::KARAZEH_EXPORT kzh::config_t |
| typedef file_manager kzh::file_manager_t |
| typedef hasher kzh::hasher_t |
| typedef string_t kzh::identity_t |
| typedef json11::Json kzh::JSON |
| typedef boost::filesystem::path kzh::path_t |
| typedef std::string kzh::string_t |
| typedef unsigned long kzh::uint64_t |
| enum kzh::STAGE_RC |
References kzh::logger::error(), and macBundlePath().
Referenced by macBundlePath(), and kzh::path_resolver::resolve().
References KZH_DISTANCE_FROM_ROOT.
Referenced by macBundlePath(), and kzh::path_resolver::resolve().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Referenced by kzh::version_manifest::get_available_updates(), and kzh::version_manifest::parse().