wineusb.sys: Move event handling to a single thread.
[wine.git] / dlls / ctapi32 / unixlib.h
blob535c2aeae09f1bdc9617819c670ed5a32bc0788d
1 /*
2 * WINE ct-api wrapper
4 * Copyright 2021 Alexandre Julliard
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 <stdarg.h>
23 #include "windef.h"
24 #include "winbase.h"
25 #include "winternl.h"
26 #include "wine/unixlib.h"
28 typedef unsigned char IU8;
29 typedef unsigned short IU16;
31 typedef signed char IS8;
32 typedef signed short IS16;
34 struct ct_init_params
36 IU16 ctn;
37 IU16 pn;
40 struct ct_data_params
42 IU16 ctn;
43 IU8 *dad;
44 IU8 *sad;
45 IU16 lenc;
46 IU8 *command;
47 IU16 *lenr;
48 IU8 *response;
51 struct ct_close_params
53 IU16 ctn;
56 enum ctapi_funcs
58 unix_attach,
59 unix_detach,
60 unix_ct_init,
61 unix_ct_data,
62 unix_ct_close,