99 EPP_SENDAUTHINFO_CONTACT,
100 EPP_SENDAUTHINFO_DOMAIN,
101 EPP_SENDAUTHINFO_NSSET,
102 EPP_SENDAUTHINFO_KEYSET,
106 EPP_INFO_LIST_CONTACTS,
107 EPP_INFO_LIST_DOMAINS,
108 EPP_INFO_LIST_NSSETS,
109 EPP_INFO_LIST_KEYSETS,
110 EPP_INFO_DOMAINS_BY_NSSET,
111 EPP_INFO_DOMAINS_BY_KEYSET,
112 EPP_INFO_DOMAINS_BY_CONTACT,
113 EPP_INFO_NSSETS_BY_CONTACT,
114 EPP_INFO_NSSETS_BY_NS,
115 EPP_INFO_KEYSETS_BY_CONTACT,
151 errspec_poll_msgID = 0,
152 errspec_contact_handle,
154 errspec_nsset_handle,
156 errspec_nsset_dns_name,
157 errspec_nsset_dns_addr,
158 errspec_nsset_dns_name_add,
159 errspec_nsset_dns_name_rem,
160 errspec_nsset_tech_add,
161 errspec_nsset_tech_rem,
162 errspec_keyset_handle,
164 errspec_keyset_dnskey,
165 errspec_keyset_dnskey_add,
166 errspec_keyset_dnskey_rem,
167 errspec_keyset_tech_add,
168 errspec_keyset_tech_rem,
169 errspec_registrar_author,
171 errspec_domain_registrant,
172 errspec_domain_nsset,
173 errspec_domain_keyset,
174 errspec_domain_period,
175 errspec_domain_admin,
176 errspec_domain_tmpcontact,
177 errspec_domain_ext_valDate,
178 errspec_domain_ext_valDate_missing,
179 errspec_domain_curExpDate,
180 errspec_domain_admin_add,
181 errspec_domain_admin_rem,
184 errspec_poll_msgID_missing,
185 errspec_contact_identtype_missing,
227 incorrect_epp_action_type = 0,
230 ClientGreeting = 105,
231 PollAcknowledgement = 120,
238 ContactTransfer = 205,
250 DomainTransfer = 505,
258 KeysetTransfer = 605,
259 UnknownAction = 1000,
266 ContactSendAuthInfo = 1101,
267 NSSetSendAuthInfo = 1102,
268 DomainSendAuthInfo = 1103,
269 KeySetSendAuthInfo = 1106,
270 InfoListContacts = 1200,
271 InfoListDomains = 1201,
272 InfoListNssets = 1202,
273 InfoListKeysets = 1203,
274 InfoDomainsByNsset = 1204,
275 InfoDomainsByKeyset = 1205,
276 InfoDomainsByContact = 1206,
277 InfoNssetsByContact = 1207,
278 InfoNssetsByNs = 1208,
279 InfoKeysetsByContact = 1209,
280 InfoGetResults = 1210
310 #define q_length(_qhead) ((_qhead).count) 312 #define q_next(_qhead) ((_qhead)->cur = ((_qhead)->cur) ? (_qhead)->cur->next : NULL) 314 #define q_content(_qhead) ((_qhead)->cur->content) 316 #define q_reset(_qhead) ((_qhead)->cur = (_qhead)->body) 321 #define q_foreach(_qhead) \ 322 for ((_qhead)->cur = (_qhead)->body; (_qhead)->cur != NULL; (_qhead)->cur = (_qhead)->cur->next) 331 int q_add(
void *pool,
qhead *head,
void *data);
421 typedef enum { TIMEUNIT_MONTH, TIMEUNIT_YEAR } epp_timeunit;
455 typedef enum { mailing_addr_info, mailing_addr_set, mailing_addr_remove } epp_mailingAddrCommand;
465 epp_mailingAddrCommand command;
661 unsigned long long total_free_count;
662 unsigned long long used_count;
668 unsigned long long pollid;
675 unsigned long long pollid;
682 unsigned long long pollid;
689 unsigned long long pollid;
958 char *
epp_strdup(
void *pool,
const char *str);
972 char *
epp_strcat(
void *pool,
const char *str1,
const char *str2);
981 char *
epp_sprintf(
void *pool,
const char *fmt, ...);
qhead tech
List of technical contacts for keyset.
Definition: epp_common.h:755
unsigned char alg
algorithm type
Definition: epp_common.h:407
Queue item type.
Definition: epp_common.h:291
char * credit
Credit.
Definition: epp_common.h:434
Definition: epp_common.h:463
qhead admin
Admin contact for domain.
Definition: epp_common.h:727
char * Street2
street - line #2
Definition: epp_common.h:447
char * xml_in
XML as it is received from client.
Definition: epp_common.h:889
char flag
Value 1 means following items are exception to server policy, which is assumed to be private (hide al...
Definition: epp_common.h:380
char * crDate
Creation date of nsset.
Definition: epp_common.h:745
char * authInfo
Authorization information.
Definition: epp_common.h:619
ICO.
Definition: epp_common.h:417
char * authInfo
Authorization information.
Definition: epp_common.h:732
The struct represents one epp error in ExtValue element.
Definition: epp_common.h:196
char * clID
Owner's ID.
Definition: epp_common.h:594
unsigned int count
Count of results.
Definition: epp_common.h:871
char * zone
True if object is available, false otherwise.
Definition: epp_common.h:433
Contact changed.
Definition: epp_common.h:503
Technical check results.
Definition: epp_common.h:493
char * msg
Text message coresponding to return code.
Definition: epp_common.h:888
char * city
City.
Definition: epp_common.h:356
Number of passport.
Definition: epp_common.h:415
char * reason
If object is not available, here is the reason.
Definition: epp_common.h:427
qhead extensions
List of domain extensions.
Definition: epp_common.h:584
int period
Renew period.
Definition: epp_common.h:770
char * exDate
Expiration date of domain.
Definition: epp_common.h:735
epp_ext_mailingAddr ext_mailing_addr
Extensions for mailing contact addresses.
Definition: epp_common.h:481
char * id
Id of wanted keyset (input).
Definition: epp_common.h:752
Domain changed.
Definition: epp_common.h:504
Delete parameters.
Definition: epp_common.h:760
qitem * cur
Currently selected item.
Definition: epp_common.h:306
qhead rem_tech
Technical contacts to be removed.
Definition: epp_common.h:824
qhead extensions
List of domain extensions.
Definition: epp_common.h:772
Errors which are not serious but should be logged.
Definition: epp_common.h:34
qhead status
Keyset's status.
Definition: epp_common.h:612
Definition: epp_common.h:475
Info nsset parameters.
Definition: epp_common.h:588
char * nsset
Nsset of domain.
Definition: epp_common.h:728
qhead tech
List of technical contacts for nsset.
Definition: epp_common.h:602
char * roid
ROID of object.
Definition: epp_common.h:611
Error, the module is not in operational state.
Definition: epp_common.h:32
char * curExDate
Current expiration date.
Definition: epp_common.h:769
char * epp_strdup(void *pool, const char *str)
Duplicate string from argument, the memory will be allocated from memory pool.
Definition: mod_eppd.c:402
int publish
Flag determining if this domain can be published in the ENUM dictionary.
Definition: epp_common.h:440
char * svTRID
server's TRID
Definition: epp_common.h:886
qhead zonecredits
List of credits for individual zones.
Definition: epp_common.h:846
qhead addr
List of ip addresses.
Definition: epp_common.h:399
Domain expired.
Definition: epp_common.h:496
unsigned char org
Contact's organization is exceptional.
Definition: epp_common.h:382
qhead handles
List of handles.
Definition: epp_common.h:860
char * id
Id of wanted nsset (input).
Definition: epp_common.h:741
char * registrant
Registrant of domain.
Definition: epp_common.h:571
This is the default log level.
Definition: epp_common.h:35
char * name
FQDN of wanted domain (input).
Definition: epp_common.h:796
char * nsset
Nsset of domain.
Definition: epp_common.h:801
Credit of registrator is low.
Definition: epp_common.h:501
void * conn
Connection handler.
Definition: epp_common.h:47
unsigned long long count
Count of waiting messages.
Definition: epp_common.h:627
Poll acknoledge parameters.
Definition: epp_common.h:697
qhead tech
List of technical contacts for keyset.
Definition: epp_common.h:621
unsigned long long count
Count of waiting messages.
Definition: epp_common.h:700
char * upDate
Last updated.
Definition: epp_common.h:598
char * value
Status name.
Definition: epp_common.h:344
Structure for holding status' names and values.
Definition: epp_common.h:342
char * ext_enumval
Domain validation.
Definition: epp_common.h:439
epp_ext_type
Enumeration of implemented extensions.
Definition: epp_common.h:122
char * name
Name.
Definition: epp_common.h:353
int position
Position of faulty element if it is part of list.
Definition: epp_common.h:216
This structure is central to the concept of the whole module.
Definition: epp_common.h:883
qhead rem_admin
Admin contacts to be removed.
Definition: epp_common.h:799
Domain was deleted.
Definition: epp_common.h:500
char * exDate
Expiration date.
Definition: epp_common.h:579
char * crDate
Creation date.
Definition: epp_common.h:615
Structure holding answer to EPP check command.
Definition: epp_common.h:424
Error caused usually by client, module is operational.
Definition: epp_common.h:33
unsigned char email
Contact's email address is exceptional.
Definition: epp_common.h:386
char * trDate
Last transfered.
Definition: epp_common.h:599
Domain validation will expire soon.
Definition: epp_common.h:497
Info keyset parameters.
Definition: epp_common.h:607
char * upDate
Last updated.
Definition: epp_common.h:617
char * authInfo
Authorization information.
Definition: epp_common.h:834
epp_action_type
EPP action types for now only a copy of current enum_action.
Definition: epp_common.h:225
qhead exturi
currently not used
Definition: epp_common.h:527
epp_timeunit unit
Registration period's unit.
Definition: epp_common.h:731
Structure holding answer to EPP creditInfo command.
Definition: epp_common.h:431
char * authInfo
Authorization information.
Definition: epp_common.h:742
Requests price/count info.
Definition: epp_common.h:502
Create nsset parameters.
Definition: epp_common.h:739
char * handle
Id of wanted nsset (output).
Definition: epp_common.h:591
char * Street3
street - line #3
Definition: epp_common.h:448
Contact was deleted because not used.
Definition: epp_common.h:488
void * xpath_ctx
XPath context.
Definition: epp_common.h:893
qhead keys
List of DNS Key records.
Definition: epp_common.h:620
Domain validation expired.
Definition: epp_common.h:498
Date of birth.
Definition: epp_common.h:418
unsigned short flags
key properties.
Definition: epp_common.h:405
char * upDate
Last updated.
Definition: epp_common.h:581
char * registrant
Registrant of domain.
Definition: epp_common.h:726
epp_identType
Type of identification number used in contact object.
Definition: epp_common.h:412
char * id
Handle of object.
Definition: epp_common.h:840
char * crDate
Creation date.
Definition: epp_common.h:596
char * reason
Human readable reason of error.
Definition: epp_common.h:214
qhead tech
List of technical contacts for nsset.
Definition: epp_common.h:744
char * id
Id of transfered object.
Definition: epp_common.h:833
char * id
Id of wanted nsset (input).
Definition: epp_common.h:590
char * PostalCode
postal code
Definition: epp_common.h:451
char * authInfo
Authorization information.
Definition: epp_common.h:583
char * clTRID
client's TRID
Definition: epp_common.h:885
char * msgid
ID of acknoledged message.
Definition: epp_common.h:699
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:420
unsigned lang
Language.
Definition: epp_common.h:528
char * handle
Search key.
Definition: epp_common.h:870
char * keyset
Keyset for domain.
Definition: epp_common.h:575
Nsset was transferred.
Definition: epp_common.h:489
int level
Report level.
Definition: epp_common.h:603
Domain was transferred.
Definition: epp_common.h:494
qhead errors
List of validation errors or errors from central repository.
Definition: epp_common.h:897
char * trDate
Last transfered.
Definition: epp_common.h:582
Test parameters.
Definition: epp_common.h:850
KeySet was transferred.
Definition: epp_common.h:491
KeySet was deleted because not used.
Definition: epp_common.h:492
int level
Report level.
Definition: epp_common.h:746
NSSet changed.
Definition: epp_common.h:505
Number of ID card.
Definition: epp_common.h:414
epp_ext_enum ext_enum
Extensions for ENUM.
Definition: epp_common.h:480
qhead extensions
List of domain extensions.
Definition: epp_common.h:733
Definition: epp_common.h:459
char * id
Id of wanted keyset (input).
Definition: epp_common.h:822
char * cc
Country code.
Definition: epp_common.h:359
char * qdate
Date of message submission.
Definition: epp_common.h:629
KeySet changed.
Definition: epp_common.h:506
char * id
Id of wanted keyset (input).
Definition: epp_common.h:609
qhead ns
List of nameservers.
Definition: epp_common.h:743
char * handle
Id of wanted keyset (output).
Definition: epp_common.h:610
char * id
ID of tested nsset.
Definition: epp_common.h:852
void * epp_calloc(void *pool, unsigned size)
Allocate memory from memory pool and prezero it.
Definition: mod_eppd.c:384
Create domain parameters.
Definition: epp_common.h:723
unsigned char protocol
= 3
Definition: epp_common.h:406
DNS Key record - http://rfc-ref.org/RFC-TEXTS/4034/chapter2.html.
Definition: epp_common.h:403
char * pw
Password.
Definition: epp_common.h:524
Contact was transferred.
Definition: epp_common.h:487
Parameters of obsolete command 'list' and getResults command.
Definition: epp_common.h:858
Login parameters.
Definition: epp_common.h:521
void * pool
Pool for allocations.
Definition: epp_common.h:46
char * id
ID of object to be deleted.
Definition: epp_common.h:762
SendAuthInfo parameters.
Definition: epp_common.h:838
char * roid
ROID of object.
Definition: epp_common.h:569
char * epp_sprintf(void *pool, const char *fmt,...)
Print formatted string.
Definition: mod_eppd.c:437
char * clID
Owner's ID.
Definition: epp_common.h:613
epp_pollType
Type of poll message.
Definition: epp_common.h:486
Structure gathers postal info about contact.
Definition: epp_common.h:351
Update keyset parameters.
Definition: epp_common.h:820
epp_timeunit unit
Registration period's unit.
Definition: epp_common.h:771
char * exDate
New expiration date.
Definition: epp_common.h:773
qhead ids
IDs of checked objects.
Definition: epp_common.h:534
qhead add_ns
Nameservers to be added.
Definition: epp_common.h:813
char * authInfo
Authorization information.
Definition: epp_common.h:803
char * City
city
Definition: epp_common.h:449
Check contact, domain and nsset parameters.
Definition: epp_common.h:532
qhead names
Fqdns of domains to be tested with nsset.
Definition: epp_common.h:853
epp_ext_type extType
Identifier of extension.
Definition: epp_common.h:477
char * org
Organization.
Definition: epp_common.h:354
EPP context is a group of variables used often together.
Definition: epp_common.h:44
char * crDate
Creation date of domain.
Definition: epp_common.h:734
char * StateOrProvince
state or province
Definition: epp_common.h:450
unsigned char vat
Contact's VAT is exceptional.
Definition: epp_common.h:387
Update domain parameters.
Definition: epp_common.h:794
void * parsed_doc
Parsed XML document tree.
Definition: epp_common.h:892
char * Street1
street - line #1
Definition: epp_common.h:446
epp_lang
definition of languages (english is default)
Definition: epp_common.h:138
char * crID
ID of creator.
Definition: epp_common.h:577
Disclose information of contact.
Definition: epp_common.h:370
epp_errorspec spec
Specification of surrounding XML tags.
Definition: epp_common.h:205
int level
Report level.
Definition: epp_common.h:816
unsigned char voice
Contact's voice (tel.
Definition: epp_common.h:384
qhead rem_tmpcontact
Temporary contact used for migration.
Definition: epp_common.h:800
qhead streets
3x street.
Definition: epp_common.h:355
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:150
unsigned char ident
Contact's ident is exceptional.
Definition: epp_common.h:388
qhead add_dnskey
DNSKEYs to be added.
Definition: epp_common.h:825
char * handle
FQDN of wanted domain (output).
Definition: epp_common.h:568
char * CountryCode
country code - 2 char ISO country code
Definition: epp_common.h:452
qhead rem_ns
Nameservers to be removed.
Definition: epp_common.h:814
Number assigned by "ministry of work and ...".
Definition: epp_common.h:416
char * registrant
Registrant of domain.
Definition: epp_common.h:797
qhead add_tech
Technical contacts to be added.
Definition: epp_common.h:811
unsigned char notifyEmail
Contact's notification emai is exceptional.
Definition: epp_common.h:390
Renew domain parameters.
Definition: epp_common.h:766
short noresdata
True if there should be no resdata section or msgQ section.
Definition: epp_common.h:895
char * newmsgid
ID of first message in a queue.
Definition: epp_common.h:701
char * sp
State or province.
Definition: epp_common.h:357
epp_command_type
Enumeration of codes of all EPP commands this module is able to handle.
Definition: epp_common.h:55
void * content
Pointer to content of item.
Definition: epp_common.h:294
char * trDate
Last transfered.
Definition: epp_common.h:618
char * clID
Client ID.
Definition: epp_common.h:523
char * pc
Postal code.
Definition: epp_common.h:358
Nsset was deleted because not used.
Definition: epp_common.h:490
char * crDate
Creation date of keyset.
Definition: epp_common.h:756
char * crID
ID of creator.
Definition: epp_common.h:614
Domain was outaged from zone.
Definition: epp_common.h:499
unsigned char fax
Contact's fax number is exceptional.
Definition: epp_common.h:385
qhead tmpcontact
Temporary contact used for migration.
Definition: epp_common.h:572
char * authInfo
Authorization information.
Definition: epp_common.h:753
char * name
FQDN of wanted domain (input).
Definition: epp_common.h:567
void epplog(epp_context *epp_ctx, epp_loglevel level, const char *fmt,...)
Write a log message to eppd log file.
Definition: mod_eppd.c:473
Definition: epp_common.h:437
struct qitem qitem
Queue item type.
int level
Level of tests (-1 if not overriden).
Definition: epp_common.h:854
char * upID
ID of last updater.
Definition: epp_common.h:597
qhead admin
Admin contact for domain.
Definition: epp_common.h:573
qhead ns
List of nameservers.
Definition: epp_common.h:601
Poll request parameters.
Definition: epp_common.h:625
void * epp_malloc(void *pool, unsigned size)
Allocate memory from memory pool.
qhead rem_tech
Technical contacts to be removed.
Definition: epp_common.h:812
char * id
Id of wanted nsset (input).
Definition: epp_common.h:810
char * nsset
Nsset of domain.
Definition: epp_common.h:574
epp_command_type type
Identification of epp command.
Definition: epp_common.h:903
Nameserver has a name and possibly more than one ip address.
Definition: epp_common.h:396
char * name
fqdn of nameserver.
Definition: epp_common.h:398
qhead status
Nsset's status.
Definition: epp_common.h:593
char * newPW
New password.
Definition: epp_common.h:525
qhead avails
Booleans + reasons.
Definition: epp_common.h:535
All Info functions, which accept single key on input and count on output (domainsByNsset, domainsByContact, nssetsByContact, nssetsByNs).
Definition: epp_common.h:868
qhead rem_dnskey
DNSKEYs to be removed.
Definition: epp_common.h:826
qhead keys
List of DNS Key records.
Definition: epp_common.h:754
int avail
True if object is available, false otherwise.
Definition: epp_common.h:426
int rc
EPP return code defined in standard.
Definition: epp_common.h:887
char * text
Status value.
Definition: epp_common.h:345
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:30
unsigned char name
Contact's name is exceptional.
Definition: epp_common.h:381
qhead status
Domain's status.
Definition: epp_common.h:570
Contents of requests and responses are logged.
Definition: epp_common.h:36
Domain will expire in near future.
Definition: epp_common.h:495
Info domain parameters.
Definition: epp_common.h:565
Create keyset parameters.
Definition: epp_common.h:750
char * value
Client provided input which caused the error.
Definition: epp_common.h:199
char * authInfo
Authorization information.
Definition: epp_common.h:815
epp_object_type
Enumeration of EPP objects which this server operates on.
Definition: epp_common.h:127
char * name
FQDN of wanted domain (input).
Definition: epp_common.h:725
char * clID
Owner's ID.
Definition: epp_common.h:576
void * data
Command data (Input + output parameters for all possible epp commands).
Definition: epp_common.h:908
char * msgid
ID of next message in a queue.
Definition: epp_common.h:628
char * name
Name of renewed domain.
Definition: epp_common.h:768
qhead add_admin
Admin contacts to be added.
Definition: epp_common.h:798
Queue structure used on countless places throughout the program.
Definition: epp_common.h:302
char * keyset
Keyset for domain.
Definition: epp_common.h:729
Definition: epp_common.h:444
Update nsset parameters.
Definition: epp_common.h:808
char * upID
ID of last updater.
Definition: epp_common.h:616
char * crDate
Creation date.
Definition: epp_common.h:578
epp_loglevel
Log levels used for logging to eppd log file.
Definition: epp_common.h:31
qhead add_tech
Technical contacts to be added.
Definition: epp_common.h:823
qitem * body
Items in a queue.
Definition: epp_common.h:305
CreditInfo parameters.
Definition: epp_common.h:844
char * upID
ID of last updater.
Definition: epp_common.h:580
unsigned char addr
Contact's address is exceptional.
Definition: epp_common.h:383
char * authInfo
Authorization information.
Definition: epp_common.h:827
int count
Optimization for length() function.
Definition: epp_common.h:304
char * roid
ROID of object.
Definition: epp_common.h:592
struct qitem * next
Link to next item in a queue.
Definition: epp_common.h:293
int period
Registration period in months.
Definition: epp_common.h:730
qhead objuri
currently not used
Definition: epp_common.h:526
char * authInfo
Authorization information.
Definition: epp_common.h:600
char * public_key
base64 encoded public key
Definition: epp_common.h:408
qhead extensions
List of domain extensions.
Definition: epp_common.h:804
char * crID
ID of creator.
Definition: epp_common.h:595
char * keyset
Keyset of domain.
Definition: epp_common.h:802
Unknown value can also mean undefined.
Definition: epp_common.h:413
Structure containing result of one technical test.
Definition: epp_common.h:510
Transfer parameters.
Definition: epp_common.h:831
epp_pollType type
Type of poll message.
Definition: epp_common.h:630