hesiod_getmailhost, hesiod_free_postoffice - Hesiod functions for retrieving user to postoffice mappings
#include <hesiod.h> struct hesiod_postoffice *hesiod_getmailhost(void *context, const char *user) void hesiod_free_postoffice(void *context, struct hesiod_postoffice *po) cc file.c -lhesiod
It is the caller's responsibility to call hesiod_free_postoffice with the returned postoffice entry to free the resources used by the postoffice entry.
Hesiod queries for postoffice information are made using the ``pobox'' Hesiod type, using the username as the Hesiod name. The corresponding entries should be space-separated lists of strings giving the type of postoffice box, the hostname, and the account name.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |