Home GnuPG

core: New API functions gpgrt_strdup and gpgrt_strconcat.

Description

core: New API functions gpgrt_strdup and gpgrt_strconcat.

* src/visibility.c (gpgrt_strdup): New API fucntion.
(gpgrt_strconcat): New API fucntion.
* src/visibility.h: Add corresponding macros.
* src/gpg-error.def.in: Add them.
* src/gpg-error.vers: Add them.
* src/gpgrt-int.h (DIM): New macro.
* src/init.c (_gpgrt_strdup): New.
(_gpgrt_strconcat_core): New.
(_gpgrt_strconcat): New.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 17 2017, 11:26 AM
Parents
rE80c18e1b212c: core: New API functions gpgrt_malloc, gpgrt_calloc, and gpgrt_realloc.
Branches
Unknown
Tags
Unknown