netapi32: Convert the Unix library to the __wine_unix_call interface.
[wine.git] / dlls / netapi32 / unixlib.h
blob1184d2ee385b76f3973ff690286ff652f9367578
1 /*
2 * Unix library interface
4 * Copyright 2021 Zebediah Figura for CodeWeavers
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library 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 GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include "wine/unixlib.h"
23 struct server_getinfo_params
25 const WCHAR *server;
26 DWORD level;
27 void *buffer;
28 ULONG *size;
31 struct share_add_params
33 const WCHAR *server;
34 DWORD level;
35 const BYTE *info;
36 DWORD *err;
39 struct share_del_params
41 const WCHAR *server;
42 const WCHAR *share;
43 DWORD reserved;
46 struct wksta_getinfo_params
48 const WCHAR *server;
49 DWORD level;
50 void *buffer;
51 ULONG *size;
54 struct change_password_params
56 const WCHAR *domain;
57 const WCHAR *user;
58 const WCHAR *old;
59 const WCHAR *new;
62 enum samba_funcs
64 unix_netapi_init,
65 unix_server_getinfo,
66 unix_share_add,
67 unix_share_del,
68 unix_wksta_getinfo,
69 unix_change_password,