diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-01-06 16:13:37 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-01-06 16:13:37 -0800 |
commit | 2ee6c591dc1c59f38c8f924c81250f8df4764735 (patch) | |
tree | b815b9bcc6446493d63f310bda0549f3cacec596 /pcap/pcap.h | |
parent | 5ae573eafe9f322371f45f0d9e993f204506f744 (diff) |
Unbreak source and binary compatibility.
We can't change the signature of pcap_remoteact_accept(); add
pcap_remoteact_accept_ex() with the new signature, and have
pcap_remoteact_accept() as a wrapper with the old signature.
Diffstat (limited to 'pcap/pcap.h')
-rw-r--r-- | pcap/pcap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pcap/pcap.h b/pcap/pcap.h index 571c88c0..8a69a2f3 100644 --- a/pcap/pcap.h +++ b/pcap/pcap.h @@ -950,6 +950,9 @@ PCAP_API struct pcap_samp *pcap_setsampling(pcap_t *p); PCAP_API SOCKET pcap_remoteact_accept(const char *address, const char *port, const char *hostlist, char *connectinghost, + struct pcap_rmtauth *auth, char *errbuf); +PCAP_API SOCKET pcap_remoteact_accept_ex(const char *address, const char *port, + const char *hostlist, char *connectinghost, struct pcap_rmtauth *auth, int uses_ssl, char *errbuf); PCAP_API int pcap_remoteact_list(char *hostlist, char sep, int size, char *errbuf); |