new TODOs
[physik/nlsop.git] / ft.h
1 /* ft.h -- ft heade file */
2
3 #define _GNU_SOURCE
4 #include <stdio.h>
5 #include <sys/types.h>
6 #include <sys/stat.h>
7 #include <fcntl.h>
8 #include <unistd.h>
9 #include <stdlib.h>
10 #include <string.h>
11 #include <string.h>
12
13 #include "dfbapi.h"
14 #include "nlsop.h"
15
16 #define FILE_LEN 64
17 #define TYPE_LEN 5
18
19 #define SET_GEO (1<<0)
20 #define SET_DIM (1<<1)
21 #define SET_DEBUG (1<<2)
22 #define SET_OUT_BMP (1<<3)
23 #define SET_IN_BMP (1<<4)
24 #define SET_IN_NLSOP (1<<5)
25 #define SET_OUT_PLOT (1<<6)
26 #define SET_3D (1<<7)
27
28 #define BMP (1<<0)
29 #define NLSOP (1<<1)
30
31 #define BMP_HEADER_LEN 0x36
32 #define NLSOP_HEADER_LEN 0x64