Annotation of embedaddon/miniupnpd/miniupnpc-async/parsessdpreply.h, revision 1.1.1.1

1.1       misho       1: /* $Id: parsessdpreply.h,v 1.1 2009/11/14 10:37:55 nanard Exp $ */
                      2: /* Project : miniupnp
                      3:  * website : http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
                      4:  * Author : Thomas Bernard
                      5:  * copyright (c) 2005-2009 Thomas Bernard
                      6:  *
                      7:  * Permission to use, copy, modify, and/or distribute this software for any
                      8:  * purpose with or without fee is hereby granted, provided that the above
                      9:  * copyright notice and this permission notice appear in all copies.
                     10:  *
                     11:  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
                     12:  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
                     13:  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
                     14:  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
                     15:  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
                     16:  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
                     17:  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
                     18: #ifndef __PARSESSDPREPLY_H__
                     19: #define __PARSESSDPREPLY_H__
                     20: 
                     21: /* parseMSEARCHReply()
                     22:  * the last 4 arguments are filled during the parsing :
                     23:  *    - location/locationsize : "location:" field of the SSDP reply packet
                     24:  *    - st/stsize : "st:" field of the SSDP reply packet.
                     25:  * The strings are NOT null terminated */
                     26: void
                     27: parseMSEARCHReply(const char * reply, int size,
                     28:                   const char * * location, int * locationsize,
                     29:                              const char * * st, int * stsize);
                     30: 
                     31: #endif
                     32: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>