Blame libgupnp-av/fragment-util.h

Packit 712bc5
/*
Packit 712bc5
 * Copyright (C) 2012 Intel Corporation
Packit 712bc5
 *
Packit 712bc5
 * Authors: Krzesimir Nowak <krnowak@openismus.com>
Packit 712bc5
 *
Packit 712bc5
 * This library is free software; you can redistribute it and/or
Packit 712bc5
 * modify it under the terms of the GNU Library General Public
Packit 712bc5
 * License as published by the Free Software Foundation; either
Packit 712bc5
 * version 2 of the License, or (at your option) any later version.
Packit 712bc5
 *
Packit 712bc5
 * This library is distributed in the hope that it will be useful,
Packit 712bc5
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 712bc5
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 712bc5
 * Library General Public License for more details.
Packit 712bc5
 *
Packit 712bc5
 * You should have received a copy of the GNU Library General Public
Packit 712bc5
 * License along with this library; if not, write to the
Packit 712bc5
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Packit 712bc5
 * Boston, MA 02110-1301, USA.
Packit 712bc5
 */
Packit 712bc5
Packit 712bc5
#ifndef __FRAGMENT_UTIL_H__
Packit 712bc5
#define __FRAGMENT_UTIL_H__
Packit 712bc5
Packit 712bc5
#include <glib.h>
Packit 712bc5
#include <libxml/tree.h>
Packit 712bc5
Packit 712bc5
#include "xsd-data.h"
Packit 712bc5
#include "gupnp-av-enums.h"
Packit 712bc5
Packit 712bc5
G_BEGIN_DECLS
Packit 712bc5
Packit 712bc5
typedef struct {
Packit 712bc5
        xmlDocPtr doc;
Packit 712bc5
        xmlNodePtr node;
Packit 712bc5
} DocNode;
Packit 712bc5
Packit 712bc5
G_GNUC_INTERNAL XSDData *
Packit 712bc5
fragment_util_get_didl_lite_xsd_data    (void);
Packit 712bc5
Packit 712bc5
G_GNUC_INTERNAL GUPnPDIDLLiteFragmentResult
Packit 712bc5
fragment_util_check_fragments           (DocNode     *original,
Packit 712bc5
                                         DocNode     *modified,
Packit 712bc5
                                         const gchar *current_fragment,
Packit 712bc5
                                         const gchar *new_fragment,
Packit 712bc5
                                         XSDData     *xsd_data);
Packit 712bc5
Packit 712bc5
G_GNUC_INTERNAL gboolean
Packit 712bc5
fragment_util_apply_modification        (xmlNodePtr *node_ptr,
Packit 712bc5
                                         DocNode    *modified);
Packit 712bc5
Packit 712bc5
G_END_DECLS
Packit 712bc5
Packit 712bc5
#endif /* __FRAGMENT_UTIL_H__ */