root/source4/dsdb/samdb/ldb_modules/dsdb_cache.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. dsdb_cache_init

   1 /* 
   2    Unix SMB/CIFS mplementation.
   3 
   4    The Module that loads some DSDB related things
   5    into memory. E.g. it loads the dsdb_schema struture
   6    
   7    Copyright (C) Stefan Metzmacher 2007
   8     
   9    This program is free software; you can redistribute it and/or modify
  10    it under the terms of the GNU General Public License as published by
  11    the Free Software Foundation; either version 3 of the License, or
  12    (at your option) any later version.
  13    
  14    This program is distributed in the hope that it will be useful,
  15    but WITHOUT ANY WARRANTY; without even the implied warranty of
  16    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  17    GNU General Public License for more details.
  18    
  19    You should have received a copy of the GNU General Public License
  20    along with this program.  If not, see <http://www.gnu.org/licenses/>.
  21    
  22 */
  23 
  24 #include "includes.h"
  25 #include "lib/ldb/include/ldb.h"
  26 #include "lib/ldb/include/ldb_errors.h"
  27 #include "lib/ldb/include/ldb_private.h"
  28 #include "dsdb/samdb/samdb.h"
  29 #include "librpc/gen_ndr/ndr_misc.h"
  30 #include "librpc/gen_ndr/ndr_drsuapi.h"
  31 #include "librpc/gen_ndr/ndr_drsblobs.h"
  32 
  33 static int dsdb_cache_init(struct ldb_module *module)
     /* [<][>][^][v][top][bottom][index][help] */
  34 {
  35         /* TODO: load the schema */
  36         return ldb_next_init(module);
  37 }
  38 
  39 _PUBLIC_ const struct ldb_module_ops ldb_dsdb_cache_module_ops = {
  40         .name           = "dsdb_cache",
  41         .init_context   = dsdb_cache_init
  42 };

/* [<][>][^][v][top][bottom][index][help] */