forked from airnavsystems/rbfeeder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathairnav_mlat.h
executable file
·48 lines (36 loc) · 951 Bytes
/
airnav_mlat.h
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
* Copyright (c) 2020 - AirNav Systems
*
* https://www.radarbox.com
*
* More info: https://github.com/AirNav-Systems/rbfeeder
*
*/
#ifndef AIRNAV_MLAT_H
#define AIRNAV_MLAT_H
#include "rbfeeder.h"
#ifdef __cplusplus
extern "C" {
#endif
/****** Defines *******/
#define DEFAULT_MLAT_SERVER "mlat1.rb24.com:40900"
/****** Variables ******/
// MLAT
extern pid_t p_mlat;
extern char *mlat_cmd;
extern char *mlat_server;
extern char *mlat_pidfile;
extern int autostart_mlat;
extern char *mlat_config;
/****** Functions ******/
int mlat_checkMLATRunning(void);
void mlat_stopMLAT(void);
void mlat_startMLAT(void);
void mlat_restartMLAT();
void mlat_sendMLATConfig(void);
int mlat_saveMLATConfig(void);
int mlat_check_is_mlat(struct aircraft *a);
#ifdef __cplusplus
}
#endif
#endif /* AIRNAV_MLAT_H */