LCOV - code coverage report
Current view: top level - src/command - alias.h Hit Total Coverage
Test: dte Lines: 2 2 100.0 %
Date: 2023-03-25 22:04:15

          Line data    Source code
       1             : #ifndef COMMAND_ALIAS_H
       2             : #define COMMAND_ALIAS_H
       3             : 
       4             : #include "util/hashmap.h"
       5             : #include "util/macros.h"
       6             : 
       7          89 : static inline const char *find_alias(const HashMap *aliases, const char *name)
       8             : {
       9          89 :     return hashmap_get(aliases, name);
      10             : }
      11             : 
      12             : void add_alias(HashMap *aliases, const char *name, const char *value) NONNULL_ARGS;
      13             : void remove_alias(HashMap *aliases, const char *name) NONNULL_ARGS;
      14             : 
      15             : #endif

Generated by: LCOV version 1.14