libudev Reference Manual | ||||
---|---|---|---|---|
Top | Description |
struct udev_list_entry; struct udev_list_entry * udev_list_entry_get_next (struct udev_list_entry *list_entry); struct udev_list_entry * udev_list_entry_get_by_name (struct udev_list_entry *list_entry, const char *name); const char * udev_list_entry_get_name (struct udev_list_entry *list_entry); const char * udev_list_entry_get_value (struct udev_list_entry *list_entry); #define udev_list_entry_foreach (list_entry, first_entry)
struct udev_list_entry;
Opaque object representing one entry in a list. An entry contains contains a name, and optionally a value.
struct udev_list_entry * udev_list_entry_get_next (struct udev_list_entry *list_entry);
|
current entry |
Returns : |
the next entry from the list, NULL is no more entries are found. |
struct udev_list_entry * udev_list_entry_get_by_name (struct udev_list_entry *list_entry, const char *name);
|
current entry |
|
name string to match |
Returns : |
the entry where name matched, NULL if no matching entry is found.
|
const char * udev_list_entry_get_name (struct udev_list_entry *list_entry);
|
current entry |
Returns : |
the name string of this entry. |
const char * udev_list_entry_get_value (struct udev_list_entry *list_entry);
|
current entry |
Returns : |
the value string of this entry. |