aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-11-08 23:50:10 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-11-09 01:04:04 +0100
commit0a94e57b72e5d1445b8a92538c8091b474fef445 (patch)
tree6d5ccb8f84e7f4973a355092f2a93c54a057f564 /include
parentd7ab53dc168ff2aac4d0eea8f0ecb3377e03103b (diff)
client: Allow to stop and remove a connection
Diffstat (limited to 'include')
-rw-r--r--include/osmo-pcap/osmo_pcap_client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmo-pcap/osmo_pcap_client.h b/include/osmo-pcap/osmo_pcap_client.h
index 5947615..68a648d 100644
--- a/include/osmo-pcap/osmo_pcap_client.h
+++ b/include/osmo-pcap/osmo_pcap_client.h
@@ -107,9 +107,12 @@ void osmo_client_send_data(struct osmo_pcap_client_conn *client,
struct pcap_pkthdr *hdr, const uint8_t *data);
void osmo_client_send_link(struct osmo_pcap_client_conn *client);
void osmo_client_connect(struct osmo_pcap_client_conn *);
+void osmo_client_disconnect(struct osmo_pcap_client_conn *);
+void osmo_client_free(struct osmo_pcap_client_conn *);
void osmo_client_reconnect(struct osmo_pcap_client_conn *);
struct osmo_pcap_client_conn *osmo_client_find_or_create_conn(struct osmo_pcap_client *, const char *name);
+struct osmo_pcap_client_conn *osmo_client_find_conn(struct osmo_pcap_client *, const char *name);
void osmo_client_conn_init(struct osmo_pcap_client_conn *conn, struct osmo_pcap_client *client);