diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-04-26 11:56:18 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-04-26 11:56:18 +0000 |
commit | d0e8c315c1b5e66abfad618848da4e3fe2dc5536 (patch) | |
tree | 2d9008d7836fcb1a5bb4bfed18b492c237deb1d6 /include | |
parent | 4bacbfc27716d7323175f3aabd7ac8a9005270dc (diff) | |
download | mailutils-d0e8c315c1b5e66abfad618848da4e3fe2dc5536.tar.gz mailutils-d0e8c315c1b5e66abfad618848da4e3fe2dc5536.tar.bz2 |
(mu_address_set_personal)
(mu_address_set_comments): New functions
Diffstat (limited to 'include')
-rw-r--r-- | include/mailutils/address.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/mailutils/address.h b/include/mailutils/address.h index ea5cd517d..d4ad08661 100644 --- a/include/mailutils/address.h +++ b/include/mailutils/address.h @@ -1,5 +1,5 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 1999, 2000, 2005 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2005, 2006 Free Software Foundation, Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -71,6 +71,13 @@ extern int mu_address_contains_email (mu_address_t addr, const char *email); extern int mu_address_union (mu_address_t *a, mu_address_t b); extern size_t mu_address_format_string (mu_address_t addr, char *buf, size_t buflen); + + /* The following setters are not entirely orthogonal to their _get_ + counterparts. Only personal and comments parts can be set */ +extern int mu_address_set_personal (mu_address_t addr, size_t no, + const char *buf); +extern int mu_address_set_comments (mu_address_t addr, size_t no, + const char *buf); #ifdef __cplusplus } |