メインページ   モジュール   クラス階層   アルファベット順一覧   構成   ファイル一覧   構成メンバ   ファイルメンバ   関連ページ    

Tglobals.h

解説を見る。
00001 // =====================================================================
00030 // =====================================================================
00031 #ifndef __TGLOBALS_H
00032 #define __TGLOBALS_H
00033 
00034 #include <X11/Xlib.h>
00035 #include <X11/Xutil.h>
00036 #include <X11/Xatom.h>
00037 #include <X11/cursorfont.h>
00038 #include <X11/keysym.h>
00039 #include <X11/xpm.h>
00040 
00041 #include <stdio.h>
00042 #include <string.h>
00043 #include <fstream>
00044 #include <typeinfo>
00045 #include <stdlib.h>
00046 #include <sys/types.h>
00047 #include <sys/stat.h>
00048 #include <sys/un.h>
00049 #include <fcntl.h>
00050 #include <errno.h>
00051 #include <math.h>
00052 #include <netinet/in.h>
00053 #include <arpa/inet.h>
00054 #include <netdb.h>
00055 #include <signal.h>
00056 #include <sys/ioctl.h>
00057 #include <sys/ipc.h>
00058 #include <sys/sem.h>
00059 #include <sys/shm.h>
00060 #include <sys/wait.h>
00061 #include <termios.h>
00062 #include <term.h>
00063 #include <ncurses.h>
00064 #include <limits.h>
00065 #include <values.h>
00066 #include <libgen.h>
00067 #include <pwd.h>
00068 #include <grp.h>
00069 
00070 #include <unistd.h>
00071 #include <sys/time.h>
00072 #include <time.h>
00073 typedef pid_t Tpid_t;
00074 typedef time_t Ttime_t;
00075 
00076 #include <sys/mman.h>
00077 typedef off_t Toff_t;
00078 
00079 #include <sys/times.h>
00080 typedef clock_t Tclock_t;
00081 
00082 #ifdef __CLDAQ_ZLIB_USE
00083 #include <zlib.h>
00084 typedef z_stream Tzstream;
00085 typedef Byte Tbyte;
00086 #endif
00087 
00088 #include <pthread.h>
00089 typedef pthread_t Tthread_t;
00090 
00091 #include <sys/socket.h>
00092 typedef socklen_t Tsocklen_t;
00093 
00094 #include <regex.h>
00095 typedef regex_t Tregex_t;
00096 typedef regmatch_t Tregmatch_t;
00097 
00098 #include <linux/param.h>
00099 #ifndef __USE_BSD
00100 typedef __caddr_t caddr_t;
00101 #endif
00102 typedef caddr_t Tcaddr_t;
00103 
00104 // #if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)
00105 // // see <sys/sem.h>
00106 // #else
00107 // // if defer to X/OPEN design
00108 // union semun {
00109 //   int val;                    // value for SETVAL
00110 //   struct semid_ds* buf;       // buffer for IPC_STAT, IPC_SET
00111 //   unsigned short int* array;  // array for GETALL, SETALL
00112 //   struct seminfo* __buf;      // buffer for IPC_INFO
00113 // };
00114 // #endif
00115 
00116 #include "Ttypes.h"
00117 
00118 
00119 
00120 #include <getopt.h>
00121 #ifdef __cplusplus
00122 extern "C" {
00123 #endif
00124   extern Tchar *optarg;
00125   extern Tint optind, opterr, optopt;
00126 
00127   extern Tchar** environ;
00128 #ifdef __cplusplus
00129 }
00130 #endif
00131 
00132 #include <syslog.h>
00133 #include <stdarg.h>
00134 
00135 #include "TUtilities.hh"
00136 
00137 #endif

CLDAQ - a Class Library for Data AcQuisition (Version 1.11.0)
Go IWAI <goiwai@users.sourceforge.jp>