From 7b53c84fe1c8ec0cb5e1d7a977eca6197a4c36c6 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 19 Mar 2008 12:37:17 +0100 Subject: libsmbconf: put the smbconf context struct into a private header. Michael (This used to be commit a99ee5e536eee1563c90e5d7f251bfe9f5d1ffbb) --- source3/lib/smbconf/smbconf.c | 1 + source3/lib/smbconf/smbconf.h | 4 +--- source3/lib/smbconf/smbconf_private.h | 27 +++++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 source3/lib/smbconf/smbconf_private.h (limited to 'source3') diff --git a/source3/lib/smbconf/smbconf.c b/source3/lib/smbconf/smbconf.c index 804b1b8c28..a5059c9eb5 100644 --- a/source3/lib/smbconf/smbconf.c +++ b/source3/lib/smbconf/smbconf.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "smbconf_private.h" /********************************************************************** * diff --git a/source3/lib/smbconf/smbconf.h b/source3/lib/smbconf/smbconf.h index 9679b2777d..c15caf4ea9 100644 --- a/source3/lib/smbconf/smbconf.h +++ b/source3/lib/smbconf/smbconf.h @@ -20,9 +20,7 @@ #ifndef __LIBSMBCONF_H__ #define __LIBSMBCONF_H__ -struct smbconf_ctx { - NT_USER_TOKEN *token; -}; +struct smbconf_ctx; /* the change sequence number */ struct smbconf_csn { diff --git a/source3/lib/smbconf/smbconf_private.h b/source3/lib/smbconf/smbconf_private.h new file mode 100644 index 0000000000..1827645583 --- /dev/null +++ b/source3/lib/smbconf/smbconf_private.h @@ -0,0 +1,27 @@ +/* + * Unix SMB/CIFS implementation. + * libsmbconf - Samba configuration library + * Copyright (C) Michael Adam 2008 + * + * 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 . + */ + +#ifndef __LIBSMBCONF_PRIVATE_H__ +#define __LIBSMBCONF_PRIVATE_H__ + +struct smbconf_ctx { + NT_USER_TOKEN *token; +}; + +#endif -- cgit