Config type representing an email address. More...
Go to the source code of this file.
Functions | |
struct Address * | address_new (const char *addr) |
Create an Address from a string. | |
const struct Address * | cs_subset_address (const struct ConfigSubset *sub, const char *name) |
Get an Address config item by name. | |
Config type representing an email address.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file config_type.h.
struct Address * address_new | ( | const char * | addr | ) |
Create an Address from a string.
addr | Email address to parse |
ptr | New Address object |
Definition at line 52 of file config_type.c.
const struct Address * cs_subset_address | ( | const struct ConfigSubset * | sub, |
const char * | name | ||
) |
Get an Address config item by name.
sub | Config Subset |
name | Name of config item |
ptr | Address |
NULL | Empty address |
Definition at line 272 of file config_type.c.