• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/lib/smbconf/
1/*
2 *  Unix SMB/CIFS implementation.
3 *  libsmbconf - Samba configuration library
4 *  Copyright (C) Michael Adam 2009
5 *
6 *  This program is free software; you can redistribute it and/or modify
7 *  it under the terms of the GNU General Public License as published by
8 *  the Free Software Foundation; either version 3 of the License, or
9 *  (at your option) any later version.
10 *
11 *  This program is distributed in the hope that it will be useful,
12 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 *  GNU General Public License for more details.
15 *
16 *  You should have received a copy of the GNU General Public License
17 *  along with this program; if not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef __LIBSMBCONF_INIT_H__
21#define __LIBSMBCONF_INIT_H__
22
23struct smbconf_ctx;
24
25/**
26 * intialization dispatcher function.
27 * takes source string in the form of "backend:path"
28 */
29WERROR smbconf_init(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx,
30		    const char *source);
31
32#endif /*  _LIBSMBCONF_INIT_H_  */
33