%struct-type
%includes
%%
-Service.Name, config_parse_dnssd_registered_service_name, 0, 0
-Service.Type, config_parse_dnssd_registered_service_type, 0, 0
-Service.SubType, config_parse_dnssd_registered_service_subtype, 0, 0
-Service.Port, config_parse_ip_port, 0, offsetof(DnssdRegisteredService, port)
-Service.Priority, config_parse_uint16, 0, offsetof(DnssdRegisteredService, priority)
-Service.Weight, config_parse_uint16, 0, offsetof(DnssdRegisteredService, weight)
-Service.TxtText, config_parse_dnssd_txt, DNS_TXT_ITEM_TEXT, 0
-Service.TxtData, config_parse_dnssd_txt, DNS_TXT_ITEM_DATA, 0
+Service.Name, config_parse_dnssd_name, 0, 0
+Service.Type, config_parse_dnssd_type, 0, 0
+Service.SubType, config_parse_dnssd_subtype, 0, 0
+Service.Port, config_parse_ip_port, 0, offsetof(DnssdRegisteredService, port)
+Service.Priority, config_parse_uint16, 0, offsetof(DnssdRegisteredService, priority)
+Service.Weight, config_parse_uint16, 0, offsetof(DnssdRegisteredService, weight)
+Service.TxtText, config_parse_dnssd_txt, DNS_TXT_ITEM_TEXT, 0
+Service.TxtData, config_parse_dnssd_txt, DNS_TXT_ITEM_DATA, 0
return 0;
}
-int config_parse_dnssd_registered_service_name(
+int config_parse_dnssd_name(
const char *unit,
const char *filename,
unsigned line,
return free_and_strdup_warn(&s->name_template, rvalue);
}
-int config_parse_dnssd_registered_service_type(
+int config_parse_dnssd_type(
const char *unit,
const char *filename,
unsigned line,
return 0;
}
-int config_parse_dnssd_registered_service_subtype(
+int config_parse_dnssd_subtype(
const char *unit,
const char *filename,
unsigned line,
const struct ConfigPerfItem* resolved_dnssd_gperf_lookup(const char *key, GPERF_LEN_TYPE length);
-CONFIG_PARSER_PROTOTYPE(config_parse_dnssd_registered_service_name);
-CONFIG_PARSER_PROTOTYPE(config_parse_dnssd_registered_service_subtype);
-CONFIG_PARSER_PROTOTYPE(config_parse_dnssd_registered_service_type);
+CONFIG_PARSER_PROTOTYPE(config_parse_dnssd_name);
+CONFIG_PARSER_PROTOTYPE(config_parse_dnssd_subtype);
+CONFIG_PARSER_PROTOTYPE(config_parse_dnssd_type);
CONFIG_PARSER_PROTOTYPE(config_parse_dnssd_txt);