fred-mod-eppd-2.20.2
epp_gen.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2018 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  */
24 #ifndef EPP_GEN_H
25 #define EPP_GEN_H
26 
27 #include "epp_common.h"
28 
32 #define XSI "http://www.w3.org/2001/XMLSchema-instance"
33 
37 typedef enum {
42  /*
43  * following errors may appear only if response validation is turned on
44  */
49 } gen_status;
50 
62  void *pool,
63  const char *svid,
64  const char *date,
65  const eppd_server_xml_conf *xml_schema,
66  char **greeting);
67 
84  epp_context *epp_ctx, int validate, void *schema, epp_lang lang, epp_command_data *cdata,
85  char **response, qhead *valerr);
86 
93 #define epp_gen_dummy_response(p_epp_ctx, p_cdata, pp_response) \
94  epp_gen_response(p_epp_ctx, 0, NULL, LANG_EN, p_cdata, pp_response, NULL)
95 
96 #endif /* EPP_GEN_H */
97 
98 /* vim: set ts=4 sw=4: */
epp_getSubtree
char * epp_getSubtree(void *pool, epp_command_data *cdata, const char *xpath_expr, int position)
Get subtree of XML document based on xpath expression.
Definition: epp_xmlcommon.c:169
epps_poll_req
Poll request parameters.
Definition: epp_common.h:650
pt_delete_keyset
@ pt_delete_keyset
KeySet was deleted because not used.
Definition: epp_common.h:517
pt_impvalidation
@ pt_impvalidation
Domain validation will expire soon.
Definition: epp_common.h:522
epps_info_domain::handle
char * handle
FQDN of wanted domain (output).
Definition: epp_common.h:593
pt_transfer_contact
@ pt_transfer_contact
Contact was transferred.
Definition: epp_common.h:512
epp_ns::name
char * name
fqdn of nameserver.
Definition: epp_common.h:422
pt_update_domain
@ pt_update_domain
Domain changed.
Definition: epp_common.h:529
NS_EXTRAADDR
#define NS_EXTRAADDR
Our custom namespace used for extra contact address extension.
Definition: epp_xmlcommon.h:47
XSI
#define XSI
Namespace used for specifing location of a schema in xml document.
Definition: epp_gen.h:32
epps_info_domain::upID
char * upID
ID of last updater.
Definition: epp_common.h:605
epp_ext_item
Definition: epp_common.h:500
epps_info_contact::trDate
char * trDate
Last transfered.
Definition: epp_common.h:579
gen_status
gen_status
XML generator status values.
Definition: epp_gen.h:37
epps_info_keyset::roid
char * roid
ROID of object.
Definition: epp_common.h:636
epps_create_keyset::id
char * id
Id of wanted keyset (input).
Definition: epp_common.h:777
epps_list
Parameters of obsolete command 'list' and getResults command.
Definition: epp_common.h:884
epps_renew::exDate
char * exDate
New expiration date.
Definition: epp_common.h:798
epps_info_domain::crID
char * crID
ID of creator.
Definition: epp_common.h:602
epps_info_domain::tmpcontact
qhead tmpcontact
Temporary contact used for migration.
Definition: epp_common.h:597
epp_postalInfo::sp
char * sp
State or province.
Definition: epp_common.h:364
epps_poll_req::qdate
char * qdate
Date of message submission.
Definition: epp_common.h:654
LOC_ENUMVAL
#define LOC_ENUMVAL
Namespace + location of enumval xml schema.
Definition: epp_xmlcommon.h:63
epps_info_keyset::keys
qhead keys
List of DNS Key records.
Definition: epp_common.h:645
GEN_EBUILD
@ GEN_EBUILD
Error when building xml document.
Definition: epp_gen.h:41
epps_check::ids
qhead ids
IDs of checked objects.
Definition: epp_common.h:559
ident_ICO
@ ident_ICO
ICO.
Definition: epp_common.h:442
epps_create_domain::crDate
char * crDate
Creation date of domain.
Definition: epp_common.h:759
epps_info_contact::roid
char * roid
ROID of object.
Definition: epp_common.h:568
epp_command_data::noresdata
short noresdata
True if there should be no resdata section or msgQ section.
Definition: epp_common.h:921
pt_validation
@ pt_validation
Domain validation expired.
Definition: epp_common.h:523
epp_postalInfo::name
char * name
Name.
Definition: epp_common.h:360
GEN_EINTERNAL
@ GEN_EINTERNAL
Malloc failure during response validation.
Definition: epp_gen.h:46
epps_poll_req::msg
union epps_poll_req::@2 msg
Message data.
epps_renew
Renew domain parameters.
Definition: epp_common.h:791
NS_NSSET
#define NS_NSSET
Our custom namespace used for nsset object.
Definition: epp_xmlcommon.h:39
epp_command_data::errors
qhead errors
List of validation errors or errors from central repository.
Definition: epp_common.h:923
epps_info_contact
Info contact parameters.
Definition: epp_common.h:564
epps_info_keyset::status
qhead status
Keyset's status.
Definition: epp_common.h:637
WRITE_STRING
#define WRITE_STRING(writer, err_handler, str)
Wrapper around libxml's xmlTestWriterWriteString() function.
Definition: epp_gen.c:82
gen_poll_message
static char gen_poll_message(xmlTextWriterPtr writer, epps_poll_req *msgdata, const eppd_server_xml_conf *xml_schema)
This is assistant function for generating poll message.
Definition: epp_gen.c:626
epps_info_domain::admin
qhead admin
Admin contact for domain.
Definition: epp_common.h:598
epp_command_data::msg
char * msg
Text message coresponding to return code.
Definition: epp_common.h:914
gen_info_domain
static char gen_info_domain(xmlTextWriterPtr writer, epps_info_domain *info_domain)
This is assistant function for generating info domain <resData> xml subtree.
Definition: epp_gen.c:446
epps_poll_req::rfi
struct epps_poll_req::@2::@7 rfi
Request fee info structure.
epp_ext_item::ext_mailing_addr
epp_ext_mailingAddr ext_mailing_addr
Extensions for mailing contact addresses.
Definition: epp_common.h:506
epps_create_nsset
Create nsset parameters.
Definition: epp_common.h:764
epps_info::count
unsigned int count
Count of results.
Definition: epp_common.h:897
pt_delete_nsset
@ pt_delete_nsset
Nsset was deleted because not used.
Definition: epp_common.h:515
epps_list::handles
qhead handles
List of handles.
Definition: epp_common.h:886
q_foreach
#define q_foreach(_qhead)
Iterate through items in a list.
Definition: epp_common.h:328
epps_info_keyset::trDate
char * trDate
Last transfered.
Definition: epp_common.h:643
eppd_server_xml_conf
Configuration of entities enabled in xml schemas.
Definition: epp_common.h:408
epps_poll_req::upn
struct epps_poll_req::@2::@10 upn
Update nsset info.
epp_ns
Nameserver has a name and possibly more than one ip address.
Definition: epp_common.h:420
epp_gen_response
gen_status epp_gen_response(epp_context *epp_ctx, int validate, void *schema, epp_lang lang, epp_command_data *cdata, char **response, qhead *valerr)
Generate command response in XML format.
Definition: epp_gen.c:1001
VAL_EINTERNAL
@ VAL_EINTERNAL
Internal error (malloc failed).
Definition: epp_xmlcommon.h:74
epp_error::reason
char * reason
Human readable reason of error.
Definition: epp_common.h:221
LOC_DOMAIN
#define LOC_DOMAIN
Namespace + location of domain xml schema.
Definition: epp_xmlcommon.h:55
epp_strdup
char * epp_strdup(void *pool, const char *str)
Duplicate string from argument, the memory will be allocated from memory pool.
Definition: mod_eppd.c:404
epps_create_nsset::crDate
char * crDate
Creation date of nsset.
Definition: epp_common.h:770
epps_create_contact
Create contact parameters.
Definition: epp_common.h:730
epps_info_nsset::ns
qhead ns
List of nameservers.
Definition: epp_common.h:626
epps_info_domain::clID
char * clID
Owner's ID.
Definition: epp_common.h:601
epp_error::position
int position
Position of faulty element if it is part of list.
Definition: epp_common.h:223
epps_info_nsset::level
int level
Report level.
Definition: epp_common.h:628
epp_mailingAddr::City
char * City
city
Definition: epp_common.h:474
ident_BIRTHDAY
@ ident_BIRTHDAY
Date of birth.
Definition: epp_common.h:443
epp_gen_greeting
gen_status epp_gen_greeting(void *pool, const char *svid, const char *date, const eppd_server_xml_conf *xml_schema, char **greeting)
Routine makes up epp greeting frame.
Definition: epp_gen.c:112
epp_gen.h
epps_info_keyset::tech
qhead tech
List of technical contacts for keyset.
Definition: epp_common.h:646
epps_poll_req::msgid
char * msgid
ID of next message in a queue.
Definition: epp_common.h:653
epps_info_domain::crDate
char * crDate
Creation date.
Definition: epp_common.h:603
END_ELEMENT
#define END_ELEMENT(writer, err_handler)
Wrapper around libxml's xmlTestWriterEndElement() function.
Definition: epp_gen.c:101
epps_info
All Info functions, which accept single key on input and count on output (domainsByNsset,...
Definition: epp_common.h:894
GEN_ESCHEMA
@ GEN_ESCHEMA
Error when parsing xml schema used for validation.
Definition: epp_gen.h:47
epp_avail
Structure holding answer to EPP check command.
Definition: epp_common.h:449
epp_postalInfo::org
char * org
Organization.
Definition: epp_common.h:361
epps_info_domain::trDate
char * trDate
Last transfered.
Definition: epp_common.h:607
epps_poll_ack::count
unsigned long long count
Count of waiting messages.
Definition: epp_common.h:725
epps_renew::name
char * name
Name of renewed domain.
Definition: epp_common.h:793
epps_create_domain::name
char * name
FQDN of wanted domain (input).
Definition: epp_common.h:750
epps_check::avails
qhead avails
Booleans + reasons.
Definition: epp_common.h:560
epps_info_contact::fax
char * fax
Fax number.
Definition: epp_common.h:572
epp_zonecredit::zone
char * zone
True if object is available, false otherwise.
Definition: epp_common.h:458
epps_info_keyset::crDate
char * crDate
Creation date.
Definition: epp_common.h:640
epps_info_contact::handle
char * handle
Id of wanted contact (output).
Definition: epp_common.h:567
epps_info_domain::keyset
char * keyset
Keyset for domain.
Definition: epp_common.h:600
LOC_EXTRAADDR
#define LOC_EXTRAADDR
Namespace + location of extraaddr xml schema.
Definition: epp_xmlcommon.h:65
epp_context
EPP context is a group of variables used often together.
Definition: epp_common.h:45
epp_dnskey::public_key
char * public_key
base64 encoded public key
Definition: epp_common.h:432
epps_create_contact::crDate
char * crDate
Creation date of contact.
Definition: epp_common.h:743
epps_info_contact::pi
epp_postalInfo pi
Postal info.
Definition: epp_common.h:570
NS_DOMAIN
#define NS_DOMAIN
Our custom namespace used for domain object.
Definition: epp_xmlcommon.h:37
epps_info_keyset::crID
char * crID
ID of creator.
Definition: epp_common.h:639
NS_KEYSET
#define NS_KEYSET
Our custom namespace used for keyset object.
Definition: epp_xmlcommon.h:41
epp_dnskey::alg
unsigned char alg
algorithm type
Definition: epp_common.h:431
LOC_KEYSET
#define LOC_KEYSET
Namespace + location of keyset xml schema.
Definition: epp_xmlcommon.h:59
epp_lang
epp_lang
definition of languages (english is default)
Definition: epp_common.h:145
epps_poll_req::type
epp_pollType type
Type of poll message.
Definition: epp_common.h:655
epps_info_contact::discl
epp_discl discl
Disclose information section.
Definition: epp_common.h:581
q_reset
#define q_reset(_qhead)
Reset current item to the first one.
Definition: epp_common.h:323
epps_poll_req::tc
struct epps_poll_req::@2::@5 tc
Structure with results of technical tests.
epp_command_data::xml_schema
eppd_server_xml_conf xml_schema
Entities enabled in xml schemas.
Definition: epp_common.h:930
epp_command_data::clTRID
char * clTRID
client's TRID
Definition: epp_common.h:911
epp_command_data::data
void * data
Command data (Input + output parameters for all possible epp commands).
Definition: epp_common.h:935
epp_ext_item::extType
epp_ext_type extType
Identifier of extension.
Definition: epp_common.h:502
epps_create_domain
Create domain parameters.
Definition: epp_common.h:748
epp_dnskey::flags
unsigned short flags
key properties.
Definition: epp_common.h:429
epps_info_contact::extensions
qhead extensions
List of extensions.
Definition: epp_common.h:586
epps_info_contact::email
char * email
Email address.
Definition: epp_common.h:573
NS_ENUMVAL
#define NS_ENUMVAL
Our custom namespace used for enum validation extension.
Definition: epp_xmlcommon.h:45
pt_lowcredit
@ pt_lowcredit
Credit of registrator is low.
Definition: epp_common.h:526
epp_mailingAddr::Street2
char * Street2
street - line #2
Definition: epp_common.h:472
epps_info_contact::ident
char * ident
Contact's unique ident.
Definition: epp_common.h:583
epps_info_contact::crDate
char * crDate
Creation date.
Definition: epp_common.h:576
epp_command_data::svTRID
char * svTRID
server's TRID
Definition: epp_common.h:912
epps_info_contact::clID
char * clID
Owner's ID.
Definition: epp_common.h:574
epps_info_domain::upDate
char * upDate
Last updated.
Definition: epp_common.h:606
VAL_NOT_VALID
@ VAL_NOT_VALID
Document does not validate.
Definition: epp_xmlcommon.h:72
pt_impexpiration
@ pt_impexpiration
Domain will expire in near future.
Definition: epp_common.h:520
epps_poll_ack
Poll acknoledge parameters.
Definition: epp_common.h:722
epps_info_nsset::trDate
char * trDate
Last transfered.
Definition: epp_common.h:624
pt_transfer_domain
@ pt_transfer_domain
Domain was transferred.
Definition: epp_common.h:519
get_bad_xml
static char * get_bad_xml(void *pool, epp_command_data *cdata, epp_error *e)
Function gets element (including its content) from input XML document which caused an error.
Definition: epp_gen.c:889
epp_testResult
Structure containing result of one technical test.
Definition: epp_common.h:535
GEN_NOT_XML
@ GEN_NOT_XML
Something what is not xml was generated.
Definition: epp_gen.h:45
epps_info_domain
Info domain parameters.
Definition: epp_common.h:590
epp_mailingAddr::Street1
char * Street1
street - line #1
Definition: epp_common.h:471
epps_info_contact::notify_email
char * notify_email
Notification email.
Definition: epp_common.h:585
valid_status
valid_status
Enumaration of statuses returned by validator.
Definition: epp_xmlcommon.h:70
epps_info_domain::registrant
char * registrant
Registrant of domain.
Definition: epp_common.h:596
epps_info_contact::upID
char * upID
ID of last updater.
Definition: epp_common.h:577
epp_error::spec
epp_errorspec spec
Specification of surrounding XML tags.
Definition: epp_common.h:212
epps_info_contact::crID
char * crID
ID of creator.
Definition: epp_common.h:575
epp_context::pool
void * pool
Pool for allocations.
Definition: epp_common.h:47
epp_mailingAddr::StateOrProvince
char * StateOrProvince
state or province
Definition: epp_common.h:475
epps_info_nsset::authInfo
char * authInfo
Authorization information.
Definition: epp_common.h:625
epps_info_nsset::upID
char * upID
ID of last updater.
Definition: epp_common.h:622
epp_controlled_privacy_data_mask
Definition: epp_common.h:392
WRITE_ATTRIBUTE
#define WRITE_ATTRIBUTE(writer, err_handler, attr_name, attr_value)
Wrapper around libxml's xmlTestWriterWriteAttribute() function.
Definition: epp_gen.c:91
ident_PASSPORT
@ ident_PASSPORT
Number of passport.
Definition: epp_common.h:440
gen_info_keyset
static char gen_info_keyset(xmlTextWriterPtr writer, epps_info_keyset *info_keyset)
This is assistant function for generating info keyset <resData> xml subtree.
Definition: epp_gen.c:562
pt_update_keyset
@ pt_update_keyset
KeySet changed.
Definition: epp_common.h:531
epps_create_nsset::id
char * id
Id of wanted nsset (input).
Definition: epp_common.h:766
pt_outzone
@ pt_outzone
Domain was outaged from zone.
Definition: epp_common.h:524
epps_info_domain::status
qhead status
Domain's status.
Definition: epp_common.h:595
epps_create_keyset::crDate
char * crDate
Creation date of keyset.
Definition: epp_common.h:781
pt_update_nsset
@ pt_update_nsset
NSSet changed.
Definition: epp_common.h:530
pt_expiration
@ pt_expiration
Domain expired.
Definition: epp_common.h:521
epps_poll_req::lc
struct epps_poll_req::@2::@6 lc
Low credit structure.
epps_poll_req::count
unsigned long long count
Count of waiting messages.
Definition: epp_common.h:652
LOC_EPP
#define LOC_EPP
Namespace + location of epp xml schema.
Definition: epp_xmlcommon.h:51
LOC_CONTACT
#define LOC_CONTACT
Namespace + location of contact xml schema.
Definition: epp_xmlcommon.h:53
qhead::body
qitem * body
Items in a queue.
Definition: epp_common.h:312
epp_zonecredit::credit
char * credit
Credit.
Definition: epp_common.h:459
epp_gen_response
gen_status epp_gen_response(epp_context *epp_ctx, int validate, void *schema, epp_lang lang, epp_command_data *cdata, char **response, qhead *valerr)
Generate command response in XML format.
Definition: epp_gen.c:1001
epp_xmlcommon.h
epps_info_domain::extensions
qhead extensions
List of domain extensions.
Definition: epp_common.h:609
epp_avail::avail
int avail
True if object is available, false otherwise.
Definition: epp_common.h:451
gen_info_nsset
static char gen_info_nsset(xmlTextWriterPtr writer, epps_info_nsset *info_nsset)
This is assistant function for generating info nsset <resData> xml subtree.
Definition: epp_gen.c:498
epps_info_domain::nsset
char * nsset
Nsset of domain.
Definition: epp_common.h:599
epp_status
Structure for holding status' names and values.
Definition: epp_common.h:349
epps_create_keyset
Create keyset parameters.
Definition: epp_common.h:775
epps_poll_req::hd
struct epps_poll_req::@2::@4 hd
Handle, date structure.
epps_info_domain::roid
char * roid
ROID of object.
Definition: epp_common.h:594
epp_dnskey
DNS Key record - http://rfc-ref.org/RFC-TEXTS/4034/chapter2.html.
Definition: epp_common.h:427
epp_postalInfo::pc
char * pc
Postal code.
Definition: epp_common.h:365
epp_status::text
char * text
Status value.
Definition: epp_common.h:352
epps_poll_req::hdt
struct epps_poll_req::@2::@3 hdt
Handle, date, registrator structure.
epp_postalInfo::city
char * city
City.
Definition: epp_common.h:363
epps_info_keyset::authInfo
char * authInfo
Authorization information.
Definition: epp_common.h:644
epp_ns::addr
qhead addr
List of ip addresses.
Definition: epp_common.h:423
VAL_ESCHEMA
@ VAL_ESCHEMA
Error when loading or parsing schema.
Definition: epp_xmlcommon.h:73
q_next
#define q_next(_qhead)
Shift to next item in a queue.
Definition: epp_common.h:319
epps_info_contact::vat
char * vat
VAT tax ID.
Definition: epp_common.h:582
pt_transfer_nsset
@ pt_transfer_nsset
Nsset was transferred.
Definition: epp_common.h:514
epps_create_contact::id
char * id
Id of wanted contact (input).
Definition: epp_common.h:732
epp_mailingAddr::Street3
char * Street3
street - line #3
Definition: epp_common.h:473
ident_OP
@ ident_OP
Number of ID card.
Definition: epp_common.h:439
epps_info_nsset::crID
char * crID
ID of creator.
Definition: epp_common.h:620
epps_info_keyset
Info keyset parameters.
Definition: epp_common.h:632
epp_postalInfo::cc
char * cc
Country code.
Definition: epp_common.h:366
epp_error::value
char * value
Client provided input which caused the error.
Definition: epp_common.h:206
epps_info_nsset::status
qhead status
Nsset's status.
Definition: epp_common.h:618
epp_status::value
char * value
Status name.
Definition: epp_common.h:351
epps_poll_req::upc
struct epps_poll_req::@2::@8 upc
Update contact info.
LOC_FRED
#define LOC_FRED
Namespace + location of fred xml schema.
Definition: epp_xmlcommon.h:61
pt_transfer_keyset
@ pt_transfer_keyset
KeySet was transferred.
Definition: epp_common.h:516
GEN_EWRITER
@ GEN_EWRITER
Could not create xml writer.
Definition: epp_gen.h:40
epps_info_keyset::upDate
char * upDate
Last updated.
Definition: epp_common.h:642
qhead
Queue structure used on countless places throughout the program.
Definition: epp_common.h:309
GEN_EBUFFER
@ GEN_EBUFFER
Could not create xml buffer.
Definition: epp_gen.h:39
epp_command_data::rc
int rc
EPP return code defined in standard.
Definition: epp_common.h:913
NS_CONTACT
#define NS_CONTACT
Our custom namespace used for contact object.
Definition: epp_xmlcommon.h:35
epp_ext_item::ext_enum
epp_ext_enum ext_enum
Extensions for ENUM.
Definition: epp_common.h:505
LOC_NSSET
#define LOC_NSSET
Namespace + location of nsset xml schema.
Definition: epp_xmlcommon.h:57
epp_error
The struct represents one epp error in ExtValue element.
Definition: epp_common.h:203
GEN_NOT_VALID
@ GEN_NOT_VALID
Response does not validate.
Definition: epp_gen.h:48
epp_zonecredit
Structure holding answer to EPP creditInfo command.
Definition: epp_common.h:456
epps_poll_req::upd
struct epps_poll_req::@2::@9 upd
Update domain info.
ident_MPSV
@ ident_MPSV
Number assigned by "ministry of work and ...".
Definition: epp_common.h:441
epps_info_domain::authInfo
char * authInfo
Authorization information.
Definition: epp_common.h:608
pt_delete_contact
@ pt_delete_contact
Contact was deleted because not used.
Definition: epp_common.h:513
START_ELEMENT
#define START_ELEMENT(writer, err_handler, elem)
Wrapper around libxml's xmlTestWriterStartElement() function.
Definition: epp_gen.c:65
epps_info_contact::identtype
epp_identType identtype
Type of unique ident.
Definition: epp_common.h:584
epps_info_keyset::upID
char * upID
ID of last updater.
Definition: epp_common.h:641
epps_poll_req::upk
struct epps_poll_req::@2::@11 upk
Update nsset info.
epps_info_nsset::roid
char * roid
ROID of object.
Definition: epp_common.h:617
NS_EPP
#define NS_EPP
Standard EPP xml namespace.
Definition: epp_xmlcommon.h:33
pt_request_fee_info
@ pt_request_fee_info
Requests price/count info.
Definition: epp_common.h:527
epps_check
Check contact, domain and nsset parameters.
Definition: epp_common.h:557
validate_doc
valid_status validate_doc(void *pool, xmlSchemaPtr schema, xmlDocPtr doc, qhead *err_list)
Function for validating xml document.
Definition: epp_xmlcommon.c:136
epps_info_domain::exDate
char * exDate
Expiration date.
Definition: epp_common.h:604
epps_info_keyset::handle
char * handle
Id of wanted keyset (output).
Definition: epp_common.h:635
epps_creditInfo
CreditInfo parameters.
Definition: epp_common.h:870
epp_ext_enum::publish
int publish
Flag determining if this domain can be published in the ENUM dictionary.
Definition: epp_common.h:465
eppd_server_xml_conf::has_contact_mailing_address_extension
int has_contact_mailing_address_extension
Contacts feature mailing address extension.
Definition: epp_common.h:410
epps_poll_ack::newmsgid
char * newmsgid
ID of first message in a queue.
Definition: epp_common.h:726
epps_info_keyset::clID
char * clID
Owner's ID.
Definition: epp_common.h:638
epps_info_contact::status
qhead status
Contact's status.
Definition: epp_common.h:569
VAL_OK
@ VAL_OK
Document is valid.
Definition: epp_xmlcommon.h:71
epp_mailingAddr::CountryCode
char * CountryCode
country code - 2 char ISO country code
Definition: epp_common.h:477
GEN_OK
@ GEN_OK
No error appeared, everything was allright.
Definition: epp_gen.h:38
epps_info_nsset::clID
char * clID
Owner's ID.
Definition: epp_common.h:619
epp_gen_greeting
gen_status epp_gen_greeting(void *pool, const char *svid, const char *date, const eppd_server_xml_conf *xml_schema, char **greeting)
Routine makes up epp greeting frame.
Definition: epp_gen.c:112
epp_avail::reason
char * reason
If object is not available, here is the reason.
Definition: epp_common.h:452
epp_command_data
This structure is central to the concept of the whole module.
Definition: epp_common.h:909
pt_update_contact
@ pt_update_contact
Contact changed.
Definition: epp_common.h:528
epp_postalInfo::streets
qhead streets
3x street.
Definition: epp_common.h:362
epp_ext_enum::ext_enumval
char * ext_enumval
Domain validation.
Definition: epp_common.h:464
NS_FRED
#define NS_FRED
Our custom namespace used for extensions definition.
Definition: epp_xmlcommon.h:43
epps_info_nsset
Info nsset parameters.
Definition: epp_common.h:613
epp_command_data::type
epp_command_type type
Identification of epp command.
Definition: epp_common.h:929
q_content
#define q_content(_qhead)
Get content of current item.
Definition: epp_common.h:321
WRITE_ELEMENT
#define WRITE_ELEMENT(writer, err_handler, elem, str)
Wrapper around libxml's xmlTestWriterWriteElement() function.
Definition: epp_gen.c:73
epp_common.h
epps_info_contact::authInfo
char * authInfo
Authorization information.
Definition: epp_common.h:580
epps_create_domain::exDate
char * exDate
Expiration date of domain.
Definition: epp_common.h:760
epps_info_contact::upDate
char * upDate
Last updated.
Definition: epp_common.h:578
epp_dnskey::protocol
unsigned char protocol
= 3
Definition: epp_common.h:430
epps_info_contact::voice
char * voice
Telephone number.
Definition: epp_common.h:571
epps_info_nsset::handle
char * handle
Id of wanted nsset (output).
Definition: epp_common.h:616
epps_info_nsset::crDate
char * crDate
Creation date.
Definition: epp_common.h:621
pt_techcheck
@ pt_techcheck
Technical check results.
Definition: epp_common.h:518
epp_ext_item::ext
union epp_ext_item::@1 ext
Extension.
pt_delete_domain
@ pt_delete_domain
Domain was deleted.
Definition: epp_common.h:525
epps_creditInfo::zonecredits
qhead zonecredits
List of credits for individual zones.
Definition: epp_common.h:872
epps_info_nsset::tech
qhead tech
List of technical contacts for nsset.
Definition: epp_common.h:627
gen_info_contact
static char gen_info_contact(xmlTextWriterPtr writer, epps_info_contact *info_contact, const eppd_server_xml_conf *xml_schema)
This is assistant function for generating info contact <resData> xml subtree.
Definition: epp_gen.c:238
epp_mailingAddr::PostalCode
char * PostalCode
postal code
Definition: epp_common.h:476
epps_info_nsset::upDate
char * upDate
Last updated.
Definition: epp_common.h:623