winejack.drv: Assign to structs instead of using memcpy.
[wine.git] / programs / rpcss / rpcss.h
blobb388a4d6085aa1c160860ca20cd246734f07fcff
1 /*
2 * RPCSS definitions
4 * Copyright (C) 2002 Greg Turner
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 #ifndef __WINE_RPCSS_H
22 #define __WINE_RPCSS_H
24 #include "wine/rpcss_shared.h"
25 #include "windows.h"
27 /* in seconds */
28 #define RPCSS_DEFAULT_MAX_LAZY_TIMEOUT 30
30 /* rpcss_main.c */
31 HANDLE RPCSS_GetMasterMutex(void);
33 /* epmap_server.c */
34 BOOL RPCSS_EpmapEmpty(void);
35 BOOL RPCSS_NPDoWork(HANDLE exit_event);
36 void RPCSS_RegisterRpcEndpoints(RPC_SYNTAX_IDENTIFIER iface, int object_count,
37 int binding_count, int no_replace, char *vardata, long vardata_size);
38 void RPCSS_UnregisterRpcEndpoints(RPC_SYNTAX_IDENTIFIER iface, int object_count,
39 int binding_count, char *vardata, long vardata_size);
40 void RPCSS_ResolveRpcEndpoints(RPC_SYNTAX_IDENTIFIER iface, UUID object,
41 char *protseq, char *rslt_ep);
43 /* named_pipe_kludge.c */
44 BOOL RPCSS_BecomePipeServer(void);
45 BOOL RPCSS_UnBecomePipeServer(void);
46 LONG RPCSS_SrvThreadCount(void);
48 #endif /* __WINE_RPCSS_H */