summaryrefslogtreecommitdiff
path: root/include/apr_network_io.h
diff options
context:
space:
mode:
authorPaul Querna <pquerna@apache.org>2005-01-03 07:37:34 +0000
committerPaul Querna <pquerna@apache.org>2005-01-03 07:37:34 +0000
commit1a66cf76f7cf3d70a6e5551f039fc9aaf316c3c8 (patch)
tree1856e44cf2418548c616e6b403d992e5dbda0da7 /include/apr_network_io.h
parentb983b4665ff61ad1cf4e0a3455eee491b72d5428 (diff)
downloadapr-1a66cf76f7cf3d70a6e5551f039fc9aaf316c3c8.tar.gz
Add arguments for Single Source Multicast Support as suggested by Colm
MacCarthaigh on dev@apr. SSM Support is not implemented, but I added it in the interest of making a single API that can be used in the future. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@123950 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_network_io.h')
-rw-r--r--include/apr_network_io.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/apr_network_io.h b/include/apr_network_io.h
index cf3679b23..8721fa166 100644
--- a/include/apr_network_io.h
+++ b/include/apr_network_io.h
@@ -758,10 +758,14 @@ APR_DECLARE_INHERIT_UNSET(socket);
* @param join The address of the multicast group to join
* @param iface Address of the interface to use. If NULL is passed, the
* default multicast interface will be used. (OS Dependent)
+ * @param ssm Single Source Multicast Address to accept transmissions from.
+ * @remark Single Source Multicast is not currently implemented, and you must
+ * pass NULL for the argument.
*/
APR_DECLARE(apr_status_t) apr_mcast_join(apr_socket_t *sock,
apr_sockaddr_t *join,
- apr_sockaddr_t *iface);
+ apr_sockaddr_t *iface,
+ apr_sockaddr_t *ssm);
/**
* Leave a Multicast Group. All arguments must be the same as
@@ -770,10 +774,14 @@ APR_DECLARE(apr_status_t) apr_mcast_join(apr_socket_t *sock,
* @param leave The address of the multicast group to leave
* @param iface Address of the interface to use. If NULL is passed, the
* default multicast interface will be used. (OS Dependent)
+ * @param ssm Single Source Multicast Address that transmissions came from.
+ * @remark Single Source Multicast is not currently implemented, and you must
+ * pass NULL for the argument.
*/
APR_DECLARE(apr_status_t) apr_mcast_leave(apr_socket_t *sock,
apr_sockaddr_t *leave,
- apr_sockaddr_t *iface);
+ apr_sockaddr_t *iface,
+ apr_sockaddr_t *ssm);
/**
* Set the Multicast Time to Live (ttl) for a multicast transmission.