1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

common: New function nve_set

* common/name-value.c (nve_set): New.
--

Taken from 2.2 commit 706adf6691
This commit is contained in:
Werner Koch 2023-05-26 11:56:36 +02:00
parent 9f2f7a51b2
commit a048a93ed2
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
2 changed files with 27 additions and 0 deletions

View file

@ -92,6 +92,9 @@ gpg_error_t nvc_add (nvc_t pk, const char *name, const char *value);
first entry is updated. */
gpg_error_t nvc_set (nvc_t pk, const char *name, const char *value);
/* Update entry E to VALUE. */
gpg_error_t nve_set (nve_t e, const char *value);
/* Delete the given entry from PK. */
void nvc_delete (nvc_t pk, nve_t pke);