File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / miniupnpd / miniupnpc-async / parsessdpreply.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Sep 27 11:25:11 2023 UTC (13 months ago) by misho
Branches: miniupnpd, MAIN
CVS tags: v2_3_3p0, HEAD
Version 2.3.3p0

    1: /* $Id: parsessdpreply.h,v 1.1.1.1 2023/09/27 11:25:11 misho 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>