util_xml.h revision 548525160c35ae18bde1212c781171a2880bd108
842ae4bd224140319ae7feec1872b93dfd491143fielding/* Licensed to the Apache Software Foundation (ASF) under one or more
842ae4bd224140319ae7feec1872b93dfd491143fielding * contributor license agreements. See the NOTICE file distributed with
842ae4bd224140319ae7feec1872b93dfd491143fielding * this work for additional information regarding copyright ownership.
842ae4bd224140319ae7feec1872b93dfd491143fielding * The ASF licenses this file to You under the Apache License, Version 2.0
842ae4bd224140319ae7feec1872b93dfd491143fielding * (the "License"); you may not use this file except in compliance with
842ae4bd224140319ae7feec1872b93dfd491143fielding * the License. You may obtain a copy of the License at
f6b86fd524444dacf82f64148300d8be04918314gstein *
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * http://www.apache.org/licenses/LICENSE-2.0
f6b86fd524444dacf82f64148300d8be04918314gstein *
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * Unless required by applicable law or agreed to in writing, software
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * distributed under the License is distributed on an "AS IS" BASIS,
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * See the License for the specific language governing permissions and
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * limitations under the License.
f6b86fd524444dacf82f64148300d8be04918314gstein */
f6b86fd524444dacf82f64148300d8be04918314gstein
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh/**
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh * @file util_xml.h
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh * @brief Apache XML library
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh *
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh * @defgroup APACHE_CORE_XML XML Library
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh * @ingroup APACHE_CORE
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh * @{
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh */
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh
f6b86fd524444dacf82f64148300d8be04918314gstein#ifndef UTIL_XML_H
f6b86fd524444dacf82f64148300d8be04918314gstein#define UTIL_XML_H
f6b86fd524444dacf82f64148300d8be04918314gstein
aa552377469071a421252dab6568c204a99cf770gstein#include "apr_xml.h"
aa552377469071a421252dab6568c204a99cf770gstein
aa552377469071a421252dab6568c204a99cf770gstein#include "httpd.h"
aa552377469071a421252dab6568c204a99cf770gstein
f6b86fd524444dacf82f64148300d8be04918314gstein#ifdef __cplusplus
f6b86fd524444dacf82f64148300d8be04918314gsteinextern "C" {
f6b86fd524444dacf82f64148300d8be04918314gstein#endif
f6b86fd524444dacf82f64148300d8be04918314gstein
155c41995a4728123ceb4c637df8e2aaf0d7223frbb/**
548525160c35ae18bde1212c781171a2880bd108jailletc * Get XML post data and parse it.
548525160c35ae18bde1212c781171a2880bd108jailletc * @param r The current request
548525160c35ae18bde1212c781171a2880bd108jailletc * @param pdoc The XML post data
155c41995a4728123ceb4c637df8e2aaf0d7223frbb * @return HTTP status code
155c41995a4728123ceb4c637df8e2aaf0d7223frbb */
aa552377469071a421252dab6568c204a99cf770gsteinAP_DECLARE(int) ap_xml_parse_input(request_rec *r, apr_xml_doc **pdoc);
f6b86fd524444dacf82f64148300d8be04918314gstein
f6b86fd524444dacf82f64148300d8be04918314gstein
155c41995a4728123ceb4c637df8e2aaf0d7223frbb#ifdef __cplusplus
155c41995a4728123ceb4c637df8e2aaf0d7223frbb}
155c41995a4728123ceb4c637df8e2aaf0d7223frbb#endif
155c41995a4728123ceb4c637df8e2aaf0d7223frbb
f6b86fd524444dacf82f64148300d8be04918314gstein#endif /* UTIL_XML_H */
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh/** @} */