56 } epp_DataCollectionPolicyAccess;
100 EPP_TRANSFER_CONTACT,
106 EPP_SENDAUTHINFO_CONTACT,
107 EPP_SENDAUTHINFO_DOMAIN,
108 EPP_SENDAUTHINFO_NSSET,
109 EPP_SENDAUTHINFO_KEYSET,
113 EPP_INFO_LIST_CONTACTS,
114 EPP_INFO_LIST_DOMAINS,
115 EPP_INFO_LIST_NSSETS,
116 EPP_INFO_LIST_KEYSETS,
117 EPP_INFO_DOMAINS_BY_NSSET,
118 EPP_INFO_DOMAINS_BY_KEYSET,
119 EPP_INFO_DOMAINS_BY_CONTACT,
120 EPP_INFO_NSSETS_BY_CONTACT,
121 EPP_INFO_NSSETS_BY_NS,
122 EPP_INFO_KEYSETS_BY_CONTACT,
158 errspec_poll_msgID = 0,
159 errspec_contact_handle,
161 errspec_nsset_handle,
163 errspec_nsset_dns_name,
164 errspec_nsset_dns_addr,
165 errspec_nsset_dns_name_add,
166 errspec_nsset_dns_name_rem,
167 errspec_nsset_tech_add,
168 errspec_nsset_tech_rem,
169 errspec_keyset_handle,
171 errspec_keyset_dnskey,
172 errspec_keyset_dnskey_add,
173 errspec_keyset_dnskey_rem,
174 errspec_keyset_tech_add,
175 errspec_keyset_tech_rem,
176 errspec_registrar_author,
178 errspec_domain_registrant,
179 errspec_domain_nsset,
180 errspec_domain_keyset,
181 errspec_domain_period,
182 errspec_domain_admin,
183 errspec_domain_tmpcontact,
184 errspec_domain_ext_valDate,
185 errspec_domain_ext_valDate_missing,
186 errspec_domain_curExpDate,
187 errspec_domain_admin_add,
188 errspec_domain_admin_rem,
191 errspec_poll_msgID_missing,
192 errspec_contact_identtype_missing,
234 incorrect_epp_action_type = 0,
237 ClientGreeting = 105,
238 PollAcknowledgement = 120,
245 ContactTransfer = 205,
257 DomainTransfer = 505,
265 KeysetTransfer = 605,
266 UnknownAction = 1000,
273 ContactSendAuthInfo = 1101,
274 NSSetSendAuthInfo = 1102,
275 DomainSendAuthInfo = 1103,
276 KeySetSendAuthInfo = 1106,
277 InfoListContacts = 1200,
278 InfoListDomains = 1201,
279 InfoListNssets = 1202,
280 InfoListKeysets = 1203,
281 InfoDomainsByNsset = 1204,
282 InfoDomainsByKeyset = 1205,
283 InfoDomainsByContact = 1206,
284 InfoNssetsByContact = 1207,
285 InfoNssetsByNs = 1208,
286 InfoKeysetsByContact = 1209,
287 InfoGetResults = 1210
317 #define q_length(_qhead) ((_qhead).count) 319 #define q_next(_qhead) ((_qhead)->cur = ((_qhead)->cur) ? (_qhead)->cur->next : NULL) 321 #define q_content(_qhead) ((_qhead)->cur->content) 323 #define q_reset(_qhead) ((_qhead)->cur = (_qhead)->body) 328 #define q_foreach(_qhead) \ 329 for ((_qhead)->cur = (_qhead)->body; (_qhead)->cur != NULL; (_qhead)->cur = (_qhead)->cur->next) 338 int q_add(
void *pool,
qhead *head,
void *data);
373 unused_privacy_policy
381 epp_PrivacyPolicy name;
382 epp_PrivacyPolicy organization;
383 epp_PrivacyPolicy address;
384 epp_PrivacyPolicy telephone;
385 epp_PrivacyPolicy fax;
386 epp_PrivacyPolicy email;
387 epp_PrivacyPolicy vat;
388 epp_PrivacyPolicy ident;
389 epp_PrivacyPolicy notify_email;
395 unsigned organization:1;
397 unsigned telephone:1;
402 unsigned notify_email:1;
411 epp_DataCollectionPolicyAccess data_collection_policy_access;
446 typedef enum { TIMEUNIT_MONTH, TIMEUNIT_YEAR } epp_timeunit;
480 typedef enum { mailing_addr_info, mailing_addr_set, mailing_addr_remove } epp_mailingAddrCommand;
490 epp_mailingAddrCommand command;
686 unsigned long long total_free_count;
687 unsigned long long used_count;
693 unsigned long long pollid;
700 unsigned long long pollid;
707 unsigned long long pollid;
714 unsigned long long pollid;
985 char *
epp_strdup(
void *pool,
const char *str);
999 char *
epp_strcat(
void *pool,
const char *str1,
const char *str2);
1008 char *
epp_sprintf(
void *pool,
const char *fmt, ...);
qhead tech
List of technical contacts for keyset.
Definition: epp_common.h:780
unsigned char alg
algorithm type
Definition: epp_common.h:431
Queue item type.
Definition: epp_common.h:298
char * credit
Credit.
Definition: epp_common.h:459
Definition: epp_common.h:488
qhead admin
Admin contact for domain.
Definition: epp_common.h:752
char * Street2
street - line #2
Definition: epp_common.h:472
char * xml_in
XML as it is received from client.
Definition: epp_common.h:915
char * crDate
Creation date of nsset.
Definition: epp_common.h:770
char * authInfo
Authorization information.
Definition: epp_common.h:644
ICO.
Definition: epp_common.h:442
char * authInfo
Authorization information.
Definition: epp_common.h:757
Definition: epp_common.h:392
The struct represents one epp error in ExtValue element.
Definition: epp_common.h:203
char * clID
Owner's ID.
Definition: epp_common.h:619
unsigned int count
Count of results.
Definition: epp_common.h:897
char * zone
True if object is available, false otherwise.
Definition: epp_common.h:458
Contact changed.
Definition: epp_common.h:528
Technical check results.
Definition: epp_common.h:518
char * msg
Text message coresponding to return code.
Definition: epp_common.h:914
char * city
City.
Definition: epp_common.h:363
Number of passport.
Definition: epp_common.h:440
char * reason
If object is not available, here is the reason.
Definition: epp_common.h:452
qhead extensions
List of domain extensions.
Definition: epp_common.h:609
int period
Renew period.
Definition: epp_common.h:795
char * exDate
Expiration date of domain.
Definition: epp_common.h:760
epp_ext_mailingAddr ext_mailing_addr
Extensions for mailing contact addresses.
Definition: epp_common.h:506
char * id
Id of wanted keyset (input).
Definition: epp_common.h:777
Domain changed.
Definition: epp_common.h:529
Delete parameters.
Definition: epp_common.h:785
qitem * cur
Currently selected item.
Definition: epp_common.h:313
qhead rem_tech
Technical contacts to be removed.
Definition: epp_common.h:850
qhead extensions
List of domain extensions.
Definition: epp_common.h:797
Errors which are not serious but should be logged.
Definition: epp_common.h:35
qhead status
Keyset's status.
Definition: epp_common.h:637
Definition: epp_common.h:500
Info nsset parameters.
Definition: epp_common.h:613
char * nsset
Nsset of domain.
Definition: epp_common.h:753
qhead tech
List of technical contacts for nsset.
Definition: epp_common.h:627
char * roid
ROID of object.
Definition: epp_common.h:636
Error, the module is not in operational state.
Definition: epp_common.h:33
char * curExDate
Current expiration date.
Definition: epp_common.h:794
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
int publish
Flag determining if this domain can be published in the ENUM dictionary.
Definition: epp_common.h:465
char * svTRID
server's TRID
Definition: epp_common.h:912
qhead zonecredits
List of credits for individual zones.
Definition: epp_common.h:872
qhead addr
List of ip addresses.
Definition: epp_common.h:423
Domain expired.
Definition: epp_common.h:521
qhead handles
List of handles.
Definition: epp_common.h:886
char * id
Id of wanted nsset (input).
Definition: epp_common.h:766
char * registrant
Registrant of domain.
Definition: epp_common.h:596
This is the default log level.
Definition: epp_common.h:36
char * name
FQDN of wanted domain (input).
Definition: epp_common.h:822
char * nsset
Nsset of domain.
Definition: epp_common.h:827
Credit of registrator is low.
Definition: epp_common.h:526
void * conn
Connection handler.
Definition: epp_common.h:48
unsigned long long count
Count of waiting messages.
Definition: epp_common.h:652
Poll acknoledge parameters.
Definition: epp_common.h:722
qhead tech
List of technical contacts for keyset.
Definition: epp_common.h:646
unsigned long long count
Count of waiting messages.
Definition: epp_common.h:725
char * upDate
Last updated.
Definition: epp_common.h:623
char * value
Status name.
Definition: epp_common.h:351
Structure for holding status' names and values.
Definition: epp_common.h:349
char * ext_enumval
Domain validation.
Definition: epp_common.h:464
epp_ext_type
Enumeration of implemented extensions.
Definition: epp_common.h:129
char * name
Name.
Definition: epp_common.h:360
int position
Position of faulty element if it is part of list.
Definition: epp_common.h:223
This structure is central to the concept of the whole module.
Definition: epp_common.h:909
qhead rem_admin
Admin contacts to be removed.
Definition: epp_common.h:825
Domain was deleted.
Definition: epp_common.h:525
char * exDate
Expiration date.
Definition: epp_common.h:604
char * crDate
Creation date.
Definition: epp_common.h:640
Structure holding answer to EPP check command.
Definition: epp_common.h:449
Error caused usually by client, module is operational.
Definition: epp_common.h:34
char * trDate
Last transfered.
Definition: epp_common.h:624
Domain validation will expire soon.
Definition: epp_common.h:522
Info keyset parameters.
Definition: epp_common.h:632
char * upDate
Last updated.
Definition: epp_common.h:642
char * authInfo
Authorization information.
Definition: epp_common.h:860
epp_action_type
EPP action types for now only a copy of current enum_action.
Definition: epp_common.h:232
qhead exturi
currently not used
Definition: epp_common.h:552
epp_timeunit unit
Registration period's unit.
Definition: epp_common.h:756
Structure holding answer to EPP creditInfo command.
Definition: epp_common.h:456
char * authInfo
Authorization information.
Definition: epp_common.h:767
Requests price/count info.
Definition: epp_common.h:527
Create nsset parameters.
Definition: epp_common.h:764
char * handle
Id of wanted nsset (output).
Definition: epp_common.h:616
char * Street3
street - line #3
Definition: epp_common.h:473
Contact was deleted because not used.
Definition: epp_common.h:513
void * xpath_ctx
XPath context.
Definition: epp_common.h:919
qhead keys
List of DNS Key records.
Definition: epp_common.h:645
Domain validation expired.
Definition: epp_common.h:523
Date of birth.
Definition: epp_common.h:443
unsigned short flags
key properties.
Definition: epp_common.h:429
char * upDate
Last updated.
Definition: epp_common.h:606
char * registrant
Registrant of domain.
Definition: epp_common.h:751
epp_identType
Type of identification number used in contact object.
Definition: epp_common.h:436
char * id
Handle of object.
Definition: epp_common.h:866
char * crDate
Creation date.
Definition: epp_common.h:621
char * reason
Human readable reason of error.
Definition: epp_common.h:221
qhead tech
List of technical contacts for nsset.
Definition: epp_common.h:769
char * id
Id of transfered object.
Definition: epp_common.h:859
eppd_server_xml_conf xml_schema
Entities enabled in xml schemas.
Definition: epp_common.h:930
char * id
Id of wanted nsset (input).
Definition: epp_common.h:615
char * PostalCode
postal code
Definition: epp_common.h:476
char * authInfo
Authorization information.
Definition: epp_common.h:608
char * clTRID
client's TRID
Definition: epp_common.h:911
char * msgid
ID of acknoledged message.
Definition: epp_common.h:724
char * epp_strcat(void *pool, const char *str1, const char *str2)
Concatenate two strings in arguments, the memory will be allocated from memory pool.
Definition: mod_eppd.c:422
unsigned lang
Language.
Definition: epp_common.h:553
char * handle
Search key.
Definition: epp_common.h:896
char * keyset
Keyset for domain.
Definition: epp_common.h:600
Nsset was transferred.
Definition: epp_common.h:514
int level
Report level.
Definition: epp_common.h:628
Domain was transferred.
Definition: epp_common.h:519
qhead errors
List of validation errors or errors from central repository.
Definition: epp_common.h:923
char * trDate
Last transfered.
Definition: epp_common.h:607
Test parameters.
Definition: epp_common.h:876
KeySet was transferred.
Definition: epp_common.h:516
KeySet was deleted because not used.
Definition: epp_common.h:517
int level
Report level.
Definition: epp_common.h:771
NSSet changed.
Definition: epp_common.h:530
Number of ID card.
Definition: epp_common.h:439
epp_ext_enum ext_enum
Extensions for ENUM.
Definition: epp_common.h:505
qhead extensions
List of domain extensions.
Definition: epp_common.h:758
Definition: epp_common.h:484
char * id
Id of wanted keyset (input).
Definition: epp_common.h:848
char * cc
Country code.
Definition: epp_common.h:366
char * qdate
Date of message submission.
Definition: epp_common.h:654
KeySet changed.
Definition: epp_common.h:531
char * id
Id of wanted keyset (input).
Definition: epp_common.h:634
qhead ns
List of nameservers.
Definition: epp_common.h:768
char * handle
Id of wanted keyset (output).
Definition: epp_common.h:635
char * id
ID of tested nsset.
Definition: epp_common.h:878
void * epp_calloc(void *pool, unsigned size)
Allocate memory from memory pool and prezero it.
Definition: mod_eppd.c:386
Create domain parameters.
Definition: epp_common.h:748
unsigned char protocol
= 3
Definition: epp_common.h:430
DNS Key record - http://rfc-ref.org/RFC-TEXTS/4034/chapter2.html.
Definition: epp_common.h:427
char * pw
Password.
Definition: epp_common.h:549
Contact was transferred.
Definition: epp_common.h:512
Parameters of obsolete command 'list' and getResults command.
Definition: epp_common.h:884
Login parameters.
Definition: epp_common.h:546
void * pool
Pool for allocations.
Definition: epp_common.h:47
char * id
ID of object to be deleted.
Definition: epp_common.h:787
SendAuthInfo parameters.
Definition: epp_common.h:864
char * roid
ROID of object.
Definition: epp_common.h:594
char * epp_sprintf(void *pool, const char *fmt,...)
Print formatted string.
Definition: mod_eppd.c:439
char * clID
Owner's ID.
Definition: epp_common.h:638
epp_pollType
Type of poll message.
Definition: epp_common.h:511
Structure gathers postal info about contact.
Definition: epp_common.h:358
Update keyset parameters.
Definition: epp_common.h:846
epp_timeunit unit
Registration period's unit.
Definition: epp_common.h:796
char * exDate
New expiration date.
Definition: epp_common.h:798
Configuration of entities enabled in xml schemas.
Definition: epp_common.h:408
qhead ids
IDs of checked objects.
Definition: epp_common.h:559
qhead add_ns
Nameservers to be added.
Definition: epp_common.h:839
char * authInfo
Authorization information.
Definition: epp_common.h:829
char * City
city
Definition: epp_common.h:474
Check contact, domain and nsset parameters.
Definition: epp_common.h:557
qhead names
Fqdns of domains to be tested with nsset.
Definition: epp_common.h:879
epp_ext_type extType
Identifier of extension.
Definition: epp_common.h:502
char * org
Organization.
Definition: epp_common.h:361
EPP context is a group of variables used often together.
Definition: epp_common.h:45
char * crDate
Creation date of domain.
Definition: epp_common.h:759
char * StateOrProvince
state or province
Definition: epp_common.h:475
Update domain parameters.
Definition: epp_common.h:820
void * parsed_doc
Parsed XML document tree.
Definition: epp_common.h:918
char * Street1
street - line #1
Definition: epp_common.h:471
epp_lang
definition of languages (english is default)
Definition: epp_common.h:145
char * crID
ID of creator.
Definition: epp_common.h:602
Disclose information of contact.
Definition: epp_common.h:379
epp_errorspec spec
Specification of surrounding XML tags.
Definition: epp_common.h:212
int level
Report level.
Definition: epp_common.h:842
qhead rem_tmpcontact
Temporary contact used for migration.
Definition: epp_common.h:826
qhead streets
3x street.
Definition: epp_common.h:362
epp_errorspec
In case that central repository finds out that some parameter is bad, there has to be way how to prop...
Definition: epp_common.h:157
qhead add_dnskey
DNSKEYs to be added.
Definition: epp_common.h:851
char * handle
FQDN of wanted domain (output).
Definition: epp_common.h:593
char * CountryCode
country code - 2 char ISO country code
Definition: epp_common.h:477
qhead rem_ns
Nameservers to be removed.
Definition: epp_common.h:840
Number assigned by "ministry of work and ...".
Definition: epp_common.h:441
char * registrant
Registrant of domain.
Definition: epp_common.h:823
qhead add_tech
Technical contacts to be added.
Definition: epp_common.h:837
Renew domain parameters.
Definition: epp_common.h:791
short noresdata
True if there should be no resdata section or msgQ section.
Definition: epp_common.h:921
char * newmsgid
ID of first message in a queue.
Definition: epp_common.h:726
char * sp
State or province.
Definition: epp_common.h:364
epp_command_type
Enumeration of codes of all EPP commands this module is able to handle.
Definition: epp_common.h:62
void * content
Pointer to content of item.
Definition: epp_common.h:301
char * trDate
Last transfered.
Definition: epp_common.h:643
char * clID
Client ID.
Definition: epp_common.h:548
char * pc
Postal code.
Definition: epp_common.h:365
Nsset was deleted because not used.
Definition: epp_common.h:515
char * crDate
Creation date of keyset.
Definition: epp_common.h:781
char * crID
ID of creator.
Definition: epp_common.h:639
Domain was outaged from zone.
Definition: epp_common.h:524
qhead tmpcontact
Temporary contact used for migration.
Definition: epp_common.h:597
char * authInfo
Authorization information.
Definition: epp_common.h:778
char * name
FQDN of wanted domain (input).
Definition: epp_common.h:592
void epplog(epp_context *epp_ctx, epp_loglevel level, const char *fmt,...)
Write a log message to eppd log file.
Definition: mod_eppd.c:475
Definition: epp_common.h:462
struct qitem qitem
Queue item type.
int level
Level of tests (-1 if not overriden).
Definition: epp_common.h:880
char * upID
ID of last updater.
Definition: epp_common.h:622
qhead admin
Admin contact for domain.
Definition: epp_common.h:598
qhead ns
List of nameservers.
Definition: epp_common.h:626
Poll request parameters.
Definition: epp_common.h:650
void * epp_malloc(void *pool, unsigned size)
Allocate memory from memory pool.
qhead rem_tech
Technical contacts to be removed.
Definition: epp_common.h:838
char * id
Id of wanted nsset (input).
Definition: epp_common.h:836
char * nsset
Nsset of domain.
Definition: epp_common.h:599
epp_command_type type
Identification of epp command.
Definition: epp_common.h:929
Nameserver has a name and possibly more than one ip address.
Definition: epp_common.h:420
char * name
fqdn of nameserver.
Definition: epp_common.h:422
qhead status
Nsset's status.
Definition: epp_common.h:618
char * newPW
New password.
Definition: epp_common.h:550
qhead avails
Booleans + reasons.
Definition: epp_common.h:560
All Info functions, which accept single key on input and count on output (domainsByNsset, domainsByContact, nssetsByContact, nssetsByNs).
Definition: epp_common.h:894
qhead rem_dnskey
DNSKEYs to be removed.
Definition: epp_common.h:852
qhead keys
List of DNS Key records.
Definition: epp_common.h:779
int avail
True if object is available, false otherwise.
Definition: epp_common.h:451
int rc
EPP return code defined in standard.
Definition: epp_common.h:913
char * text
Status value.
Definition: epp_common.h:352
int q_add(void *pool, qhead *head, void *data)
Add new item to a queue (the item will be enqueued at the end of queue).
Definition: epp_common.c:31
qhead status
Domain's status.
Definition: epp_common.h:595
Contents of requests and responses are logged.
Definition: epp_common.h:37
Domain will expire in near future.
Definition: epp_common.h:520
Info domain parameters.
Definition: epp_common.h:590
Create keyset parameters.
Definition: epp_common.h:775
char * value
Client provided input which caused the error.
Definition: epp_common.h:206
char * authInfo
Authorization information.
Definition: epp_common.h:841
epp_object_type
Enumeration of EPP objects which this server operates on.
Definition: epp_common.h:134
char * name
FQDN of wanted domain (input).
Definition: epp_common.h:750
char * clID
Owner's ID.
Definition: epp_common.h:601
void * data
Command data (Input + output parameters for all possible epp commands).
Definition: epp_common.h:935
char * msgid
ID of next message in a queue.
Definition: epp_common.h:653
char * name
Name of renewed domain.
Definition: epp_common.h:793
qhead add_admin
Admin contacts to be added.
Definition: epp_common.h:824
Queue structure used on countless places throughout the program.
Definition: epp_common.h:309
char * keyset
Keyset for domain.
Definition: epp_common.h:754
Definition: epp_common.h:469
Update nsset parameters.
Definition: epp_common.h:834
char * upID
ID of last updater.
Definition: epp_common.h:641
char * crDate
Creation date.
Definition: epp_common.h:603
epp_loglevel
Log levels used for logging to eppd log file.
Definition: epp_common.h:32
qhead add_tech
Technical contacts to be added.
Definition: epp_common.h:849
qitem * body
Items in a queue.
Definition: epp_common.h:312
CreditInfo parameters.
Definition: epp_common.h:870
char * upID
ID of last updater.
Definition: epp_common.h:605
char * authInfo
Authorization information.
Definition: epp_common.h:853
int count
Optimization for length() function.
Definition: epp_common.h:311
char * roid
ROID of object.
Definition: epp_common.h:617
struct qitem * next
Link to next item in a queue.
Definition: epp_common.h:300
int period
Registration period in months.
Definition: epp_common.h:755
qhead objuri
currently not used
Definition: epp_common.h:551
char * authInfo
Authorization information.
Definition: epp_common.h:625
int has_contact_mailing_address_extension
Contacts feature mailing address extension.
Definition: epp_common.h:410
char * public_key
base64 encoded public key
Definition: epp_common.h:432
qhead extensions
List of domain extensions.
Definition: epp_common.h:830
char * crID
ID of creator.
Definition: epp_common.h:620
char * keyset
Keyset of domain.
Definition: epp_common.h:828
Unknown value can also mean undefined.
Definition: epp_common.h:438
Structure containing result of one technical test.
Definition: epp_common.h:535
Transfer parameters.
Definition: epp_common.h:857
epp_pollType type
Type of poll message.
Definition: epp_common.h:655