syslog-ng source
hostname.h File Reference
#include "syslog-ng.h"
Include dependency graph for hostname.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

gchar * convert_hostname_to_fqdn (gchar *hostname, gsize hostname_len)
 
gchar * convert_hostname_to_short_hostname (gchar *hostname, gsize hostname_len)
 
const gchar * get_local_hostname_fqdn (void)
 
const gchar * get_local_hostname_short (void)
 
void hostname_reinit (const gchar *custom_domain)
 
void hostname_global_init (void)
 
void hostname_global_deinit (void)
 

Function Documentation

◆ convert_hostname_to_fqdn()

gchar* convert_hostname_to_fqdn ( gchar *  hostname,
gsize  hostname_len 
)

◆ convert_hostname_to_short_hostname()

gchar* convert_hostname_to_short_hostname ( gchar *  hostname,
gsize  hostname_len 
)

◆ get_local_hostname_fqdn()

const gchar* get_local_hostname_fqdn ( void  )

◆ get_local_hostname_short()

const gchar* get_local_hostname_short ( void  )

◆ hostname_global_deinit()

void hostname_global_deinit ( void  )

◆ hostname_global_init()

void hostname_global_init ( void  )

◆ hostname_reinit()

void hostname_reinit ( const gchar *  custom_domain)