os/ossrv/genericopenlibs/openenvcore/backend/inc/aeselectreent.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description:
    15 *
    16 */
    17 #ifndef _AESELECTREENT_H_
    18 #define _AESELECTREENT_H_
    19 
    20 // System Includes
    21 // This has not been included in sysreent.h as this requires e32cmn.h to be included, which cannot be done in .c sources
    22 // This new file allows us to prevent the use of void* in the formal parameter of aselect and eselect
    23 #include <e32cmn.h>
    24 #include <sys/select.h>
    25 
    26 IMPORT_C int _aselect_r(int *aErrno, int maxfd, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *tvptr, TRequestStatus* requeststatus);
    27 
    28 IMPORT_C int _cancelaselect_r(int *aErrno, TRequestStatus* requeststatus);
    29 
    30 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);
    31 
    32 #endif // _AESELECTREENT_H_