Implement stub patty_ax25_accept()

This commit is contained in:
XANTRONIX Development 2020-06-13 01:18:28 -04:00 committed by XANTRONIX Industrial
parent 12972f452a
commit f3d42c61f9
2 changed files with 9 additions and 2 deletions

View file

@ -111,12 +111,13 @@ int patty_ax25_bind(patty_ax25 *ax25,
int patty_ax25_listen(patty_ax25 *ax25,
int socket);
int patty_ax25_accept(patty_ax25 *ax25,
int socket);
int patty_ax25_connect(patty_ax25 *ax25,
int socket,
patty_ax25_addr *addr);
int patty_ax25_accept(patty_ax25 *ax25, int socket);
int patty_ax25_close(patty_ax25 *ax25, int socket);
/*int patty_ax25_next_event(patty_ax25 *ax25,

View file

@ -366,3 +366,9 @@ error_exists:
error_sock_get_fd:
return -1;
}
int patty_ax25_accept(patty_ax25 *ax25, int socket) {
errno = ENOSYS;
return -1;
}