00001 /* 00002 Copyright 2003 by Marc J. Rochkind. All rights reserved. 00003 May be copied only for purposes and under conditions described 00004 on the Web page www.basepath.com/aup/copyright.htm. 00005 00006 The Example Files are provided "as is," without any warranty; 00007 without even the implied warranty of merchantability or fitness 00008 for a particular purpose. The author and his publisher are not 00009 responsible for any damages, direct or incidental, resulting 00010 from the use or non-use of these Example Files. 00011 00012 The Example Files may contain defects, and some contain deliberate 00013 coding mistakes that were included for educational reasons. 00014 You are responsible for determining if and how the Example Files 00015 are to be used. 00016 00017 */ 00018 #ifndef _UX_HPP_ 00019 #define _UX_HPP_ 00020 00021 #include "defs.h" 00022 #include <iostream.h> 00023 00024 /** 00025 \ingroup Ux 00026 */ 00027 namespace Ux { 00028 00029 /** 00030 \ingroup Ux 00031 */ 00032 class Base { 00033 00034 }; 00035 00036 } // namespace 00037 00038 /* Following for statvfs functions */ 00039 #if _XOPEN_SOURCE >= 4 00040 #include <sys/statvfs.h> 00041 #define STATVFS_NAME statvfs 00042 #define FSTATVFS_NAME fstatvfs 00043 #define STATVFS 1 00044 #elif defined(FREEBSD) 00045 #include <sys/param.h> 00046 #include <sys/mount.h> 00047 #define STATVFS_NAME statfs 00048 #define FSTATVFS_NAME fstatfs 00049 #else 00050 #error "Need statvfs or nonstandard substitute" 00051 #endif 00052 00053 #include "uxaio.hpp" 00054 #include "uxdir.hpp" 00055 #include "uxdirstream.hpp" 00056 #include "uxerr.hpp" 00057 #include "uxexitstatus.hpp" 00058 #include "uxfile.hpp" 00059 #include "uxnetdb.hpp" 00060 #include "uxposixipc.hpp" 00061 #include "uxprocess.hpp" 00062 #include "uxsigset.hpp" 00063 #include "uxsocket.hpp" 00064 #include "uxsystem.hpp" 00065 #include "uxsysvipc.hpp" 00066 #include "uxterminal.hpp" 00067 #include "uxtime.hpp" 00068 #include "uxtimetm.hpp" 00069 00070 #endif // _UX_HPP_