diff --git a/include/patty/ax25.h b/include/patty/ax25.h index c9d721f..2a19ae8 100644 --- a/include/patty/ax25.h +++ b/include/patty/ax25.h @@ -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, diff --git a/src/ax25.c b/src/ax25.c index a57fcb8..a536177 100644 --- a/src/ax25.c +++ b/src/ax25.c @@ -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; +}