Lines Matching refs:SocketStruct
99 struct SocketStruct
141 typedef struct SocketStruct SocketStruct;
144 static SocketStruct sSockets[kMaxNumSockets];
150 static OSErr MyBusyWait(SocketStruct *ioSocket,Boolean returnImmediatelyOnError,OTResult *outOTResult,Boolean *inAsyncOperationCompleteFlag);
156 static void InitSocket(SocketStruct *ioSocket);
158 static void PrepareForAsyncOperation(SocketStruct *ioSocket,const OTEventCode inExpectedCode);
160 static Boolean TimeoutElapsed(const SocketStruct *inSocket);
181 SocketStruct *theSocketStruct = &(sSockets[inSocketNum]);
201 SocketStruct *theSocketStruct = &(sSockets[inSocketNum]);
214 SocketStruct *theSocketStruct = &(sSockets[inSocketNum]);
251 SocketStruct *theSocketStruct = &(sSockets[inSocketNum]);
289 SocketStruct *theSocketStruct = &(sSockets[inSocketNum]);
305 SocketStruct *theSocketStruct = &(sSockets[inSocketNum]);
319 SocketStruct *theSocketStruct = &(sSockets[inSocketNum]);
336 SocketStruct *theSocketStruct = &(sSockets[inSocketNum]);
349 static Boolean TimeoutElapsed(const SocketStruct *inSocket)
379 static void InitSocket(SocketStruct *ioSocket)
424 static void PrepareForAsyncOperation(SocketStruct *ioSocket,const OTEventCode inExpectedCode)
436 static OSErr MyBusyWait(SocketStruct *ioSocket,Boolean returnImmediatelyOnError,OTResult *outOTResult,Boolean *inAsyncOperationCompleteFlag)
489 SocketStruct *theSocketStruct = (SocketStruct *) contextPtr;
650 SocketStruct *theSocketStruct = &(sSockets[i]);
742 SocketStruct *theSocketStruct = &(sSockets[i]);
795 SocketStruct *theSocketStruct = nil;
943 SocketStruct *theSocketStruct = nil;
1071 SocketStruct *theSocketStruct = nil;
1163 SocketStruct *theSocketStruct = nil;
1294 SocketStruct *theSocketStruct = nil;