~ubuntu-branches/ubuntu/vivid/minissdpd/vivid

« back to all changes in this revision

Viewing changes to openssdpsocket.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Goirand
  • Date: 2011-07-29 14:41:55 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110729144155-2jqu1bmsv60qcnmi
Tags: 1.0.20110729-1
* New upstream release 1.0.20110729, fixing root exploit issue reported on
launchpad (Closes: #635836) (LP: #813313), thanks to Moritz Muehlenhoff
<jmm@debian.org> for the bug report, and to falks at Ubuntu for the
investigation of the issue.
* Added build-arch: and build-indep: targets in debian/rules.
* Bumped standard-version to 3.9.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: openssdpsocket.h,v 1.2 2008/10/04 00:47:34 nanard Exp $ */
 
1
/* $Id: openssdpsocket.h,v 1.3 2011/05/23 12:23:21 nanard Exp $ */
2
2
/* MiniUPnP project
3
3
 * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
4
 
 * (c) 2006-2008 Thomas Bernard
 
4
 * (c) 2006-2011 Thomas Bernard
5
5
 * This software is subject to the conditions detailed
6
6
 * in the LICENCE file provided within the distribution */
7
7
#ifndef __OPENSSDPSOCKET_H__
8
8
#define __OPENSSDPSOCKET_H__
9
9
 
 
10
/**
 
11
 * Open a socket and configure it for receiving SSDP packets
 
12
 *
 
13
 * @param n_listen_addr size of listen_addr array
 
14
 * @param listen_addr   array of address (or interface names) to listen
 
15
 * @param ipv6  open INET6 or INET socket
 
16
 * @return socket
 
17
 */
10
18
int
11
19
OpenAndConfSSDPReceiveSocket(int n_listen_addr,
12
 
                                                         const char * * listen_addr);
 
20
                                                         const char * * listen_addr,
 
21
                             int ipv6);
13
22
 
14
23
#endif
15
24