Subversion Repositories Projects

Rev

Rev 505 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 505 Rev 522
Line 12... Line 12...
12
#if !defined(RIDDIM_H)
12
#if !defined(RIDDIM_H)
13
#define RIDDIM_H
13
#define RIDDIM_H
14
 
14
 
15
 
15
 
16
 
16
 
17
#define RIDDIM_VERSION_MAJOR 0
-
 
18
#define RIDDIM_VERSION_MINOR 8
-
 
19
 
17
 
20
// for config file parsing
18
// for config file parsing
21
#include <confuse.h>
19
#include <confuse.h>
22
#include <string.h>
20
#include <string.h>
23
 
-
 
-
 
21
#include "riddim_meta.h"
24
 
22
 
25
// for configuration file parsing
23
// for configuration file parsing
26
#include "config.h" 
24
#include "config.h" 
27
// for measuring
25
// for measuring
28
#include "statistics.h"
26
#include "statistics.h"
Line 60... Line 58...
60
#include <sys/types.h>
58
#include <sys/types.h>
61
#include <netinet/in.h>
59
#include <netinet/in.h>
62
#include <unistd.h>//for close() for socket
60
#include <unistd.h>//for close() for socket
63
 
61
 
64
 
62
 
65
int act_nick=0;
63
extern int act_nick;
66
int act_roll=0;
64
extern int act_roll;
67
int act_gier=0;
65
extern int act_gier;
68
int act_gas=0;
66
extern int act_gas;
69
int act_mode=0;
67
extern int act_mode;
70
 
-
 
71
int act_alt=0;
-
 
72
 
-
 
73
 
68
 
-
 
69
extern int act_alt;
74
long act_long_alt=0;
70
extern long act_long_alt;
75
 
71
 
76
#define FALSE 0
72
#define FALSE 0
77
#define TRUE 1
73
#define TRUE 1
78
 
74
 
79
#define STATEID_SCANNING 0
75
#define STATEID_SCANNING 0