sockimpl.h (74ab850d) sockimpl.h (5691909d)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 49 unchanged lines hidden (view full) ---

58 struct sockaddr m_sockaddr;
59};
60
61struct oslPipeImpl {
62 int m_Socket;
63 sal_Char m_Name[PATH_MAX + 1];
64 oslInterlockedCount m_nRefCount;
65 sal_Bool m_bClosed;
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 49 unchanged lines hidden (view full) ---

58 struct sockaddr m_sockaddr;
59};
60
61struct oslPipeImpl {
62 int m_Socket;
63 sal_Char m_Name[PATH_MAX + 1];
64 oslInterlockedCount m_nRefCount;
65 sal_Bool m_bClosed;
66#if defined(LINUX)
66#if CLOSESOCKET_DOESNT_WAKE_UP_ACCEPT
67 sal_Bool m_bIsAccepting;
68 sal_Bool m_bIsInShutdown;
69#endif
70};
71
72oslSocket __osl_createSocketImpl(int Socket);
73void __osl_destroySocketImpl(oslSocket pImpl);
74
75#ifdef __cplusplus
76}
77#endif
78
79#endif
80
67 sal_Bool m_bIsAccepting;
68 sal_Bool m_bIsInShutdown;
69#endif
70};
71
72oslSocket __osl_createSocketImpl(int Socket);
73void __osl_destroySocketImpl(oslSocket pImpl);
74
75#ifdef __cplusplus
76}
77#endif
78
79#endif
80