![]() |
![]() |
![]() |
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
);
Get the next entry from the list.
|
current entry |
Returns : |
udev_list_entry, NULL if no more entries are available. |
struct udev_list_entry * udev_list_entry_get_by_name (struct udev_list_entry *list_entry
,const char *name
);
Lookup an entry in the list with a certain name.
|
current entry |
|
name string to match |
Returns : |
udev_list_entry, NULL if no matching entry is found. |
const char * udev_list_entry_get_name (struct udev_list_entry *list_entry
);
Get the name of a list entry.
|
current entry |
Returns : |
the name string of this entry. |
const char * udev_list_entry_get_value (struct udev_list_entry *list_entry
);
Get the value of list entry.
|
current entry |
Returns : |
the value string of this entry. |