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

Tglobals.h

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

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