LCOV - code coverage report
Current view: top level - lib/ldb/ldb_mdb - ldb_mdb_init.c (source / functions) Hit Total Coverage
Test: coverage report for abartlet/fix-coverage dd10fb34 Lines: 3 3 100.0 %
Date: 2021-09-23 10:06:22 Functions: 1 1 100.0 %

          Line data    Source code
       1             : /*
       2             :    ldb database library using mdb back end
       3             : 
       4             :    Copyright (C) Jakub Hrozek 2014
       5             :    Copyright (C) Catalyst.Net Ltd 2017
       6             : 
       7             :      ** NOTE! The following LGPL license applies to the ldb
       8             :      ** library. This does NOT imply that all of Samba is released
       9             :      ** under the LGPL
      10             : 
      11             :    This library is free software; you can redistribute it and/or
      12             :    modify it under the terms of the GNU Lesser General Public
      13             :    License as published by the Free Software Foundation; either
      14             :    version 3 of the License, or (at your option) any later version.
      15             : 
      16             :    This library is distributed in the hope that it will be useful,
      17             :    but WITHOUT ANY WARRANTY; without even the implied warranty of
      18             :    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      19             :    Lesser General Public License for more details.
      20             : 
      21             :    You should have received a copy of the GNU Lesser General Public
      22             :    License along with this library; if not, see <http://www.gnu.org/licenses/>.
      23             : */
      24             : 
      25             : #include "ldb_mdb.h"
      26             : 
      27        5536 : int ldb_mdb_init(const char *version)
      28             : {
      29        5536 :         LDB_MODULE_CHECK_VERSION(version);
      30        5536 :         return ldb_register_backend("mdb", lmdb_connect, false);
      31             : }

Generated by: LCOV version 1.13