From 0a94e57b72e5d1445b8a92538c8091b474fef445 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 8 Nov 2016 23:50:10 +0100 Subject: client: Allow to stop and remove a connection Change-Id: I2118723345caf6a68f03de74a4182506e7bf105c --- include/osmo-pcap/osmo_pcap_client.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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); -- cgit v1.2.3