LCOV - code coverage report
Current view: top level - shared - udev-util.h (source / functions) Hit Total Coverage
Test: systemd_full.info Lines: 2 2 100.0 %
Date: 2019-08-23 13:36:53 Functions: 1 1 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /* SPDX-License-Identifier: LGPL-2.1+ */
       2                 :            : #pragma once
       3                 :            : 
       4                 :            : #include "sd-device.h"
       5                 :            : 
       6                 :            : #include "device-private.h"
       7                 :            : #include "time-util.h"
       8                 :            : 
       9                 :            : typedef enum ResolveNameTiming {
      10                 :            :         RESOLVE_NAME_NEVER,
      11                 :            :         RESOLVE_NAME_LATE,
      12                 :            :         RESOLVE_NAME_EARLY,
      13                 :            :         _RESOLVE_NAME_TIMING_MAX,
      14                 :            :         _RESOLVE_NAME_TIMING_INVALID = -1,
      15                 :            : } ResolveNameTiming;
      16                 :            : 
      17                 :            : ResolveNameTiming resolve_name_timing_from_string(const char *s) _pure_;
      18                 :            : const char *resolve_name_timing_to_string(ResolveNameTiming i) _const_;
      19                 :            : 
      20                 :            : int udev_parse_config_full(
      21                 :            :                 unsigned *ret_children_max,
      22                 :            :                 usec_t *ret_exec_delay_usec,
      23                 :            :                 usec_t *ret_event_timeout_usec,
      24                 :            :                 ResolveNameTiming *ret_resolve_name_timing);
      25                 :            : 
      26                 :         16 : static inline int udev_parse_config(void) {
      27                 :         16 :         return udev_parse_config_full(NULL, NULL, NULL, NULL);
      28                 :            : }
      29                 :            : 
      30                 :            : int device_wait_for_initialization(sd_device *device, const char *subsystem, usec_t timeout, sd_device **ret);
      31                 :            : int device_is_renaming(sd_device *dev);
      32                 :            : bool device_for_action(sd_device *dev, DeviceAction action);

Generated by: LCOV version 1.14