/hesiod/ |
A D | hesiod.h | 44 char * hesiod_to_bind (void *context, const char *name, 46 char ** hesiod_resolve (void *context, const char *name,
|
A D | hesiod.c | 69 const char *name); 151 hesiod_to_bind(void *context, const char *name, const char *type) { in hesiod_to_bind() argument 159 if ((cp = strchr(name, '@')) != NULL) { in hesiod_to_bind() 171 cp = name + strlen(name); in hesiod_to_bind() 178 if ((bindname = malloc((cp - name) + strlen(type) + strlen(RHS) + in hesiod_to_bind() 186 endp = (char *) __mempcpy (bindname, name, cp - name); in hesiod_to_bind() 209 hesiod_resolve(void *context, const char *name, const char *type) { in hesiod_resolve() argument 211 char *bindname = hesiod_to_bind(context, name, type); in hesiod_resolve() 328 get_txt_records(struct hesiod_p *ctx, int class, const char *name) { in get_txt_records() argument 345 n = res_mkquery(QUERY, name, class, T_TXT, NULL, 0, in get_txt_records()
|
A D | README.hesiod | 1 The GNU C library contains an NSS module for the Hesiod name service. 2 Hesiod is a general name service for a variety of applications and is 15 services by name and not for looking them up by port. In essence this 16 means that the Hesiod name service is only consulted as a result of 29 Configuring your systems to make use the Hesiod name service requires 37 NSS for which database you want to use the Hesiod name service. If 86 Configuring your name servers 90 you need to create Hesiod information on your central name servers. 149 For more information on the Hesiod name service take a look at some of 151 documentation that accompanies the source code for the Hesiod name
|
/hesiod/nss_hesiod/ |
A D | hesiod-pwd.c | 47 lookup (const char *name, const char *type, struct passwd *pwd, in lookup() argument 61 list = hesiod_resolve (context, name, type); in lookup() 95 _nss_hesiod_getpwnam_r (const char *name, struct passwd *pwd, in _nss_hesiod_getpwnam_r() argument 98 return lookup (name, "passwd", pwd, buffer, buflen, errnop); in _nss_hesiod_getpwnam_r()
|
A D | hesiod-proto.c | 59 lookup (const char *name, const char *type, struct protoent *proto, in lookup() argument 73 list = hesiod_resolve (context, name, type); in lookup() 128 _nss_hesiod_getprotobyname_r (const char *name, struct protoent *proto, in _nss_hesiod_getprotobyname_r() argument 131 return lookup (name, "protocol", proto, buffer, buflen, errnop); in _nss_hesiod_getprotobyname_r()
|
A D | hesiod-service.c | 60 lookup (const char *name, const char *type, const char *protocol, in lookup() argument 74 list = hesiod_resolve (context, name, type); in lookup() 129 _nss_hesiod_getservbyname_r (const char *name, const char *protocol, in _nss_hesiod_getservbyname_r() argument 133 return lookup (name, "service", protocol, serv, buffer, buflen, errnop); in _nss_hesiod_getservbyname_r()
|
A D | hesiod-grp.c | 49 lookup (const char *name, const char *type, struct group *grp, in lookup() argument 63 list = hesiod_resolve (context, name, type); in lookup() 97 _nss_hesiod_getgrnam_r (const char *name, struct group *grp, in _nss_hesiod_getgrnam_r() argument 100 return lookup (name, "group", grp, buffer, buflen, errnop); in _nss_hesiod_getgrnam_r()
|