• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/dbus-1.6.8/dbus/

Lines Matching defs:entry

146 dbus_address_entry_free (DBusAddressEntry *entry)
150 _dbus_string_free (&entry->method);
152 link = _dbus_list_get_first_link (&entry->keys);
158 link = _dbus_list_get_next_link (&entry->keys, link);
160 _dbus_list_clear (&entry->keys);
162 link = _dbus_list_get_first_link (&entry->values);
168 link = _dbus_list_get_next_link (&entry->values, link);
170 _dbus_list_clear (&entry->values);
172 dbus_free (entry);
201 DBusAddressEntry *entry;
203 entry = dbus_new0 (DBusAddressEntry, 1);
205 if (entry == NULL)
208 if (!_dbus_string_init (&entry->method))
210 dbus_free (entry);
214 return entry;
218 * Returns the method string of an address entry. For example, given
219 * the address entry "tcp:host=example.com" it would return the string
222 * @param entry the entry.
227 dbus_address_entry_get_method (DBusAddressEntry *entry)
229 return _dbus_string_get_const_data (&entry->method);
233 * Returns a value from a key of an entry. For example,
239 * @param entry the entry.
244 dbus_address_entry_get_value (DBusAddressEntry *entry,
249 keys = _dbus_list_get_first_link (&entry->keys);
250 values = _dbus_list_get_first_link (&entry->values);
259 keys = _dbus_list_get_next_link (&entry->keys, keys);
260 values = _dbus_list_get_next_link (&entry->values, values);
357 * @param entry return location to an array of entries.
364 DBusAddressEntry ***entry,
390 DBusAddressEntry *entry;
394 entry = create_entry ();
395 if (!entry)
402 /* Append the entry */
403 if (!_dbus_list_append (&entries, entry))
406 dbus_address_entry_free (entry);
421 if (!_dbus_string_copy_len (&str, pos, found_pos - pos, &entry->method, 0))
506 if (!_dbus_list_append (&entry->keys, key))
517 if (!_dbus_list_append (&entry->values, value))
556 *entry = entry_array;