ocean.util.cipher.gcrypt.c.gpgerror

D bindings to GPG error functions, used by libgcrypt.

These are actually in the separate libgpg-error library, but libgcrypt is linked with it.

Requires linking with libgcrypt:

-L-lgcrypt

Public Imports

ocean.util.cipher.gcrypt.c.libversion
public import ocean.util.cipher.gcrypt.c.libversion;
Undocumented in source.

Members

Aliases

gpg_error_t
alias gpg_error_t = uint

See original's library documentation for details.

Enums

GPG_ERR_CODE
enum GPG_ERR_CODE

See original's library documentation for details.

GPG_ERR_SOURCE
enum GPG_ERR_SOURCE

See original's library documentation for details.

Functions

gpg_err_code
GPG_ERR_CODE gpg_err_code(gpg_error_t err)

See original's library documentation for details.

gpg_err_code_from_errno
GPG_ERR_CODE gpg_err_code_from_errno(int err)

See original's library documentation for details.

gpg_err_code_from_syserror
GPG_ERR_CODE gpg_err_code_from_syserror()

See original's library documentation for details.

gpg_err_code_to_errno
int gpg_err_code_to_errno(GPG_ERR_CODE code)

See original's library documentation for details.

gpg_err_deinit
void gpg_err_deinit(int mode)

See original's library documentation for details.

gpg_err_init
uint gpg_err_init()

See original's library documentation for details.

gpg_err_make
uint gpg_err_make(GPG_ERR_SOURCE source, GPG_ERR_CODE code)

See original's library documentation for details.

gpg_err_set_errno
void gpg_err_set_errno(int err)

See original's library documentation for details.

gpg_err_source
GPG_ERR_SOURCE gpg_err_source(gpg_error_t err)

See original's library documentation for details.

gpg_error
gpg_error_t gpg_error(GPG_ERR_CODE code)

See original's library documentation for details.

gpg_error_check_version
const(char)* gpg_error_check_version(const(char)* req_version)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
gpg_strerror
const(char)* gpg_strerror(gpg_error_t err)

See original's library documentation for details.

gpg_strerror_r
int gpg_strerror_r(gpg_error_t err, char* buf, size_t buflen)

See original's library documentation for details.

gpg_strerror_r
int gpg_strerror_r(uint err, char[] msg)
Undocumented in source. Be warned that the author may not have intended to support it.
gpg_strsource
const(char)* gpg_strsource(uint err)

See original's library documentation for details.

gpgrt_check_version
const(char)* gpgrt_check_version(const(char)* req_version)

See original's library documentation for details.

gpgrt_set_alloc_func
void gpgrt_set_alloc_func(void* function(void* a, size_t n) f)

See original's library documentation for details.

gpgrt_set_syscall_clamp
void gpgrt_set_syscall_clamp(void function() pre, void function() post)

See original's library documentation for details.

Static variables

GPGRT_VERSION_NUMBER
auto GPGRT_VERSION_NUMBER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
GPG_ERROR_VERSION_NUMBER
auto GPG_ERROR_VERSION_NUMBER;

See original's library documentation for details.

GPG_ERR_CODE_DIM
auto GPG_ERR_CODE_DIM;

See original's library documentation for details.

GPG_ERR_SOURCE_DIM
auto GPG_ERR_SOURCE_DIM;

See original's library documentation for details.

GPG_ERR_SOURCE_SHIFT
auto GPG_ERR_SOURCE_SHIFT;

See original's library documentation for details.

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).

Bear in mind this module provides bindings to an external library that has its own license, which might be more restrictive. Please check the external library license to see which conditions apply for linking.