Better prototypes; better config
This commit is contained in:
parent
7eb8babd21
commit
0f37a37775
2 changed files with 10 additions and 8 deletions
|
@ -1,4 +1,6 @@
|
|||
sock /var/run/patty.sock
|
||||
pid /var/run/patty.pid
|
||||
if tnc0 ax25 KZ3ROX kiss /dev/ttyUSB0 baud 9600
|
||||
route default if tnc0
|
||||
route station GB9BLM path KX5UXQ WX3RKR
|
||||
listen tnc0 ssid 0 exec /usr/bin/login -l -h @peer
|
||||
|
|
|
@ -20,13 +20,13 @@ enum patty_ax25_mux_request_type {
|
|||
PATTY_AX25_MUX_RECVFROM
|
||||
};
|
||||
|
||||
int patty_ax25_mux_send(int fd,
|
||||
ssize_t patty_ax25_mux_send(int fd,
|
||||
enum patty_ax25_mux_request_type type,
|
||||
void *data,
|
||||
size_t len);
|
||||
|
||||
int patty_ax25_mux_recv(int fd,
|
||||
enum patty_ax25_mux_response_type type,
|
||||
ssize_t patty_ax25_mux_recv(int fd,
|
||||
enum patty_ax25_mux_response_type *type,
|
||||
void *data,
|
||||
size_t len);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue