LCOV - code coverage report
Current view: top level - bin/default/third_party/heimdal/lib/hdb - hdb_err.c (source / functions) Hit Total Coverage
Test: coverage report for master 2f515e9b Lines: 3 6 50.0 %
Date: 2024-04-21 15:09:00 Functions: 1 2 50.0 %

          Line data    Source code
       1             : #include "config.h"
       2             : /* Generated from /builds/eaglegai/samba/third_party/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 *const 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_("Entry key version number not found"),
      30             :         /* 018 */ N_("The principal exists in another realm."),
      31             :         NULL
      32             : };
      33             : 
      34             : #define num_errors 19
      35             : 
      36          93 : void initialize_hdb_error_table_r(struct et_list **list)
      37             : {
      38          93 :     initialize_error_table_r(list, hdb_error_strings, num_errors, ERROR_TABLE_BASE_hdb);
      39          93 : }
      40             : 
      41           0 : void initialize_hdb_error_table(void)
      42             : {
      43           0 :     init_error_table(hdb_error_strings, ERROR_TABLE_BASE_hdb, num_errors);
      44           0 : }

Generated by: LCOV version 1.14