1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Move new mailbox.c source file to common/.

* g10/mailbox.c: Move to ...
* common/mbox-util.c: new file.
* common/mbox-util.h: New. Include where needed.
* g10/t-mailbox.c: Move to ...
* common/t-mbox-util.c: new file.
--

This will make it easier to use the code by other modules in common/.
This commit is contained in:
Werner Koch 2015-02-25 11:43:50 +01:00
parent e2d9340280
commit 9913253610
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
10 changed files with 67 additions and 48 deletions

View file

@ -176,13 +176,6 @@ int mpi_print (estream_t stream, gcry_mpi_t a, int mode);
unsigned int ecdsa_qbits_from_Q (unsigned int qbits);
/*-- mailbox.c --*/
int has_invalid_email_chars (const char *s);
int is_valid_mailbox (const char *name);
char *mailbox_from_userid (const char *userid);
int is_valid_user_id (const char *uid);
/*-- status.c --*/
void set_status_fd ( int fd );
int is_status_enabled ( void );