Home | History | Annotate | Download | only in dbus

Lines Matching full:value

232  * Returns a value from a key of an entry. For example,
234 * for the key "host" you would get the value "example.com"
236 * The returned value is already unescaped.
240 * @returns the key value. This string must not be freed.
348 * method:key=value,key=value;method:key=value
432 "'=' character not found or has no value following it");
438 DBusString *value;
448 value = dbus_new0 (DBusString, 1);
449 if (!value)
460 dbus_free (value);
465 if (!_dbus_string_init (value))
471 dbus_free (value);
479 _dbus_string_free (value);
482 dbus_free (value);
486 if (!append_unescaped_value (value, &str, equals_pos + 1,
491 _dbus_string_free (value);
494 dbus_free (value);
502 _dbus_string_free (value);
505 dbus_free (value);
509 if (!_dbus_list_append (&entry->values, value))
512 _dbus_string_free (value);
514 dbus_free (value);
568 * Escapes the given string as a value in a key=value pair
571 * @param value the unescaped value
572 * @returns newly-allocated escaped value or #NULL if no memory
575 dbus_address_escape_value (const char *value)
583 _dbus_string_init_const (&unescaped, value);
600 * Unescapes the given string as a value in a key=value pair
602 * returns an already-unescaped value.
604 * @param value the escaped value
606 * @returns newly-allocated unescaped value or #NULL if no memory
609 dbus_address_unescape_value (const char *value,
618 _dbus_string_init_const (&escaped, value);