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
|
sock /var/run/patty.sock
|
||||||
pid /var/run/patty.pid
|
pid /var/run/patty.pid
|
||||||
if tnc0 ax25 KZ3ROX kiss /dev/ttyUSB0 baud 9600
|
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
|
listen tnc0 ssid 0 exec /usr/bin/login -l -h @peer
|
||||||
|
|
|
@ -20,14 +20,14 @@ enum patty_ax25_mux_request_type {
|
||||||
PATTY_AX25_MUX_RECVFROM
|
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,
|
enum patty_ax25_mux_request_type type,
|
||||||
void *data,
|
void *data,
|
||||||
size_t len);
|
size_t len);
|
||||||
|
|
||||||
int patty_ax25_mux_recv(int fd,
|
ssize_t patty_ax25_mux_recv(int fd,
|
||||||
enum patty_ax25_mux_response_type type,
|
enum patty_ax25_mux_response_type *type,
|
||||||
void *data,
|
void *data,
|
||||||
size_t len);
|
size_t len);
|
||||||
|
|
||||||
#endif /* _PATTY_AX25_MUX_H */
|
#endif /* _PATTY_AX25_MUX_H */
|
||||||
|
|
Loading…
Add table
Reference in a new issue