fred-mod-eppd-2.15.0
epp_common.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2007 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, version 2 of the License.
9  *
10  * FRED is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with FRED. If not, see <http://www.gnu.org/licenses/>.
17  */
27 #ifndef EPP_COMMON_H
28 #define EPP_COMMON_H
29 
31 typedef enum {
32  EPP_FATAL = 1,
38 
44 typedef struct {
45  void *pool;
46  void *conn;
47  int session;
49 
54 typedef enum {
55  EPP_UNKNOWN_CMD = 0,
56  /*
57  * 'dummy' is not a command from point of view of epp client, but is
58  * command from central repository's point of view
59  */
60  EPP_DUMMY,
61  /* session commands */
62  EPP_LOGIN,
63  EPP_LOGOUT,
64  /* query commands */
65  EPP_CHECK_CONTACT,
66  EPP_CHECK_DOMAIN,
67  EPP_CHECK_NSSET,
68  EPP_CHECK_KEYSET,
69  EPP_INFO_CONTACT,
70  EPP_INFO_DOMAIN,
71  EPP_INFO_NSSET,
72  EPP_INFO_KEYSET,
73  EPP_LIST_CONTACT,
74  EPP_LIST_DOMAIN,
75  EPP_LIST_NSSET,
76  EPP_LIST_KEYSET,
77  EPP_POLL_REQ,
78  EPP_POLL_ACK,
79  /* transform commands */
80  EPP_CREATE_CONTACT,
81  EPP_CREATE_DOMAIN,
82  EPP_CREATE_NSSET,
83  EPP_CREATE_KEYSET,
84  EPP_DELETE_CONTACT,
85  EPP_DELETE_DOMAIN,
86  EPP_DELETE_NSSET,
87  EPP_DELETE_KEYSET,
88  EPP_UPDATE_CONTACT,
89  EPP_UPDATE_DOMAIN,
90  EPP_UPDATE_NSSET,
91  EPP_UPDATE_KEYSET,
92  EPP_TRANSFER_CONTACT,
93  EPP_TRANSFER_DOMAIN,
94  EPP_TRANSFER_NSSET,
95  EPP_TRANSFER_KEYSET,
96  EPP_RENEW_DOMAIN,
97  /* protocol extensions */
98  EPP_SENDAUTHINFO_CONTACT,
99  EPP_SENDAUTHINFO_DOMAIN,
100  EPP_SENDAUTHINFO_NSSET,
101  EPP_SENDAUTHINFO_KEYSET,
102  EPP_TEST_NSSET,
103  EPP_CREDITINFO,
104  /* info functions */
105  EPP_INFO_LIST_CONTACTS,
106  EPP_INFO_LIST_DOMAINS,
107  EPP_INFO_LIST_NSSETS,
108  EPP_INFO_LIST_KEYSETS,
109  EPP_INFO_DOMAINS_BY_NSSET,
110  EPP_INFO_DOMAINS_BY_KEYSET,
111  EPP_INFO_DOMAINS_BY_CONTACT,
112  EPP_INFO_NSSETS_BY_CONTACT,
113  EPP_INFO_NSSETS_BY_NS,
114  EPP_INFO_KEYSETS_BY_CONTACT,
115  EPP_INFO_GET_RESULTS
117 
121 typedef enum {
122  EPP_EXT_ENUMVAL,
123  EPP_EXT_MAILING_ADDR
124 }epp_ext_type;
125 
129 typedef enum {
130  EPP_UNKNOWN_OBJ = 0,
131  EPP_CONTACT,
132  EPP_DOMAIN,
133  EPP_NSSET,
134  EPP_KEYSET
136 
140 typedef enum {
141  LANG_EN = 0,
142  LANG_CS,
143 }epp_lang;
144 
152 typedef enum {
153  errspec_poll_msgID = 0,
154  errspec_contact_handle,
155  errspec_contact_cc,
156  errspec_nsset_handle,
157  errspec_nsset_tech,
158  errspec_nsset_dns_name,
159  errspec_nsset_dns_addr,
160  errspec_nsset_dns_name_add,
161  errspec_nsset_dns_name_rem,
162  errspec_nsset_tech_add,
163  errspec_nsset_tech_rem,
164  errspec_keyset_handle,
165  errspec_keyset_tech,
166  errspec_keyset_dnskey,
167  errspec_keyset_dnskey_add,
168  errspec_keyset_dnskey_rem,
169  errspec_keyset_tech_add,
170  errspec_keyset_tech_rem,
171  errspec_registrar_author,
172  errspec_domain_fqdn,
173  errspec_domain_registrant,
174  errspec_domain_nsset,
175  errspec_domain_keyset,
176  errspec_domain_period,
177  errspec_domain_admin,
178  errspec_domain_tmpcontact,
179  errspec_domain_ext_valDate,
180  errspec_domain_ext_valDate_missing,
181  errspec_domain_curExpDate,
182  errspec_domain_admin_add,
183  errspec_domain_admin_rem,
184  /* input errors */
185  errspec_not_valid,
186  errspec_poll_msgID_missing,
187  errspec_contact_identtype_missing,
188  errspec_transfer_op
190 
198 typedef struct {
200  char *value;
215  char *reason;
217  int position;
218 }epp_error;
219 
226 typedef enum {
227  ClientLogin = 100,
228  ClientLogout = 101,
229  ClientGreeting = 105,
230  PollAcknowledgement = 120,
231  PollResponse = 121,
232  ContactCheck = 200,
233  ContactInfo = 201,
234  ContactDelete = 202,
235  ContactUpdate = 203,
236  ContactCreate = 204,
237  ContactTransfer = 205,
238  NSsetCheck = 400,
239  NSsetInfo = 401,
240  NSsetDelete = 402,
241  NSsetUpdate = 403,
242  NSsetCreate = 404,
243  NSsetTransfer = 405,
244  DomainCheck = 500,
245  DomainInfo = 501,
246  DomainDelete = 502,
247  DomainUpdate = 503,
248  DomainCreate = 504,
249  DomainTransfer = 505,
250  DomainRenew = 506,
251  DomainTrade = 507,
252  KeysetCheck = 600,
253  KeysetInfo = 601,
254  KeysetDelete = 602,
255  KeysetUpdate = 603,
256  KeysetCreate = 604,
257  KeysetTransfer = 605,
258  UnknownAction = 1000,
259  ListContact = 1002,
260  ListNSset = 1004,
261  ListDomain = 1005,
262  ListKeySet = 1006,
263  ClientCredit = 1010,
264  nssetTest = 1012,
265  ContactSendAuthInfo = 1101,
266  NSSetSendAuthInfo = 1102,
267  DomainSendAuthInfo = 1103,
268  KeySetSendAuthInfo = 1106,
269  InfoListContacts = 1200,
270  InfoListDomains = 1201,
271  InfoListNssets = 1202,
272  InfoListKeysets = 1203,
273  InfoDomainsByNsset = 1204,
274  InfoDomainsByKeyset = 1205,
275  InfoDomainsByContact = 1206,
276  InfoNssetsByContact = 1207,
277  InfoNssetsByNs = 1208,
278  InfoKeysetsByContact = 1209,
279  InfoGetResults = 1210
281 
290 typedef struct queue_item_t qitem;
294 struct queue_item_t {
296  void *content;
297 };
298 
304 typedef struct {
305  int count;
308 }qhead;
309 
311 #define q_length(_qhead) ((_qhead).count)
312 
313 #define q_next(_qhead) \
314  ((_qhead)->cur = ((_qhead)->cur) ? (_qhead)->cur->next : NULL)
315 
316 #define q_content(_qhead) ((_qhead)->cur->content)
317 
318 #define q_reset(_qhead) ((_qhead)->cur = (_qhead)->body)
319 
325 #define q_foreach(_qhead) \
326  for ((_qhead)->cur = (_qhead)->body; (_qhead)->cur != NULL; (_qhead)->cur = (_qhead)->cur->next)
327 
335 int q_add(void *pool, qhead *head, void *data);
336 
340 /* ********************************************************************* */
341 
342 
346 typedef struct {
347  char *value;
348  char *text;
349 }epp_status;
350 
354 typedef struct {
355  char *name;
356  char *org;
358  char *city;
359  char *sp;
360  char *pc;
361  char *cc;
363 
372 typedef struct {
381  char flag;
382  unsigned char name;
383  unsigned char org;
384  unsigned char addr;
385  unsigned char voice;
386  unsigned char fax;
387  unsigned char email;
388  unsigned char vat;
389  unsigned char ident;
391  unsigned char notifyEmail;
392 }epp_discl;
393 
397 typedef struct {
398  char *name;
400 }epp_ns;
401 
403 typedef struct {
404  unsigned short flags;
405  unsigned char protocol;
406  unsigned char alg;
407  char *public_key;
408 } epp_dnskey;
409 
411 typedef enum {
419 
420 typedef enum {
421  TIMEUNIT_MONTH,
422  TIMEUNIT_YEAR
423 }epp_timeunit;
424 
426 typedef struct {
427  int avail;
428  char *reason;
429 }epp_avail;
430 
432 typedef struct {
433  char *zone;
434  char *credit;
436 
437 typedef struct {
438  char *ext_enumval;
439  int publish;
440 } epp_ext_enum;
441 
442 typedef struct {
443  char * Street1;
444  char * Street2;
445  char * Street3;
446  char * City;
448  char * PostalCode;
449  char * CountryCode;
451 
452 typedef enum {
453  mailing_addr_info,
454  mailing_addr_set,
455  mailing_addr_remove
456 } epp_mailingAddrCommand;
457 
460 typedef struct {} epp_ext_mailingAddr_remove;
461 
462 typedef struct {
463  epp_mailingAddrCommand command;
464  union {
468  } data;
470 
471 
472 typedef struct {
474  union {
477  } ext;
478 }epp_ext_item;
479 
481 typedef enum {
501 }epp_pollType;
502 
504 typedef struct {
505  char *testname;
506  int status;
507  char *note;
509 
510 /* ********************************************************************* */
511 
512 
514 typedef struct {
515  char *clID;
516  char *pw;
517  char *newPW;
520  unsigned lang;
521 }epps_login;
522 
524 typedef struct {
527 }epps_check;
528 
530 typedef struct {
531  char *id;
532  char *handle;
533  char *roid;
536  char *voice;
537  char *fax;
538  char *email;
539  char *clID;
540  char *crID;
541  char *crDate;
542  char *upID;
543  char *upDate;
544  char *trDate;
545  char *authInfo;
547  char *vat;
548  char *ident;
550  char *notify_email;
553 
555 typedef struct {
556  char *name;
557  char *handle;
558  char *roid;
560  char *registrant;
563  char *nsset;
564  char *keyset;
565  char *clID;
566  char *crID;
567  char *crDate;
568  char *exDate;
569  char *upID;
570  char *upDate;
571  char *trDate;
572  char *authInfo;
575 
577 typedef struct {
578  char *id;
579  char *handle;
580  char *roid;
582  char *clID;
583  char *crID;
584  char *crDate;
585  char *upID;
586  char *upDate;
587  char *trDate;
588  char *authInfo;
591  int level;
593 
595 typedef struct {
596  char *id;
597  char *handle;
598  char *roid;
600  char *clID;
601  char *crID;
602  char *crDate;
603  char *upID;
604  char *upDate;
605  char *trDate;
606  char *authInfo;
610 
612 typedef struct {
613  unsigned long long count;
614  char *msgid;
615  char *qdate;
617  union {
618  char *handle;
619  struct {
620  char *handle;
621  char *date;
622  char *clID;
623  }hdt;
624  struct {
625  char *handle;
626  char *date;
627  }hd;
628  struct {
629  char *handle;
630  qhead fqdns;
631  qhead tests;
632  }tc;
633  struct {
634  char *zone;
635  char *limit;
636  char *credit;
637  }lc;
638  struct {
639  char *period_from;
640  char *period_to;
641  unsigned long long total_free_count;
642  unsigned long long used_count;
643  char *price;
644  }rfi;
645  struct {
646  char *optrid;
647  unsigned long long pollid;
648  epps_info_domain old_data;
649  epps_info_domain new_data;
650  }upd;
651  struct {
652  char *optrid;
653  unsigned long long pollid;
654  epps_info_nsset old_data;
655  epps_info_nsset new_data;
656  }upn;
657  struct {
658  char *optrid;
659  unsigned long long pollid;
660  epps_info_keyset old_data;
661  epps_info_keyset new_data;
662  }upk;
663  }msg;
665 
667 typedef struct {
668  char *msgid;
669  unsigned long long count;
670  char *newmsgid;
672 
674 typedef struct {
675  char *id;
677  char *voice;
678  char *fax;
679  char *email;
680  char *authInfo;
682  char *vat;
683  char *ident;
685  char *notify_email;
686  char *crDate;
689 
691 typedef struct {
692  char *name;
693  char *registrant;
695  char *nsset;
696  char *keyset;
697  int period;
698  epp_timeunit unit;
699  char *authInfo;
701  char *crDate;
702  char *exDate;
704 
706 typedef struct {
707  char *id;
708  char *authInfo;
711  char *crDate;
712  int level;
714 
716 typedef struct {
717  char *id;
718  char *authInfo;
721  char *crDate;
723 
725 typedef struct {
726  char *id;
727 }epps_delete;
728 
730 typedef struct {
731  char *name;
732  char *curExDate;
733  int period;
734  epp_timeunit unit;
736  char *exDate;
737 }epps_renew;
738 
740 typedef struct {
741  char *id;
743  char *voice;
744  char *fax;
745  char *email;
746  char *authInfo;
748  char *vat;
749  char *ident;
751  char *notify_email;
754 
756 typedef struct {
757  char *name;
758  char *registrant;
762  char *nsset;
763  char *keyset;
764  char *authInfo;
767 
769 typedef struct {
770  char *id;
775  char *authInfo;
776  int level;
778 
780 typedef struct {
781  char *id;
786  char *authInfo;
788 
790 typedef struct {
791  char *id;
792  char *authInfo;
794 
796 typedef struct {
797  char *id;
799 
801 typedef struct {
804 
806 typedef struct {
807  char *id;
809  int level;
810 }epps_test;
811 
813 typedef struct {
815 }epps_list;
816 
822 typedef struct {
823  char *handle;
824  unsigned int count;
825 }epps_info;
826 
836 typedef struct {
837  char *clTRID;
838  char *svTRID;
839  int rc;
840  char *msg;
841  char *xml_in;
843  /* parsed_doc and xpath_ctx are needed for error reporting. */
844  void *parsed_doc;
845  void *xpath_ctx;
847  short noresdata;
850 
860  void *data;
862 
863 
864 /* ********************************************************************* */
865 
873 void epplog(epp_context *epp_ctx, epp_loglevel level, const char *fmt, ...);
874 
891 void *epp_malloc(void *pool, unsigned size);
892 
900 void *epp_calloc(void *pool, unsigned size);
901 
910 char *epp_strdup(void *pool, const char *str);
911 
924 char *epp_strcat(void *pool, const char *str1, const char *str2);
925 
933 char *epp_sprintf(void *pool, const char *fmt, ...);
934 
939 #endif /* EPP_COMMON_H */
qhead tech
List of technical contacts for keyset.
Definition: epp_common.h:720
char * id
Id of wanted contact (input).
Definition: epp_common.h:531
unsigned char alg
algorithm type
Definition: epp_common.h:406
char * credit
Credit.
Definition: epp_common.h:434
Definition: epp_common.h:462
epp_identType identtype
Type of unique ident.
Definition: epp_common.h:750
qhead admin
Admin contact for domain.
Definition: epp_common.h:694
char * Street2
street - line #2
Definition: epp_common.h:444
char * xml_in
XML as it is received from client.
Definition: epp_common.h:841
char flag
Value 1 means following items are exception to server policy, which is assumed to be private (hide al...
Definition: epp_common.h:381
char * crDate
Creation date of nsset.
Definition: epp_common.h:711
char * authInfo
Authorization information.
Definition: epp_common.h:606
ICO.
Definition: epp_common.h:416
qhead extensions
List of extensions.
Definition: epp_common.h:551
char * authInfo
Authorization information.
Definition: epp_common.h:699
The struct represents one epp error in ExtValue element.
Definition: epp_common.h:198
char * clID
Owner&#39;s ID.
Definition: epp_common.h:582
unsigned int count
Count of results.
Definition: epp_common.h:824
char * zone
True if object is available, false otherwise.
Definition: epp_common.h:433
Technical check results.
Definition: epp_common.h:488
char * msg
Text message coresponding to return code.
Definition: epp_common.h:840
char * city
City.
Definition: epp_common.h:358
Number of passport.
Definition: epp_common.h:414
char * authInfo
Authorization information.
Definition: epp_common.h:746
char * reason
If object is not available, here is the reason.
Definition: epp_common.h:428
qhead extensions
List of domain extensions.
Definition: epp_common.h:573
int period
Renew period.
Definition: epp_common.h:733
char * exDate
Expiration date of domain.
Definition: epp_common.h:702
epp_ext_mailingAddr ext_mailing_addr
Extensions for mailing contact addresses.
Definition: epp_common.h:476
char * id
Id of wanted keyset (input).
Definition: epp_common.h:717
qitem * next
Link to next item in a queue.
Definition: epp_common.h:295
Domain changed.
Definition: epp_common.h:498
Delete parameters.
Definition: epp_common.h:725
qitem * cur
Currently selected item.
Definition: epp_common.h:307
qhead rem_tech
Technical contacts to be removed.
Definition: epp_common.h:783
qhead extensions
List of domain extensions.
Definition: epp_common.h:735
Errors which are not serious but should be logged.
Definition: epp_common.h:34
qhead status
Keyset&#39;s status.
Definition: epp_common.h:599
Definition: epp_common.h:472
char * upID
ID of last updater.
Definition: epp_common.h:542
Info nsset parameters.
Definition: epp_common.h:577
char * nsset
Nsset of domain.
Definition: epp_common.h:695
qhead tech
List of technical contacts for nsset.
Definition: epp_common.h:590
char * roid
ROID of object.
Definition: epp_common.h:598
Error, the module is not in operational state.
Definition: epp_common.h:32
char * curExDate
Current expiration date.
Definition: epp_common.h:732
char * epp_strdup(void *pool, const char *str)
Duplicate string from argument, the memory will be allocated from memory pool.
Definition: mod_eppd.c:235
int publish
Flag determining if this domain can be published in the ENUM dictionary.
Definition: epp_common.h:439
char * svTRID
server&#39;s TRID
Definition: epp_common.h:838
qhead zonecredits
List of credits for individual zones.
Definition: epp_common.h:802
qhead addr
List of ip addresses.
Definition: epp_common.h:399
Domain expired.
Definition: epp_common.h:491
unsigned char org
Contact&#39;s organization is exceptional.
Definition: epp_common.h:383
qhead handles
List of handles.
Definition: epp_common.h:814
char * id
Id of wanted nsset (input).
Definition: epp_common.h:707
char * registrant
Registrant of domain.
Definition: epp_common.h:560
This is the default log level.
Definition: epp_common.h:35
char * name
FQDN of wanted domain (input).
Definition: epp_common.h:757
char * nsset
Nsset of domain.
Definition: epp_common.h:762
Credit of registrator is low.
Definition: epp_common.h:496
void * conn
Connection handler.
Definition: epp_common.h:46
unsigned long long count
Count of waiting messages.
Definition: epp_common.h:613
Poll acknoledge parameters.
Definition: epp_common.h:667
qhead tech
List of technical contacts for keyset.
Definition: epp_common.h:608
char * upDate
Last updated.
Definition: epp_common.h:543
unsigned long long count
Count of waiting messages.
Definition: epp_common.h:669
char * upDate
Last updated.
Definition: epp_common.h:586
epp_postalInfo pi
Postal info.
Definition: epp_common.h:676
char * value
Status name.
Definition: epp_common.h:347
epp_postalInfo pi
Postal info.
Definition: epp_common.h:535
Structure for holding status&#39; names and values.
Definition: epp_common.h:346
char * vat
VAT tax ID.
Definition: epp_common.h:682
char * ext_enumval
Domain validation.
Definition: epp_common.h:438
epp_ext_type
Enumeration of implemented extensions.
Definition: epp_common.h:121
char * fax
Fax number.
Definition: epp_common.h:744
char * name
Name.
Definition: epp_common.h:355
qhead extensions
List of extensions.
Definition: epp_common.h:752
int position
Position of faulty element if it is part of list.
Definition: epp_common.h:217
epp_discl discl
Disclose information section.
Definition: epp_common.h:681
This structure is central to the concept of the whole module.
Definition: epp_common.h:836
qhead rem_admin
Admin contacts to be removed.
Definition: epp_common.h:760
char * notify_email
Notification email.
Definition: epp_common.h:550
char * voice
Telephone number.
Definition: epp_common.h:536
Domain was deleted.
Definition: epp_common.h:495
char * exDate
Expiration date.
Definition: epp_common.h:568
char * crDate
Creation date.
Definition: epp_common.h:602
Structure holding answer to EPP check command.
Definition: epp_common.h:426
Error caused usually by client, module is operational.
Definition: epp_common.h:33
unsigned char email
Contact&#39;s email address is exceptional.
Definition: epp_common.h:387
char * trDate
Last transfered.
Definition: epp_common.h:587
Domain validation will expire soon.
Definition: epp_common.h:492
Info keyset parameters.
Definition: epp_common.h:595
char * upDate
Last updated.
Definition: epp_common.h:604
char * authInfo
Authorization information.
Definition: epp_common.h:792
epp_action_type
EPP action types for now only a copy of current enum_action.
Definition: epp_common.h:226
qhead exturi
currently not used
Definition: epp_common.h:519
epp_timeunit unit
Registration period&#39;s unit.
Definition: epp_common.h:698
Structure holding answer to EPP creditInfo command.
Definition: epp_common.h:432
char * authInfo
Authorization information.
Definition: epp_common.h:708
Requests price/count info.
Definition: epp_common.h:497
Create nsset parameters.
Definition: epp_common.h:706
char * handle
Id of wanted nsset (output).
Definition: epp_common.h:579
char * Street3
street - line #3
Definition: epp_common.h:445
Contact was deleted because not used.
Definition: epp_common.h:483
void * xpath_ctx
XPath context.
Definition: epp_common.h:845
qhead keys
List of DNS Key records.
Definition: epp_common.h:607
Domain validation expired.
Definition: epp_common.h:493
Date of birth.
Definition: epp_common.h:417
unsigned short flags
key properties.
Definition: epp_common.h:404
char * upDate
Last updated.
Definition: epp_common.h:570
char * registrant
Registrant of domain.
Definition: epp_common.h:693
epp_identType
Type of identification number used in contact object.
Definition: epp_common.h:411
char * id
Handle of object.
Definition: epp_common.h:797
char * crDate
Creation date.
Definition: epp_common.h:584
qhead extensions
List of extensions.
Definition: epp_common.h:687
char * reason
Human readable reason of error.
Definition: epp_common.h:215
qhead tech
List of technical contacts for nsset.
Definition: epp_common.h:710
char * crDate
Creation date of contact.
Definition: epp_common.h:686
char * id
Id of transfered object.
Definition: epp_common.h:791
char * roid
ROID of object.
Definition: epp_common.h:533
char * id
Id of wanted nsset (input).
Definition: epp_common.h:578
char * PostalCode
postal code
Definition: epp_common.h:448
char * authInfo
Authorization information.
Definition: epp_common.h:572
char * clTRID
client&#39;s TRID
Definition: epp_common.h:837
char * ident
Contact&#39;s unique ident.
Definition: epp_common.h:749
char * msgid
ID of acknoledged message.
Definition: epp_common.h:668
char * trDate
Last transfered.
Definition: epp_common.h:544
Create contact parameters.
Definition: epp_common.h:674
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:253
unsigned lang
Language.
Definition: epp_common.h:520
char * handle
Search key.
Definition: epp_common.h:823
char * keyset
Keyset for domain.
Definition: epp_common.h:564
Nsset was transferred.
Definition: epp_common.h:484
int level
Report level.
Definition: epp_common.h:591
Domain was transferred.
Definition: epp_common.h:489
char * voice
Telephone number.
Definition: epp_common.h:677
qhead errors
List of validation errors or errors from central repository.
Definition: epp_common.h:849
char * trDate
Last transfered.
Definition: epp_common.h:571
Test parameters.
Definition: epp_common.h:806
Update contact parameters.
Definition: epp_common.h:740
KeySet was transferred.
Definition: epp_common.h:486
char * id
Id of wanted contact (input).
Definition: epp_common.h:675
KeySet was deleted because not used.
Definition: epp_common.h:487
int level
Report level.
Definition: epp_common.h:712
NSSet changed.
Definition: epp_common.h:499
Number of ID card.
Definition: epp_common.h:413
epp_ext_enum ext_enum
Extensions for ENUM.
Definition: epp_common.h:475
qhead extensions
List of domain extensions.
Definition: epp_common.h:700
Definition: epp_common.h:460
char * id
Id of wanted keyset (input).
Definition: epp_common.h:781
char * cc
Country code.
Definition: epp_common.h:361
char * qdate
Date of message submission.
Definition: epp_common.h:615
KeySet changed.
Definition: epp_common.h:500
char * id
Id of wanted keyset (input).
Definition: epp_common.h:596
qhead ns
List of nameservers.
Definition: epp_common.h:709
epp_identType identtype
Type of unique ident.
Definition: epp_common.h:549
char * handle
Id of wanted keyset (output).
Definition: epp_common.h:597
char * id
ID of tested nsset.
Definition: epp_common.h:807
char * notify_email
Notification email.
Definition: epp_common.h:751
void * epp_calloc(void *pool, unsigned size)
Allocate memory from memory pool and prezero it.
Definition: mod_eppd.c:217
Create domain parameters.
Definition: epp_common.h:691
unsigned char protocol
= 3
Definition: epp_common.h:405
DNS Key record - http://rfc-ref.org/RFC-TEXTS/4034/chapter2.html.
Definition: epp_common.h:403
char * pw
Password.
Definition: epp_common.h:516
Contact was transferred.
Definition: epp_common.h:482
Parameters of obsolete command &#39;list&#39; and getResults command.
Definition: epp_common.h:813
Login parameters.
Definition: epp_common.h:514
void * pool
Pool for allocations.
Definition: epp_common.h:45
char * id
ID of object to be deleted.
Definition: epp_common.h:726
SendAuthInfo parameters.
Definition: epp_common.h:796
char * roid
ROID of object.
Definition: epp_common.h:558
char * epp_sprintf(void *pool, const char *fmt,...)
Print formatted string.
Definition: mod_eppd.c:270
char * clID
Owner&#39;s ID.
Definition: epp_common.h:600
epp_pollType
Type of poll message.
Definition: epp_common.h:481
Structure gathers postal info about contact.
Definition: epp_common.h:354
Update keyset parameters.
Definition: epp_common.h:780
epp_timeunit unit
Registration period&#39;s unit.
Definition: epp_common.h:734
char * exDate
New expiration date.
Definition: epp_common.h:736
qhead ids
IDs of checked objects.
Definition: epp_common.h:525
qhead add_ns
Nameservers to be added.
Definition: epp_common.h:773
char * authInfo
Authorization information.
Definition: epp_common.h:764
char * City
city
Definition: epp_common.h:446
Check contact, domain and nsset parameters.
Definition: epp_common.h:524
qhead names
Fqdns of domains to be tested with nsset.
Definition: epp_common.h:808
Info contact parameters.
Definition: epp_common.h:530
epp_ext_type extType
Identifier of extension.
Definition: epp_common.h:473
char * org
Organization.
Definition: epp_common.h:356
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:701
char * StateOrProvince
state or province
Definition: epp_common.h:447
unsigned char vat
Contact&#39;s VAT is exceptional.
Definition: epp_common.h:388
epp_discl discl
Disclose information section.
Definition: epp_common.h:747
Update domain parameters.
Definition: epp_common.h:756
char * vat
VAT tax ID.
Definition: epp_common.h:748
char * email
Email address.
Definition: epp_common.h:745
void * parsed_doc
Parsed XML document tree.
Definition: epp_common.h:844
Definition of queue item type.
Definition: epp_common.h:294
char * Street1
street - line #1
Definition: epp_common.h:443
epp_lang
definition of languages (english is default)
Definition: epp_common.h:140
char * crID
ID of creator.
Definition: epp_common.h:566
char * fax
Fax number.
Definition: epp_common.h:678
Disclose information of contact.
Definition: epp_common.h:372
epp_errorspec spec
Specification of surrounding XML tags.
Definition: epp_common.h:206
int level
Report level.
Definition: epp_common.h:776
unsigned char voice
Contact&#39;s voice (tel.
Definition: epp_common.h:385
qhead rem_tmpcontact
Temporary contact used for migration.
Definition: epp_common.h:761
epp_identType identtype
Type of unique ident.
Definition: epp_common.h:684
qhead streets
3x street.
Definition: epp_common.h:357
char * authInfo
Authorization information.
Definition: epp_common.h:545
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:152
unsigned char ident
Contact&#39;s ident is exceptional.
Definition: epp_common.h:389
char * email
Email address.
Definition: epp_common.h:679
qhead add_dnskey
DNSKEYs to be added.
Definition: epp_common.h:784
char * handle
FQDN of wanted domain (output).
Definition: epp_common.h:557
char * CountryCode
country code - 2 char ISO country code
Definition: epp_common.h:449
qhead rem_ns
Nameservers to be removed.
Definition: epp_common.h:774
char * crDate
Creation date.
Definition: epp_common.h:541
Number assigned by "ministry of work and ...".
Definition: epp_common.h:415
char * registrant
Registrant of domain.
Definition: epp_common.h:758
char * voice
Telephone number.
Definition: epp_common.h:743
char * clID
Owner&#39;s ID.
Definition: epp_common.h:539
qhead add_tech
Technical contacts to be added.
Definition: epp_common.h:771
unsigned char notifyEmail
Contact&#39;s notification emai is exceptional.
Definition: epp_common.h:391
Renew domain parameters.
Definition: epp_common.h:730
short noresdata
True if there should be no resdata section or msgQ section.
Definition: epp_common.h:847
char * authInfo
Authorization information.
Definition: epp_common.h:680
char * newmsgid
ID of first message in a queue.
Definition: epp_common.h:670
char * sp
State or province.
Definition: epp_common.h:359
epp_command_type
Enumeration of codes of all EPP commands this module is able to handle.
Definition: epp_common.h:54
char * trDate
Last transfered.
Definition: epp_common.h:605
char * clID
Client ID.
Definition: epp_common.h:515
char * pc
Postal code.
Definition: epp_common.h:360
Nsset was deleted because not used.
Definition: epp_common.h:485
char * crDate
Creation date of keyset.
Definition: epp_common.h:721
char * crID
ID of creator.
Definition: epp_common.h:601
Domain was outaged from zone.
Definition: epp_common.h:494
unsigned char fax
Contact&#39;s fax number is exceptional.
Definition: epp_common.h:386
qhead tmpcontact
Temporary contact used for migration.
Definition: epp_common.h:561
char * authInfo
Authorization information.
Definition: epp_common.h:718
char * name
FQDN of wanted domain (input).
Definition: epp_common.h:556
char * crID
ID of creator.
Definition: epp_common.h:540
void epplog(epp_context *epp_ctx, epp_loglevel level, const char *fmt,...)
Write a log message to eppd log file.
Definition: mod_eppd.c:302
Definition: epp_common.h:437
int level
Level of tests (-1 if not overriden).
Definition: epp_common.h:809
char * upID
ID of last updater.
Definition: epp_common.h:585
qhead admin
Admin contact for domain.
Definition: epp_common.h:562
qhead ns
List of nameservers.
Definition: epp_common.h:589
Poll request parameters.
Definition: epp_common.h:612
void * epp_malloc(void *pool, unsigned size)
Allocate memory from memory pool.
Definition: mod_eppd.c:199
qhead rem_tech
Technical contacts to be removed.
Definition: epp_common.h:772
char * id
Id of wanted nsset (input).
Definition: epp_common.h:770
char * email
Email address.
Definition: epp_common.h:538
char * nsset
Nsset of domain.
Definition: epp_common.h:563
epp_command_type type
Identification of epp command.
Definition: epp_common.h:855
Nameserver has a name and possibly more than one ip address.
Definition: epp_common.h:397
char * vat
VAT tax ID.
Definition: epp_common.h:547
char * name
fqdn of nameserver.
Definition: epp_common.h:398
qhead status
Nsset&#39;s status.
Definition: epp_common.h:581
char * newPW
New password.
Definition: epp_common.h:517
qhead avails
Booleans + reasons.
Definition: epp_common.h:526
All Info functions, which accept single key on input and count on output (domainsByNsset, domainsByContact, nssetsByContact, nssetsByNs).
Definition: epp_common.h:822
qhead rem_dnskey
DNSKEYs to be removed.
Definition: epp_common.h:785
qhead keys
List of DNS Key records.
Definition: epp_common.h:719
int avail
True if object is available, false otherwise.
Definition: epp_common.h:427
int rc
EPP return code defined in standard.
Definition: epp_common.h:839
char * text
Status value.
Definition: epp_common.h:348
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&#39;s name is exceptional.
Definition: epp_common.h:382
qhead status
Domain&#39;s status.
Definition: epp_common.h:559
Contents of requests and responses are logged.
Definition: epp_common.h:36
Domain will expire in near future.
Definition: epp_common.h:490
Info domain parameters.
Definition: epp_common.h:555
Create keyset parameters.
Definition: epp_common.h:716
char * value
Client provided input which caused the error.
Definition: epp_common.h:200
char * authInfo
Authorization information.
Definition: epp_common.h:775
epp_object_type
Enumeration of EPP objects which this server operates on.
Definition: epp_common.h:129
char * name
FQDN of wanted domain (input).
Definition: epp_common.h:692
char * clID
Owner&#39;s ID.
Definition: epp_common.h:565
void * data
Command data (Input + output parameters for all possible epp commands).
Definition: epp_common.h:860
epp_postalInfo * pi
Postal info.
Definition: epp_common.h:742
char * msgid
ID of next message in a queue.
Definition: epp_common.h:614
char * handle
Id of wanted contact (output).
Definition: epp_common.h:532
char * name
Name of renewed domain.
Definition: epp_common.h:731
qhead add_admin
Admin contacts to be added.
Definition: epp_common.h:759
Queue structure used on countless places throughout the program.
Definition: epp_common.h:304
char * keyset
Keyset for domain.
Definition: epp_common.h:696
char * id
Id of wanted contact (input).
Definition: epp_common.h:741
Definition: epp_common.h:442
Update nsset parameters.
Definition: epp_common.h:769
char * upID
ID of last updater.
Definition: epp_common.h:603
char * notify_email
Notification email.
Definition: epp_common.h:685
char * ident
Contact&#39;s unique ident.
Definition: epp_common.h:548
char * crDate
Creation date.
Definition: epp_common.h:567
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:782
qitem * body
Items in a queue.
Definition: epp_common.h:306
CreditInfo parameters.
Definition: epp_common.h:801
char * upID
ID of last updater.
Definition: epp_common.h:569
unsigned char addr
Contact&#39;s address is exceptional.
Definition: epp_common.h:384
char * authInfo
Authorization information.
Definition: epp_common.h:786
int count
Optimization for length() function.
Definition: epp_common.h:305
char * roid
ROID of object.
Definition: epp_common.h:580
int period
Registration period in months.
Definition: epp_common.h:697
qhead objuri
currently not used
Definition: epp_common.h:518
void * content
Pointer to content of item.
Definition: epp_common.h:296
qhead status
Contact&#39;s status.
Definition: epp_common.h:534
char * authInfo
Authorization information.
Definition: epp_common.h:588
char * public_key
base64 encoded public key
Definition: epp_common.h:407
qhead extensions
List of domain extensions.
Definition: epp_common.h:765
char * crID
ID of creator.
Definition: epp_common.h:583
char * keyset
Keyset of domain.
Definition: epp_common.h:763
Unknown value can also mean undefined.
Definition: epp_common.h:412
Structure containing result of one technical test.
Definition: epp_common.h:504
Transfer parameters.
Definition: epp_common.h:790
char * ident
Contact&#39;s unique ident.
Definition: epp_common.h:683
char * fax
Fax number.
Definition: epp_common.h:537
epp_discl discl
Disclose information section.
Definition: epp_common.h:546
epp_pollType type
Type of poll message.
Definition: epp_common.h:616