Inserting VZGOT development tree within GIT
[safe/jmp/vzgot] / lib / lowtyp.h
1 /************************************************/
2 /*                                              */
3 /*      Copyright:                              */
4 /*       Jean-Marc Pigeon <jmp@safe.ca>  2009   */
5 /*                                              */
6 /************************************************/
7 /* This program is free software; you can       */
8 /* redistribute it and/or modify it under the   */
9 /* terms of the GNU General Public License as   */
10 /* published by the Free Software Foundation    */
11 /* version 2 of the License                     */
12 /*                                              */
13 /* This program is distributed in the hope that */
14 /* it will be useful, but WITHOUT ANY WARRANTY; */
15 /* without even the implied warranty of         */
16 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR  */
17 /* PURPOSE.  See the GNU General Public License */
18 /* for more details.                            */
19 /*                                              */
20 /* You should have received a copy of the GNU   */
21 /* General Public License along with this       */
22 /* program; if not, write to the Free Software  */
23 /* Foundation, Inc., 51 Franklin Street,        */
24 /* Fifth Floor, Boston, MA  02110-1301, USA.    */
25 /************************************************/
26 /*                                              */
27 /*      Define very bottom level structure type */
28 /*                                              */
29 /************************************************/
30 #ifndef LOWTYP
31 #define LOWTYP
32
33 /*defining troolean value                       */
34 typedef enum {false,true,maybe} TROOL;
35
36 typedef struct timespec TIMESPEC;
37
38 /*a 8 Bytes wide integer                        */
39 typedef unsigned long long u_vlong;
40 typedef          long long vlong;
41
42 #define CHARNULL (void *)0
43 #endif