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"
28 #define RPCSS_DEFAULT_MAX_LAZY_TIMEOUT 30
31 HANDLE RPCSS_GetMasterMutex(void);
32 BOOL RPCSS_ReadyToDie(void);
33 void RPCSS_SetLazyTimeRemaining(long);
34 long RPCSS_GetLazyTimeRemaining(void);
35 void RPCSS_SetMaxLazyTimeout(long);
36 long RPCSS_GetMaxLazyTimeout(void);
39 BOOL RPCSS_EpmapEmpty(void);
40 BOOL RPCSS_NPDoWork(void);
41 void RPCSS_RegisterRpcEndpoints(RPC_SYNTAX_IDENTIFIER iface, int object_count,
42 int binding_count, int no_replace, char *vardata, long vardata_size);
43 void RPCSS_UnregisterRpcEndpoints(RPC_SYNTAX_IDENTIFIER iface, int object_count,
44 int binding_count, char *vardata, long vardata_size);
45 void RPCSS_ResolveRpcEndpoints(RPC_SYNTAX_IDENTIFIER iface, UUID object,
46 char *protseq, char *rslt_ep);
48 /* named_pipe_kludge.c */
49 BOOL RPCSS_BecomePipeServer(void);
50 BOOL RPCSS_UnBecomePipeServer(void);
51 LONG RPCSS_SrvThreadCount(void);
53 #endif /* __WINE_RPCSS_H */