Name Description Size
argparse.c The malloced configuration directories or NULL. 88881
b64dec.c The reverse base-64 list used for base-64 decoding. 7513
b64enc.c The base-64 character list 12351
code-from-errno.c Retrieve the error code for the system error ERR. This returns GPG_ERR_UNKNOWN_ERRNO if the system error is not mapped (report this). 1861
code-to-errno.c Retrieve the system error for the error code CODE. This returns 0 if CODE is not a system error code. 1349
err-codes.h Output of mkstrtable.awk. DO NOT EDIT. 26814
err-codes.h.in 24060
err-sources.h Output of mkstrtable.awk. DO NOT EDIT. 2304
err-sources.h.in 2429
errnos.in 3014
estream-printf.c Required autoconf tests: AC_TYPE_LONG_LONG_INT defines HAVE_LONG_LONG_INT AC_TYPE_LONG_DOUBLE defines HAVE_LONG_DOUBLE AC_TYPE_INTMAX_T defines HAVE_INTMAX_T AC_TYPE_UINTMAX_T defines HAVE_UINTMAX_T AC_CHECK_TYPES([ptrdiff_t]) defines HAVE_PTRDIFF_T AC_CHECK_SIZEOF([unsigned long]) defines SIZEOF_UNSIGNED_LONG AC_CHECK_SIZEOF([void *]) defines SIZEOF_VOID_P HAVE_LANGINFO_THOUSEP Note that the file estream.m4 provides the autoconf macro ESTREAM_PRINTF_INIT which runs all required checks. See estream-printf.h for ways to tune this code. Missing stuff: wchar and wint_t thousep in pr_float. 54089
estream-printf.h To use this file with libraries the following macro is useful: #define _ESTREAM_EXT_SYM_PREFIX _foo_ This prefixes all external symbols with "_foo_". For the implementation of the code (estream-printf.c) the following macros may be used to tune the implementation for certain systems: #define _ESTREAM_PRINTF_REALLOC foo_realloc Make estream_asprintf and estream_vasprintf use foo_realloc instead of the standard realloc to allocate memory returned to the caller. Note that foo_realloc needs to be C-90 compliant: foo_realloc (NULL,n) is the same as a call to malloc(n) and foo_realloc (a, 0) is the same as a call to free (a). #define _ESTREAM_PRINTF_EXTRA_INCLUDE "foo.h" This includes the file "foo.h" which may provide prototypes for the custom memory allocation functions. 6439
estream.c Enable tracing. The value is the module name to be printed. 128517
gen-lock-obj.sh 3142
gen-posix-lock-obj.c Check that configure did its job. 4399
gen-w32-lock-obj.c 1510
gettext.h NLS can be disabled through the configure --disable-nls option. 3249
gpg-error-config-test.sh 3151
gpg-error-config-test.sh.in 3162
gpg-error-config.in 2214
gpg-error.c The implementation follows below. 19901
gpg-error.def.in 7561
gpg-error.h.in 51400
gpg-error.m4 8147
gpg-error.pc.in 422
gpg-error.vers 4729
gpg-error.w32-manifest.in 741
gpgrt-config 13393
gpgrt-config.in 13404
gpgrt-int.h Internal i18n macros. 32170
gpgrt.m4 4085
init.c Generated map_w32codes () 18244
init.h Forward declaration - defined in w32-gettext.c. 2126
lock.h LOCK_H 834
logging.c !HAVE_W32_SYSTEM 35973
Makefile.am 13218
Makefile.in 96511
mkerrcodes.awk 3406
mkerrcodes.c This file must not include config.h, as that is for the host system, while this file will be run on the build system. 2712
mkerrcodes1.awk 3517
mkerrcodes2.awk 4739
mkerrnos.awk 3690
mkheader.c mkheader.c - Create a header file for libgpg-error Copyright (C) 2010 Free Software Foundation, Inc. Copyright (C) 2014 g10 Code GmbH This file is free software; as a special exception the author gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 19069
mkstrtable.awk 6265
mkw32errmap.c errno.h - WindowsCE errno.h substitute\n" " Copyright (C) 2010 g10 Code GmbH\n" "\n" " This file is free software; as a special exception the author gives\n" " unlimited permission to copy and/or distribute it, with or without\n" " modifications, as long as this notice is preserved.\n" "\n" " This file is distributed in the hope that it will be useful, but\n" " WITHOUT ANY WARRANTY, to the extent permitted by law; without even\n" " the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n" " PURPOSE.\n" "\n" " +++ Do not edit! File has been generated by mkw32errmap.c +++\n" "\n" " This file is intended to be used with ming32ce-gcc to implement an\n" " errno substitute under WindowsCE. It must be included via gcc's\n" " -idirafter option. The gpg-error-config script emits the\n" " appropriate option snippet. The actual implementation of the errno\n" " related functions are part of libgpg-error. A separate header file\n" " is required because errno.h is often included before gpg-error.h.\n" " 6405
posix-lock-obj.h POSIX_LOCK_OBJ_H 1170
posix-lock.c On ELF systems it is easy to use pthreads using weak references. Take care not to test the address of a weak referenced function we actually use; some GCC versions have a bug were &foo != NULL is always evaluated to true in PIC mode. 6732
posix-thread.c Get posix option macros. 1617
protos.h -- w32-gettext.c -- 1142
README Notes on the source code 2067
spawn-posix.c HAVE_GETRLIMIT 21753
spawn-w32.c We only need the OS core stuff. 27156
strerror-sym.c Return a pointer to a string containing the name of the symbol of the error code in the error value ERR. Returns NULL if the error code is not known. 1637
strerror.c Return a pointer to a string containing a description of the error code in the error value ERR. This function is not thread-safe. 4840
stringutils.c Helper for _gpgrt_fnameconcat. The additional flag WANT_ABS tells whether an absolute file name is requested. 5702
strsource-sym.c Return a pointer to a string containing the name of the symbol of the error source in the error value ERR. Returns NULL if the error code is not known. 1408
strsource.c Return a pointer to a string containing a description of the error source in the error value ERR. 1252
syscall-clamp.c Functions called before and after blocking syscalls. gpgrt_set_syscall_clamp is used to set them. 2223
syscfg
sysutils.c Return true if STRING has any 8 bit character. 12094
thread.h THREAD_H 844
version.c This is actually a dummy function to make sure that is module is not empty. Some compilers barf on empty modules. 6448
versioninfo.rc.in 1826
visibility.c For abort(). 23714
visibility.h Include the main header here so that public symbols are mapped to the internal underscored ones. 18621
w32-add.h Decide whether to use the format_arg attribute. 3132
w32-estream.c This file is based on GPGME's w32-io.c started in 2001. 28989
w32-gettext.c !jnlib_malloc 53581
w32-iconv.c for WC_NO_BEST_FIT_CHARS 54279
w32-lock-obj.h The real definition of our lock object. The public definition is named gpgrt_lock_t and hides this internal structure. 1201
w32-lock.c If VERS is zero we assume that no static initialization has been done, so we setup our ABI version right here. The caller might have called us to test whether lock support is at all available. 3927
w32-reg.c Return a string from the W32 Registry or NULL in case of error. Caller must release the return value. A NULL for root is an alias for HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE in turn. The returned string is UTF-8 encoded; ROOT, DIR, and NAME must be plain ASCII. 4600
w32-thread.c 1216
w32ce-add.h Substitute for strerror - this one is thread safe. 294