path: root/include
diff options
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-05-31 22:52:41 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-05-31 23:42:48 +0200
commit9f6127f592c979582a4d2d34627e09cfcd439778 (patch)
tree6c4ffb1d9b37d06177f9f5f00236996e8f40549d /include
parent13619dd235969126d5129e5bf129d344ed2643e2 (diff)
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.
Diffstat (limited to 'include')
1 files changed, 3 insertions, 0 deletions
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);