From 9f6127f592c979582a4d2d34627e09cfcd439778 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 31 May 2011 22:52:41 +0200 Subject: osmo-pcap-server: Work on the generic VTY interface for the server Work on being able to configure clients that are allowed to connect to the server. --- include/osmo-pcap/osmo_pcap_server.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/osmo-pcap/osmo_pcap_server.h b/include/osmo-pcap/osmo_pcap_server.h index a3f70dc..66ec99e 100644 --- a/include/osmo-pcap/osmo_pcap_server.h +++ b/include/osmo-pcap/osmo_pcap_server.h @@ -52,6 +52,8 @@ struct osmo_pcap_conn { struct osmo_pcap_server { struct llist_head conn; + int port; + char *addr; struct osmo_fd listen_fd; char *base_path; @@ -62,6 +64,7 @@ extern struct osmo_pcap_server *pcap_server; int osmo_pcap_server_listen(struct osmo_pcap_server *server); struct osmo_pcap_conn *osmo_pcap_server_find(struct osmo_pcap_server *ser, const char *name); +void osmo_pcap_server_delete(struct osmo_pcap_conn *conn); void vty_server_init(struct osmo_pcap_server *server); #endif -- cgit v1.2.3