Main Page | File List | Globals

src/include/plibc_private.h

Go to the documentation of this file.
00001 /*
00002      This file is part of PlibC.
00003      (C) 2005 Nils Durner (and other contributing authors)
00004 
00005            This library is free software; you can redistribute it and/or
00006            modify it under the terms of the GNU Lesser General Public
00007            License as published by the Free Software Foundation; either
00008            version 2.1 of the License, or (at your option) any later version.
00009         
00010            This library is distributed in the hope that it will be useful,
00011            but WITHOUT ANY WARRANTY; without even the implied warranty of
00012            MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013            Lesser General Public License for more details.
00014         
00015            You should have received a copy of the GNU Lesser General Public
00016            License along with this library; if not, write to the Free Software
00017            Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 */
00019 
00026 #ifndef _PLIBC_PRIVATE_H_
00027 #define _PLIBC_PRIVATE_H_
00028 
00029 #include "config.h"
00030 
00031 #include "plibc.h"
00032 
00033 #ifndef ENABLE_NLS
00034   #ifdef HAVE_INTL
00035     #define ENABLE_NLS 1
00036   #endif
00037 #endif
00038 
00039 #include "langinfo.h"
00040 #include <sys/timeb.h>
00041 #include <io.h>
00042 #include <fcntl.h>
00043 #include <sys/types.h>
00044 #include <sys/stat.h>
00045 #include <limits.h>
00046 #include <locale.h>
00047 
00048 typedef struct {
00049   char *pStart;
00050   HANDLE hMapping;
00051 } TMapping;
00052 
00053 typedef struct
00054 {
00055   SOCKET s;
00056   BOOL bBlocking;
00057 } Winsock;
00058 extern Winsock *pSocks;
00059 extern unsigned int uiSockCount;
00060 extern HANDLE hSocksLock;
00061 extern TPanicProc __plibc_panic;
00062 
00063 typedef struct
00064 {
00065   int fildes;
00066   void *buf;
00067   size_t nbyte;
00068 } TReadWriteInfo;
00069 
00070 #endif //_PLIBC_PRIVATE_H_
00071 
00072 /* end of plibc_private.h */

Generated on Sun Sep 4 11:16:47 2005 for PlibC by  doxygen 1.4.2