Lines Matching refs:description
18 const char *description, in netlink_slot_allocate() argument
36 if (description) { in netlink_slot_allocate()
37 slot->description = strdup(description); in netlink_slot_allocate()
38 if (!slot->description) in netlink_slot_allocate()
102 free(slot->description); in netlink_slot_free()
175 int sd_netlink_slot_get_description(sd_netlink_slot *slot, const char **description) { in sd_netlink_slot_get_description() argument
178 if (description) in sd_netlink_slot_get_description()
179 *description = slot->description; in sd_netlink_slot_get_description()
181 return !!slot->description; in sd_netlink_slot_get_description()
184 int sd_netlink_slot_set_description(sd_netlink_slot *slot, const char *description) { in sd_netlink_slot_set_description() argument
187 return free_and_strdup(&slot->description, description); in sd_netlink_slot_set_description()