Lines Matching defs:string
25 #include <string.h>
41 #include "string-util.h"
336 char *string;
345 string = strndup((const char *) option, len);
346 if (!string)
350 *ret = string;
734 const char *string;
806 r = sd_dhcp_lease_get_domainname(lease, &string);
808 fprintf(f, "DOMAINNAME=%s\n", string);
810 r = sd_dhcp_lease_get_hostname(lease, &string);
812 fprintf(f, "HOSTNAME=%s\n", string);
814 r = sd_dhcp_lease_get_root_path(lease, &string);
816 fprintf(f, "ROOT_PATH=%s\n", string);
822 r = sd_dhcp_lease_get_timezone(lease, &string);
824 fprintf(f, "TIMEZONE=%s\n", string);