blob: 150c154536be5ed837b22329fe5b4ca124925fc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef MAP65_PTT_H
#define MAP65_PTT_H
#ifdef __cplusplus
extern "C" {
#endif
/* Device loss resets logical PTT but does not confirm physical release. */
enum { PTT_OK = 0, PTT_ERROR = 1, PTT_DEVICE_LOST = 2 };
int ptt_(int *nport, int *ntx, int *iptt);
void ptt_close(void);
void ptt_set_override(const char *path);
#ifdef __cplusplus
}
#endif
#endif
|