|
Packit |
d7e8d0 |
/* mbox-util.h - Defs for mail address helper functions
|
|
Packit |
d7e8d0 |
* Copyright (C) 2015 Werner Koch
|
|
Packit |
d7e8d0 |
*
|
|
Packit |
d7e8d0 |
* This file is part of GnuPG.
|
|
Packit |
d7e8d0 |
*
|
|
Packit |
d7e8d0 |
* This file is free software; you can redistribute it and/or modify
|
|
Packit |
d7e8d0 |
* it under the terms of the GNU Lesser General Public License as
|
|
Packit |
d7e8d0 |
* published by the Free Software Foundation; either version 2.1 of
|
|
Packit |
d7e8d0 |
* the License, or (at your option) any later version.
|
|
Packit |
d7e8d0 |
*
|
|
Packit |
d7e8d0 |
* This file is distributed in the hope that it will be useful,
|
|
Packit |
d7e8d0 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
d7e8d0 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit |
d7e8d0 |
* GNU Lesser General Public License for more details.
|
|
Packit |
d7e8d0 |
*
|
|
Packit |
d7e8d0 |
* You should have received a copy of the GNU Lesser General Public License
|
|
Packit |
d7e8d0 |
* along with this program; if not, see <https://www.gnu.org/licenses/>.
|
|
Packit |
d7e8d0 |
*/
|
|
Packit |
d7e8d0 |
#ifndef GNUPG_COMMON_MBOX_UTIL_H
|
|
Packit |
d7e8d0 |
#define GNUPG_COMMON_MBOX_UTIL_H
|
|
Packit |
d7e8d0 |
|
|
Packit |
d7e8d0 |
/* int has_invalid_email_chars (const void *buffer, size_t length); */
|
|
Packit |
d7e8d0 |
int _gpgme_is_valid_mailbox (const char *name);
|
|
Packit |
d7e8d0 |
/* int _gpgme_is_valid_mailbox_mem (const void *buffer, size_t length); */
|
|
Packit |
d7e8d0 |
char *_gpgme_mailbox_from_userid (const char *userid);
|
|
Packit |
d7e8d0 |
/* int is_valid_user_id (const char *uid); */
|
|
Packit |
d7e8d0 |
|
|
Packit |
d7e8d0 |
|
|
Packit |
d7e8d0 |
#endif /*GNUPG_COMMON_MBOX_UTIL_H*/
|