tevent: add and use debug class for tevent
[Samba.git] / source3 / registry / reg_cachehook.h
blob7c901c0df494bc412434e96185bb1ad1a7536da1
1 /*
2 * Unix SMB/CIFS implementation.
3 * Virtual Windows Registry Layer
4 * Copyright (C) Gerald Carter 2002.
5 * Copyright (C) Michael Adam 2008
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, see <http://www.gnu.org/licenses/>.
21 #ifndef _REG_CACHEHOOK_H
22 #define _REG_CACHEHOOK_H
24 WERROR reghook_cache_init(void);
25 WERROR reghook_cache_add(const char *keyname, struct registry_ops *ops);
26 struct registry_ops *reghook_cache_find(const char *keyname);
27 void reghook_dump_cache( int debuglevel );
29 #endif /* _REG_CACHEHOOK_H */