summaryrefslogtreecommitdiff
path: root/src/shared/udev-util.h
blob: efbcd82976fc38efffdcc0a9172e651067df8d3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once

#include "time-util.h"

int udev_parse_config_full(
                unsigned *ret_children_max,
                usec_t *ret_exec_delay_usec,
                usec_t *ret_event_timeout_usec);

static inline int udev_parse_config(void) {
        return udev_parse_config_full(NULL, NULL, NULL);
}