# automatically generated from http://www.digitv.fi/sivu.asp?path=1;8224;9519 # T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy T 594000000 8MHz 2/3 NONE QAM64 8k 1/8 NONE T 650000000 8MHz 2/3 NONE QAM64 8k 1/8 NONE T 762000000 8MHz 2/3 NONE QAM64 8k 1/8 NONE T 698000000 8MHz 2/3 NONE QAM64 8k 1/8 NONE x.git' title='dhex.git Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/machine_type.h
blob: 124650fbd1c228754c7d1fb6c36a8df000f94c11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef MACHINE_TYPE_H
#define MACHINE_TYPE_H
#include <stdio.h>
#include <ncurses.h>
// number 1: datatypes

typedef	unsigned char 		tBool;
typedef	unsigned char 		tUInt8;
typedef unsigned short		tUInt16;
typedef	unsigned int		tUInt32;
typedef	unsigned long long	tUInt64;

typedef	signed char 		tInt8;
typedef signed short		tInt16;
typedef	signed int		tInt32;
typedef	signed long long	tInt64;

typedef	FILE*			tFptr;

// number 2: file operations
tUInt64	getfilepos(tFptr f);
tUInt64 getfilesize(tFptr f);
void	setfilepos(tFptr f,tUInt64 pos);

#define	MIN(a,b)	(((a)<(b))?(a):(b))
#define	MAX(a,b)	(((a)>(b))?(a):(b))
#define	RETOK	0
#define	RETNOK	-1
#endif