Public Member Functions | Data Fields
hs_service_t Struct Reference

#include <hs_service.h>

Public Member Functions

 HT_ENTRY (hs_service_t) hs_service_node

Data Fields

char onion_address [HS_SERVICE_ADDR_LEN_BASE32+1]
hs_service_state_t state
hs_service_keys_t keys
hs_service_config_t config
hs_service_metrics_t metrics

Detailed Description

Representation of a service running on this tor instance.

Definition at line 315 of file hs_service.h.

Member Function Documentation


HT_ENTRY ( hs_service_t  )

Hashtable node: use to look up the service by its master public identity key in the service global map.

Field Documentation

◆ config

◆ desc_current

hs_service_descriptor_t* desc_current

◆ desc_next

◆ keys

◆ metrics


Definition at line 339 of file hs_service.h.

Referenced by hs_metrics_service_init(), and hs_metrics_update_by_service().

◆ onion_address

char onion_address[HS_SERVICE_ADDR_LEN_BASE32+1]

Onion address base32 encoded and NUL terminated. We keep it for logging purposes so we don't have to build it every time.

Definition at line 318 of file hs_service.h.

Referenced by write_address_to_file().

◆ state

The documentation for this struct was generated from the following file: