| 1 | /*
|
|---|
| 2 | Unix SMB/CIFS implementation.
|
|---|
| 3 | RPC pipe client
|
|---|
| 4 |
|
|---|
| 5 | Copyright (C) Gerald (Jerry) Carter 2004.
|
|---|
| 6 |
|
|---|
| 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.
|
|---|
| 11 |
|
|---|
| 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.
|
|---|
| 16 |
|
|---|
| 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/>.
|
|---|
| 19 | */
|
|---|
| 20 |
|
|---|
| 21 | /* Stupid dummy functions required due to the horrible dependency mess
|
|---|
| 22 | in Samba. */
|
|---|
| 23 |
|
|---|
| 24 | #include "includes.h"
|
|---|
| 25 |
|
|---|
| 26 | int get_client_fd(void)
|
|---|
| 27 | {
|
|---|
| 28 | return -1;
|
|---|
| 29 | }
|
|---|
| 30 |
|
|---|
| 31 | int find_service(fstring service)
|
|---|
| 32 | {
|
|---|
| 33 | return -1;
|
|---|
| 34 | }
|
|---|
| 35 |
|
|---|
| 36 | bool conn_snum_used(int snum)
|
|---|
| 37 | {
|
|---|
| 38 | return False;
|
|---|
| 39 | }
|
|---|
| 40 |
|
|---|
| 41 | void cancel_pending_lock_requests_by_fid(files_struct *fsp, struct byte_range_lock *br_lck)
|
|---|
| 42 | {
|
|---|
| 43 | }
|
|---|
| 44 |
|
|---|
| 45 | void send_stat_cache_delete_message(const char *name)
|
|---|
| 46 | {
|
|---|
| 47 | }
|
|---|
| 48 |
|
|---|
| 49 | NTSTATUS can_delete_directory(struct connection_struct *conn,
|
|---|
| 50 | const char *dirname)
|
|---|
| 51 | {
|
|---|
| 52 | return NT_STATUS_OK;
|
|---|
| 53 | }
|
|---|
| 54 |
|
|---|
| 55 | bool change_to_root_user(void)
|
|---|
| 56 | {
|
|---|
| 57 | return false;
|
|---|
| 58 | }
|
|---|
| 59 |
|
|---|
| 60 | struct event_context *smbd_event_context(void)
|
|---|
| 61 | {
|
|---|
| 62 | static struct event_context *ev;
|
|---|
| 63 |
|
|---|
| 64 | if (!ev) {
|
|---|
| 65 | ev = event_context_init(NULL);
|
|---|
| 66 | }
|
|---|
| 67 | return ev;
|
|---|
| 68 | }
|
|---|
| 69 |
|
|---|
| 70 | struct messaging_context *smbd_messaging_context(void)
|
|---|
| 71 | {
|
|---|
| 72 | return NULL;
|
|---|
| 73 | }
|
|---|