diff options
author | Werner Koch <[email protected]> | 2016-08-23 04:48:50 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-08-23 04:48:50 +0000 |
commit | 3955dce06e9d056599e5ec7d40301e66b9305195 (patch) | |
tree | 1336879434595922fb272d220a9584bd27828fe1 /src/mbox-util.h | |
parent | core: New code for parsing mail addresses. (diff) | |
download | gpgme-3955dce06e9d056599e5ec7d40301e66b9305195.tar.gz gpgme-3955dce06e9d056599e5ec7d40301e66b9305195.zip |
core: Extend gpgme_user_id_t with 'address'.
* src/mbox-util.c, src/mbox-util.h: Adjust for use in gpgme.
* src/Makefile.am (main_sources): Add mbox-util.
* src/key.c (_gpgme_key_append_name): Set 'address' field of uid.
(gpgme_key_unref): Free it.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/mbox-util.h')
-rw-r--r-- | src/mbox-util.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mbox-util.h b/src/mbox-util.h index 9c7271f0..3195a4d9 100644 --- a/src/mbox-util.h +++ b/src/mbox-util.h @@ -19,11 +19,11 @@ #ifndef GNUPG_COMMON_MBOX_UTIL_H #define GNUPG_COMMON_MBOX_UTIL_H -int has_invalid_email_chars (const void *buffer, size_t length); -int is_valid_mailbox (const char *name); -int is_valid_mailbox_mem (const void *buffer, size_t length); -char *mailbox_from_userid (const char *userid); -int is_valid_user_id (const char *uid); +/* int has_invalid_email_chars (const void *buffer, size_t length); */ +int _gpgme_is_valid_mailbox (const char *name); +/* int _gpgme_is_valid_mailbox_mem (const void *buffer, size_t length); */ +char *_gpgme_mailbox_from_userid (const char *userid); +/* int is_valid_user_id (const char *uid); */ #endif /*GNUPG_COMMON_MBOX_UTIL_H*/ |