Home > Veritas Cluster Server Manual Pages

LLTGETHOSTBYNAME (3N)

Library Functions

Table of contents


NAME

lltgethostbyname - get LLT host entry

SYNOPSIS

cc [file] file -llttdb [library]
#include sys/llt.h
struct llt_host_ent *lltgethostbyname(char * name);

DESCRIPTION

This function obtains entries describing LLT hosts from the /etc/llthosts file.

lltgethostbyname() searches for information for an LLT host with the name specified by the character string parameter name.


NOTES

LLT host entries are represented by the struct llt_hostent_t structure defined in sys/llt.h:
typedef struct {
char *h_name; l*name of host*/
int h_length; l*length of address*/
char *h_addr; l*LLT systemid*/
} llt_hostent_t;

lltgethostbyname() returns a pointer to a struct llt_hostent_t if it successfully locates the requested entry; otherwise, it returns NULL.


FILES

/etc/llthosts
/usr/lib/liblltdb.so.1

SEE ALSO

llthosts(4)

Last updated: March 2006
Copyright ©2009 Symantec Corporation
All rights reserved.