sl@0: /*
sl@0: * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0: * All rights reserved.
sl@0: * This component and the accompanying materials are made available
sl@0: * under the terms of "Eclipse Public License v1.0"
sl@0: * which accompanies this distribution, and is available
sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0: *
sl@0: * Initial Contributors:
sl@0: * Nokia Corporation - initial contribution.
sl@0: *
sl@0: * Contributors:
sl@0: *
sl@0: * Description:
sl@0: *
sl@0: */
sl@0: #ifndef _AESELECTREENT_H_
sl@0: #define _AESELECTREENT_H_
sl@0: 
sl@0: // System Includes
sl@0: // This has not been included in sysreent.h as this requires e32cmn.h to be included, which cannot be done in .c sources
sl@0: // This new file allows us to prevent the use of void* in the formal parameter of aselect and eselect
sl@0: #include <e32cmn.h>
sl@0: #include <sys/select.h>
sl@0: 
sl@0: IMPORT_C int _aselect_r(int *aErrno, int maxfd, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *tvptr, TRequestStatus* requeststatus);
sl@0: 
sl@0: IMPORT_C int _cancelaselect_r(int *aErrno, TRequestStatus* requeststatus);
sl@0: 
sl@0: IMPORT_C int _eselect_r(int *aErrno, int maxfd, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *tvptr,int numreqs, TRequestStatus* waitarray);
sl@0: 
sl@0: #endif // _AESELECTREENT_H_