diff options
author | Kay Sievers <kay@vrfy.org> | 2014-11-13 20:35:06 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2014-11-13 20:35:06 +0100 |
commit | adeba5008eac3105ae59256dedd087ebe006a9e6 (patch) | |
tree | 5b8dd3f0e7c6e47b560e89fd48f3039e1201a78e /src/udev/udev.h | |
parent | 41b848b0ea674dba135d5d5f82b87d126d967fcf (diff) |
udev: support ENV{}=="" global property matches
Diffstat (limited to 'src/udev/udev.h')
-rw-r--r-- | src/udev/udev.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/udev/udev.h b/src/udev/udev.h index 7668a27ae8..dece6eccab 100644 --- a/src/udev/udev.h +++ b/src/udev/udev.h @@ -73,7 +73,9 @@ struct udev_rules; struct udev_rules *udev_rules_new(struct udev *udev, int resolve_names); struct udev_rules *udev_rules_unref(struct udev_rules *rules); bool udev_rules_check_timestamp(struct udev_rules *rules); -int udev_rules_apply_to_event(struct udev_rules *rules, struct udev_event *event, usec_t timeout_usec, usec_t timeout_warn_usec, +int udev_rules_apply_to_event(struct udev_rules *rules, struct udev_event *event, + usec_t timeout_usec, usec_t timeout_warn_usec, + struct udev_list *properties_list, const sigset_t *sigmask); int udev_rules_apply_static_dev_perms(struct udev_rules *rules); @@ -88,8 +90,11 @@ int udev_event_spawn(struct udev_event *event, usec_t timeout_warn_usec, const char *cmd, char **envp, const sigset_t *sigmask, char *result, size_t ressize); -void udev_event_execute_rules(struct udev_event *event, usec_t timeout_usec, usec_t timeout_warn_usec, - struct udev_rules *rules, const sigset_t *sigset); +void udev_event_execute_rules(struct udev_event *event, + usec_t timeout_usec, usec_t timeout_warn_usec, + struct udev_list *properties_list, + struct udev_rules *rules, + const sigset_t *sigset); void udev_event_execute_run(struct udev_event *event, usec_t timeout_usec, usec_t timeout_warn_usec, const sigset_t *sigset); int udev_build_argv(struct udev *udev, char *cmd, int *argc, char *argv[]); |