Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /**
  2.  * This file has no copyright assigned and is placed in the Public Domain.
  3.  * This file is part of the w64 mingw-runtime package.
  4.  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5.  */
  6.  
  7. #ifndef ___WSA_FD_TYPES_H
  8. #define ___WSA_FD_TYPES_H
  9.  
  10. #include <psdk_inc/_socket_types.h>
  11.  
  12. #ifndef FD_SETSIZE
  13. #define FD_SETSIZE      64
  14. #endif
  15. typedef struct fd_set
  16. {
  17.         u_int   fd_count;
  18.         SOCKET  fd_array[FD_SETSIZE];
  19. } fd_set;
  20.  
  21. typedef struct fd_set   FD_SET;
  22. typedef struct fd_set   *PFD_SET;
  23. typedef struct fd_set   *LPFD_SET;
  24.  
  25. #endif /* ___WSA_FD_TYPES_H */
  26.  
  27.