"Fossies" - the Fresh Open Source Software Archive

Member "minidlna-1.3.0/upnpsoap.h" (24 Nov 2020, 1584 Bytes) of package /linux/privat/minidlna-1.3.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "upnpsoap.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 1.2.1_vs_1.3.0.

    1 /* MiniDLNA project
    2  * http://minidlna.sourceforge.net/
    3  *
    4  * MiniDLNA media server
    5  * Copyright (C) 2008-2009  Justin Maggard
    6  *
    7  * This file is part of MiniDLNA.
    8  *
    9  * MiniDLNA is free software; you can redistribute it and/or modify
   10  * it under the terms of the GNU General Public License version 2 as
   11  * published by the Free Software Foundation.
   12  *
   13  * MiniDLNA is distributed in the hope that it will be useful,
   14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
   15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   16  * GNU General Public License for more details.
   17  *
   18  * You should have received a copy of the GNU General Public License
   19  * along with MiniDLNA. If not, see <http://www.gnu.org/licenses/>.
   20  */
   21 #ifndef __UPNPSOAP_H__
   22 #define __UPNPSOAP_H__
   23 
   24 #define DEFAULT_RESP_SIZE 131072
   25 #define MAX_RESPONSE_SIZE 2097152
   26 
   27 #define CONTENT_DIRECTORY_SCHEMAS \
   28     " xmlns:dc=\"http://purl.org/dc/elements/1.1/\"" \
   29     " xmlns:upnp=\"urn:schemas-upnp-org:metadata-1-0/upnp/\"" \
   30     " xmlns=\"urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/\""
   31 #define DLNA_NAMESPACE \
   32     " xmlns:dlna=\"urn:schemas-dlna-org:metadata-1-0/\""
   33 #define PV_NAMESPACE \
   34     " xmlns:pv=\"http://www.pv.com/pvns/\""
   35 #define SEC_NAMESPACE \
   36     " xmlns:sec=\"http://www.sec.co.kr/dlna\""
   37 
   38 struct Response
   39 {
   40     struct string_s *str;
   41     int start;
   42     int returned;
   43     int requested;
   44     int iface;
   45     uint32_t filter;
   46     uint32_t flags;
   47     enum client_types client;
   48 };
   49 
   50 /* ExecuteSoapAction():
   51  * this method executes the requested Soap Action */
   52 void
   53 ExecuteSoapAction(struct upnphttp *, const char *, int);
   54 
   55 #endif
   56