getfullhostname.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const SQUIDCEXTERN char * getfullhostname (void)
 

Function Documentation

◆ getfullhostname()

const SQUIDCEXTERN char* getfullhostname ( void  )
Return values
nullptrAn error occurred.
*The fully qualified name (FQDN) of the current host. Pointer is only valid until the next call to the gethost*() functions.

Definition at line 34 of file getfullhostname.c.

References buf, gethostbyname(), hostent::h_name, NULL, RFC2181_MAXHOSTNAMELEN, and xstrncpy().

Referenced by check_target_acl(), and print_trailer().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors