LCOV - code coverage report
Current view: top level - bin/default/source4/heimdal/lib/hdb - hdb_err.c (source / functions) Hit Total Coverage
Test: coverage report for master 6248eab5 Lines: 3 6 50.0 %
Date: 2021-08-25 13:27:56 Functions: 1 2 50.0 %

          Line data    Source code
       1             : #include "config.h"
       2             : /* Generated from /builds/samba-team/samba/source4/heimdal/lib/hdb/hdb_err.et */
       3             : /* $Id$ */
       4             : 
       5             : #include <stddef.h>
       6             : #include <com_err.h>
       7             : #include "hdb_err.h"
       8             : 
       9             : #define N_(x) (x)
      10             : 
      11             : static const char *hdb_error_strings[] = {
      12             :         /* 000 */ "Reserved hdb error (0)",
      13             :         /* 001 */ N_("Database store error"),
      14             :         /* 002 */ N_("Database read error"),
      15             :         /* 003 */ N_("No such entry in the database"),
      16             :         /* 004 */ N_("Database is locked or in use--try again later"),
      17             :         /* 005 */ N_("Database was modified during read"),
      18             :         /* 006 */ N_("Attempt to lock database twice"),
      19             :         /* 007 */ N_("Attempt to unlock database when not locked"),
      20             :         /* 008 */ N_("Invalid kdb lock mode"),
      21             :         /* 009 */ N_("Insufficient access to lock database"),
      22             :         /* 010 */ N_("Entry already exists in database"),
      23             :         /* 011 */ N_("Wrong database version"),
      24             :         /* 012 */ N_("No correct master key"),
      25             :         /* 013 */ N_("Entry contains unknown mandatory extension"),
      26             :         /* 014 */ N_("HDB backend doesn't contain write support"),
      27             :         /* 015 */ N_("The secret for this entry is not replicated to this database"),
      28             :         /* 016 */ N_("Incorrect use of the API"),
      29             :         /* 017 */ N_("The principal exists in another realm."),
      30             :         NULL
      31             : };
      32             : 
      33             : #define num_errors 18
      34             : 
      35         126 : void initialize_hdb_error_table_r(struct et_list **list)
      36             : {
      37         126 :     initialize_error_table_r(list, hdb_error_strings, num_errors, ERROR_TABLE_BASE_hdb);
      38         126 : }
      39             : 
      40           0 : void initialize_hdb_error_table(void)
      41             : {
      42           0 :     init_error_table(hdb_error_strings, ERROR_TABLE_BASE_hdb, num_errors);
      43           0 : }

Generated by: LCOV version 1.13