diff options
Diffstat (limited to 'xorg-server/include/os.h')
-rw-r--r-- | xorg-server/include/os.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/xorg-server/include/os.h b/xorg-server/include/os.h index a553f5783..24558cd2f 100644 --- a/xorg-server/include/os.h +++ b/xorg-server/include/os.h @@ -115,6 +115,8 @@ extern _X_EXPORT int WriteToClient(ClientPtr /*who*/, int /*count*/, const void* extern _X_EXPORT void ResetOsBuffers(void); +extern _X_EXPORT int TransIsListening(char *protocol); + extern _X_EXPORT void InitConnectionLimits(void); extern _X_EXPORT void NotifyParentProcess(void); @@ -327,7 +329,7 @@ extern _X_EXPORT int AddHost( ClientPtr /*client*/, int /*family*/, unsigned /*length*/, - const void */*pAddr*/); + const void * /*pAddr*/); extern _X_EXPORT Bool ForEachHostInFamily ( int /*family*/, @@ -390,7 +392,7 @@ extern _X_EXPORT void DisableLocalHost(void); extern _X_EXPORT void AccessUsingXdmcp(void); -extern _X_EXPORT void DefineSelf(int /*fd*/); +extern _X_EXPORT void DefineSelf(int /*fd*/, const int /*protocol*/); #if XDMCP extern _X_EXPORT void AugmentSelf(pointer /*from*/, int /*len*/); @@ -543,4 +545,8 @@ extern _X_EXPORT void LogPrintMarkers(void); extern _X_EXPORT void xorg_backtrace(void); +#ifdef _MSC_VER +#define snprintf _snprintf +#endif + #endif /* OS_H */ |