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

Go to the source code of this file.

Classes

struct  HostIdState
 

Macros

#define HOST_ID_PERSIST_KEY   "host_id"
 
#define HOST_ID_LEGACY_PERSIST_KEY   "hostid"
 

Functions

gboolean host_id_init (PersistState *state)
 
void host_id_deinit (void)
 
guint32 host_id_get (void)
 
void host_id_append_formatted_id (GString *str, guint32 id)
 

Macro Definition Documentation

◆ HOST_ID_LEGACY_PERSIST_KEY

#define HOST_ID_LEGACY_PERSIST_KEY   "hostid"

◆ HOST_ID_PERSIST_KEY

#define HOST_ID_PERSIST_KEY   "host_id"

Function Documentation

◆ host_id_append_formatted_id()

void host_id_append_formatted_id ( GString *  str,
guint32  id 
)

◆ host_id_deinit()

void host_id_deinit ( void  )

◆ host_id_get()

guint32 host_id_get ( void  )

◆ host_id_init()

gboolean host_id_init ( PersistState *  state)