| 1 | /*
|
|---|
| 2 | * Unix SMB/CIFS implementation.
|
|---|
| 3 | * NetApi Support
|
|---|
| 4 | * Copyright (C) Guenther Deschner 2008
|
|---|
| 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 __LIB_NETAPI_PRIVATE_H__
|
|---|
| 21 | #define __LIB_NETAPI_PRIVATE_H__
|
|---|
| 22 |
|
|---|
| 23 | NET_API_STATUS libnetapi_get_password(struct libnetapi_ctx *ctx, char **password);
|
|---|
| 24 | NET_API_STATUS libnetapi_get_username(struct libnetapi_ctx *ctx, char **username);
|
|---|
| 25 | NET_API_STATUS libnetapi_set_error_string(struct libnetapi_ctx *ctx, const char *format, ...);
|
|---|
| 26 | NET_API_STATUS libnetapi_get_debuglevel(struct libnetapi_ctx *ctx, char **debuglevel);
|
|---|
| 27 |
|
|---|
| 28 | WERROR libnetapi_open_ipc_connection(struct libnetapi_ctx *ctx,
|
|---|
| 29 | const char *server_name,
|
|---|
| 30 | struct cli_state **cli);
|
|---|
| 31 | WERROR libnetapi_shutdown_cm(struct libnetapi_ctx *ctx);
|
|---|
| 32 | WERROR libnetapi_open_pipe(struct libnetapi_ctx *ctx,
|
|---|
| 33 | struct cli_state *cli,
|
|---|
| 34 | int pipe_idx,
|
|---|
| 35 | struct rpc_pipe_client **pipe_cli);
|
|---|
| 36 | #endif
|
|---|