diff options
author | Andreas Schneider <asn@samba.org> | 2011-01-27 19:22:02 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-02-07 12:32:00 +0100 |
commit | 22ea2933818824eb6cf2d760fc474922ca8bbe2c (patch) | |
tree | 5eacbe46dcbdd636862e623785f83b6cbe8cbe89 /source3/rpc_server/srv_eventlog_reg.h | |
parent | 75abfa6f949bcc2e472ae19084fa3309025caa1d (diff) | |
download | samba-22ea2933818824eb6cf2d760fc474922ca8bbe2c.tar.gz samba-22ea2933818824eb6cf2d760fc474922ca8bbe2c.tar.bz2 samba-22ea2933818824eb6cf2d760fc474922ca8bbe2c.zip |
s3-rpc_server: Added a winreg based eventlog registry init.
This enumerates the keys first and only creates them if they don't exist
yet.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/rpc_server/srv_eventlog_reg.h')
-rw-r--r-- | source3/rpc_server/srv_eventlog_reg.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_eventlog_reg.h b/source3/rpc_server/srv_eventlog_reg.h new file mode 100644 index 0000000000..02c2792647 --- /dev/null +++ b/source3/rpc_server/srv_eventlog_reg.h @@ -0,0 +1,29 @@ +/* + * Unix SMB/CIFS implementation. + * + * WINREG client routines + * + * Copyright (c) 2011 Andreas Schneider <asn@samba.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef SRV_EVENTLOG_REG_H +#define SRV_EVENTLOG_REG_H + +bool eventlog_init_winreg(struct messaging_context *msg_ctx); + +#endif /* SRV_EVENTLOG_REG_H */ + +/* vim: set ts=8 sw=8 noet cindent syntax=c.doxygen: */ |