diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2016-11-08 23:50:10 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2016-11-09 01:04:04 +0100 |
commit | 0a94e57b72e5d1445b8a92538c8091b474fef445 (patch) | |
tree | 6d5ccb8f84e7f4973a355092f2a93c54a057f564 /include | |
parent | d7ab53dc168ff2aac4d0eea8f0ecb3377e03103b (diff) |
client: Allow to stop and remove a connection
Change-Id: I2118723345caf6a68f03de74a4182506e7bf105c
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-pcap/osmo_pcap_client.h | 3 |
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); |