-
Notifications
You must be signed in to change notification settings - Fork 314
/
Copy pathserver.h
30 lines (14 loc) · 817 Bytes
/
server.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
/*
* Name: server.h
*/
#include "ax25_pad.h" /* for packet_t */
#include "config.h"
void server_set_debug (int n);
void server_init (struct audio_s *audio_config_p, struct misc_config_s *misc_config);
void server_send_rec_packet (int chan, packet_t pp, unsigned char *fbuf, int flen);
int server_callsign_registered_by_client (char *callsign);
void server_link_established (int chan, int client, char *remote_call, char *own_call, int incoming);
void server_link_terminated (int chan, int client, char *remote_call, char *own_call, int timeout);
void server_rec_conn_data (int chan, int client, char *remote_call, char *own_call, int pid, char *data_ptr, int data_len);
void server_outstanding_frames_reply (int chan, int client, char *own_call, char *remote_call, int count);
/* end server.h */