LCOV - code coverage report
Current view: top level - shared - serialize.h (source / functions) Hit Total Coverage
Test: systemd_full.info Lines: 0 2 0.0 %
Date: 2019-08-23 13:36:53 Functions: 0 1 0.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 <stdio.h>
       5                 :            : 
       6                 :            : #include "fdset.h"
       7                 :            : #include "macro.h"
       8                 :            : #include "time-util.h"
       9                 :            : 
      10                 :            : int serialize_item(FILE *f, const char *key, const char *value);
      11                 :            : int serialize_item_escaped(FILE *f, const char *key, const char *value);
      12                 :            : int serialize_item_format(FILE *f, const char *key, const char *value, ...) _printf_(3,4);
      13                 :            : int serialize_fd(FILE *f, FDSet *fds, const char *key, int fd);
      14                 :            : int serialize_usec(FILE *f, const char *key, usec_t usec);
      15                 :            : int serialize_dual_timestamp(FILE *f, const char *key, const dual_timestamp *t);
      16                 :            : int serialize_strv(FILE *f, const char *key, char **l);
      17                 :            : 
      18                 :          0 : static inline int serialize_bool(FILE *f, const char *key, bool b) {
      19                 :          0 :         return serialize_item(f, key, yes_no(b));
      20                 :            : }
      21                 :            : 
      22                 :            : int deserialize_usec(const char *value, usec_t *timestamp);
      23                 :            : int deserialize_dual_timestamp(const char *value, dual_timestamp *t);
      24                 :            : int deserialize_environment(const char *value, char ***environment);
      25                 :            : 
      26                 :            : int open_serialization_fd(const char *ident);

Generated by: LCOV version 1.14