aa80e8d56ac0c30bbb1482008843ac34a5c3c995
[gd/samba/.git] / source / lib / netapi / file.c
1 /*
2  *  Unix SMB/CIFS implementation.
3  *  NetApi File 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 #include "includes.h"
21
22 #include "librpc/gen_ndr/libnetapi.h"
23 #include "lib/netapi/netapi.h"
24 #include "lib/netapi/netapi_private.h"
25 #include "lib/netapi/libnetapi.h"
26
27 /****************************************************************
28 ****************************************************************/
29
30 WERROR NetFileClose_r(struct libnetapi_ctx *ctx,
31                       struct NetFileClose *r)
32 {
33         return WERR_NOT_SUPPORTED;
34 }
35
36 /****************************************************************
37 ****************************************************************/
38
39 WERROR NetFileClose_l(struct libnetapi_ctx *ctx,
40                       struct NetFileClose *r)
41 {
42         LIBNETAPI_REDIRECT_TO_LOCALHOST(ctx, r, NetFileClose);
43 }