fred-mod-eppd
/build/mod-eppd-2.29.0/epp_xmlcommon.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2006-2026 CZ.NIC, z. s. p. o.
3 *
4 * This file is part of FRED.
5 *
6 * FRED is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * FRED is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with FRED. If not, see <https://www.gnu.org/licenses/>.
18 */
19
27#ifndef EPP_XMLCOMMON_H
28#define EPP_XMLCOMMON_H
29
30#include <libxml/tree.h>
31#include <libxml/xmlschemas.h>
32
34#define NS_EPP "urn:ietf:params:xml:ns:epp-1.0"
36#define NS_CONTACT "http://www.nic.cz/xml/epp/contact-1.6"
38#define NS_DOMAIN "http://www.nic.cz/xml/epp/domain-1.4"
40#define NS_NSSET "http://www.nic.cz/xml/epp/nsset-1.2"
42#define NS_KEYSET "http://www.nic.cz/xml/epp/keyset-1.3"
44#define NS_FRED "http://www.nic.cz/xml/epp/fred-1.5"
46#define NS_ENUMVAL "http://www.nic.cz/xml/epp/enumval-1.2"
48#define NS_EXTRAADDR "http://www.nic.cz/xml/epp/extra-addr-1.0"
50#define NS_AUCTION "http://www.nic.cz/xml/epp/auction-1.0"
52#define NS_CONTACTEXTRADATA "http://www.nic.cz/xml/epp/contact-extra-data-1.0"
53
54
56#define LOC_EPP NS_EPP " epp-1.0.xsd"
58#define LOC_CONTACT NS_CONTACT " contact-1.6.6.xsd"
60#define LOC_DOMAIN NS_DOMAIN " domain-1.4.5.xsd"
62#define LOC_NSSET NS_NSSET " nsset-1.2.4.xsd"
64#define LOC_KEYSET NS_KEYSET " keyset-1.3.5.xsd"
66#define LOC_FRED NS_FRED " fred-1.5.0.xsd"
68#define LOC_ENUMVAL NS_ENUMVAL " enumval-1.2.0.xsd"
70#define LOC_EXTRAADDR NS_EXTRAADDR " extra-addr-1.0.0.xsd"
72#define LOC_AUCTION NS_AUCTION " auction-1.0.0.xsd"
74#define LOC_CONTACTEXTRADATA NS_CONTACTEXTRADATA " contact-extra-data-1.0.0.xsd"
75
79typedef enum {
85
95valid_status validate_doc(void *pool, xmlSchemaPtr schema, xmlDocPtr doc, qhead *err_list);
96
110char *epp_getSubtree(void *pool, epp_command_data *cdata, const char *xpath_expr, int position);
111
112#endif /* EPP_XMLCOMMON_H */
valid_status
Definition: epp_xmlcommon.h:79
@ VAL_NOT_VALID
Definition: epp_xmlcommon.h:81
@ VAL_ESCHEMA
Definition: epp_xmlcommon.h:82
@ VAL_EINTERNAL
Definition: epp_xmlcommon.h:83
@ VAL_OK
Definition: epp_xmlcommon.h:80
char * epp_getSubtree(void *pool, epp_command_data *cdata, const char *xpath_expr, int position)
Definition: epp_xmlcommon.c:169
valid_status validate_doc(void *pool, xmlSchemaPtr schema, xmlDocPtr doc, qhead *err_list)
Definition: epp_xmlcommon.c:136
Definition: epp_common.h:932
Definition: epp_common.h:317