fred-mod-eppd-2.14.2
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
124 
128 typedef enum {
129  EPP_UNKNOWN_OBJ = 0,
130  EPP_CONTACT,
131  EPP_DOMAIN,
132  EPP_NSSET,
133  EPP_KEYSET
135 
139 typedef enum {
140  LANG_EN = 0,
141  LANG_CS,
142 }epp_lang;
143 
151 typedef enum {
152  errspec_poll_msgID = 0,
153  errspec_contact_handle,
154  errspec_contact_cc,
155  errspec_nsset_handle,
156  errspec_nsset_tech,
157  errspec_nsset_dns_name,
158  errspec_nsset_dns_addr,
159  errspec_nsset_dns_name_add,
160  errspec_nsset_dns_name_rem,
161  errspec_nsset_tech_add,
162  errspec_nsset_tech_rem,
163  errspec_keyset_handle,
164  errspec_keyset_tech,
165  errspec_keyset_dnskey,
166  errspec_keyset_dnskey_add,
167  errspec_keyset_dnskey_rem,
168  errspec_keyset_tech_add,
169  errspec_keyset_tech_rem,
170  errspec_registrar_author,
171  errspec_domain_fqdn,
172  errspec_domain_registrant,
173  errspec_domain_nsset,
174  errspec_domain_keyset,
175  errspec_domain_period,
176  errspec_domain_admin,
177  errspec_domain_tmpcontact,
178  errspec_domain_ext_valDate,
179  errspec_domain_ext_valDate_missing,
180  errspec_domain_curExpDate,
181  errspec_domain_admin_add,
182  errspec_domain_admin_rem,
183  /* input errors */
184  errspec_not_valid,
185  errspec_poll_msgID_missing,
186  errspec_contact_identtype_missing,
187  errspec_transfer_op
189 
197 typedef struct {
199  char *value;
214  char *reason;
216  int position;
217 }epp_error;
218 
225 typedef enum {
226  ClientLogin = 100,
227  ClientLogout = 101,
228  ClientGreeting = 105,
229  PollAcknowledgement = 120,
230  PollResponse = 121,
231  ContactCheck = 200,
232  ContactInfo = 201,
233  ContactDelete = 202,
234  ContactUpdate = 203,
235  ContactCreate = 204,
236  ContactTransfer = 205,
237  NSsetCheck = 400,
238  NSsetInfo = 401,
239  NSsetDelete = 402,
240  NSsetUpdate = 403,
241  NSsetCreate = 404,
242  NSsetTransfer = 405,
243  DomainCheck = 500,
244  DomainInfo = 501,
245  DomainDelete = 502,
246  DomainUpdate = 503,
247  DomainCreate = 504,
248  DomainTransfer = 505,
249  DomainRenew = 506,
250  DomainTrade = 507,
251  KeysetCheck = 600,
252  KeysetInfo = 601,
253  KeysetDelete = 602,
254  KeysetUpdate = 603,
255  KeysetCreate = 604,
256  KeysetTransfer = 605,
257  UnknownAction = 1000,
258  ListContact = 1002,
259  ListNSset = 1004,
260  ListDomain = 1005,
261  ListKeySet = 1006,
262  ClientCredit = 1010,
263  nssetTest = 1012,
264  ContactSendAuthInfo = 1101,
265  NSSetSendAuthInfo = 1102,
266  DomainSendAuthInfo = 1103,
267  KeySetSendAuthInfo = 1106,
268  InfoListContacts = 1200,
269  InfoListDomains = 1201,
270  InfoListNssets = 1202,
271  InfoListKeysets = 1203,
272  InfoDomainsByNsset = 1204,
273  InfoDomainsByKeyset = 1205,
274  InfoDomainsByContact = 1206,
275  InfoNssetsByContact = 1207,
276  InfoNssetsByNs = 1208,
277  InfoKeysetsByContact = 1209,
278  InfoGetResults = 1210
280 
289 typedef struct queue_item_t qitem;
293 struct queue_item_t {
295  void *content;
296 };
297 
303 typedef struct {
304  int count;
307 }qhead;
308 
310 #define q_length(_qhead) ((_qhead).count)
311 
312 #define q_next(_qhead) \
313  ((_qhead)->cur = ((_qhead)->cur) ? (_qhead)->cur->next : NULL)
314 
315 #define q_content(_qhead) ((_qhead)->cur->content)
316 
317 #define q_reset(_qhead) ((_qhead)->cur = (_qhead)->body)
318 
324 #define q_foreach(_qhead) \
325  for ((_qhead)->cur = (_qhead)->body; (_qhead)->cur != NULL; (_qhead)->cur = (_qhead)->cur->next)
326 
334 int q_add(void *pool, qhead *head, void *data);
335 
339 /* ********************************************************************* */
340 
341 
345 typedef struct {
346  char *value;
347  char *text;
348 }epp_status;
349 
353 typedef struct {
354  char *name;
355  char *org;
357  char *city;
358  char *sp;
359  char *pc;
360  char *cc;
362 
371 typedef struct {
380  char flag;
381  unsigned char name;
382  unsigned char org;
383  unsigned char addr;
384  unsigned char voice;
385  unsigned char fax;
386  unsigned char email;
387  unsigned char vat;
388  unsigned char ident;
390  unsigned char notifyEmail;
391 }epp_discl;
392 
396 typedef struct {
397  char *name;
399 }epp_ns;
400 
402 typedef struct {
403  unsigned short flags;
404  unsigned char protocol;
405  unsigned char alg;
406  char *public_key;
407 } epp_dnskey;
408 
410 typedef enum {
418 
419 typedef enum {
420  TIMEUNIT_MONTH,
421  TIMEUNIT_YEAR
422 }epp_timeunit;
423 
425 typedef struct {
426  int avail;
427  char *reason;
428 }epp_avail;
429 
431 typedef struct {
432  char *zone;
433  char *credit;
435 
437 typedef struct {
442 
443 typedef struct {
444  char *ext_enumval;
445  int publish;
446 } epp_ext_enum;
447 
448 typedef struct {
450  union {
452  }ext;
453 }epp_ext_item;
454 
456 typedef enum {
476 }epp_pollType;
477 
479 typedef struct {
480  char *testname;
481  int status;
482  char *note;
484 
485 /* ********************************************************************* */
486 
487 
489 typedef struct {
490  char *clID;
491  char *pw;
492  char *newPW;
495  unsigned lang;
496 }epps_login;
497 
499 typedef struct {
502 }epps_check;
503 
505 typedef struct {
506  char *id;
507  char *handle;
508  char *roid;
511  char *voice;
512  char *fax;
513  char *email;
514  char *clID;
515  char *crID;
516  char *crDate;
517  char *upID;
518  char *upDate;
519  char *trDate;
520  char *authInfo;
522  char *vat;
523  char *ident;
525  char *notify_email;
527 
529 typedef struct {
530  char *name;
531  char *handle;
532  char *roid;
534  char *registrant;
537  char *nsset;
538  char *keyset;
539  char *clID;
540  char *crID;
541  char *crDate;
542  char *exDate;
543  char *upID;
544  char *upDate;
545  char *trDate;
546  char *authInfo;
549 
551 typedef struct {
552  char *id;
553  char *handle;
554  char *roid;
556  char *clID;
557  char *crID;
558  char *crDate;
559  char *upID;
560  char *upDate;
561  char *trDate;
562  char *authInfo;
565  int level;
567 
569 typedef struct {
570  char *id;
571  char *handle;
572  char *roid;
574  char *clID;
575  char *crID;
576  char *crDate;
577  char *upID;
578  char *upDate;
579  char *trDate;
580  char *authInfo;
584 
586 typedef struct {
587  unsigned long long count;
588  char *msgid;
589  char *qdate;
591  union {
592  char *handle;
593  struct {
594  char *handle;
595  char *date;
596  char *clID;
597  }hdt;
598  struct {
599  char *handle;
600  char *date;
601  }hd;
602  struct {
603  char *handle;
604  qhead fqdns;
605  qhead tests;
606  }tc;
607  struct {
608  char *zone;
609  char *limit;
610  char *credit;
611  }lc;
612  struct {
613  char *period_from;
614  char *period_to;
615  unsigned long long total_free_count;
616  unsigned long long used_count;
617  char *price;
618  }rfi;
619  struct {
620  char *optrid;
621  unsigned long long pollid;
622  epps_info_domain old_data;
623  epps_info_domain new_data;
624  }upd;
625  struct {
626  char *optrid;
627  unsigned long long pollid;
628  epps_info_nsset old_data;
629  epps_info_nsset new_data;
630  }upn;
631  struct {
632  char *optrid;
633  unsigned long long pollid;
634  epps_info_keyset old_data;
635  epps_info_keyset new_data;
636  }upk;
637  }msg;
639 
641 typedef struct {
642  char *msgid;
643  unsigned long long count;
644  char *newmsgid;
646 
648 typedef struct {
649  char *id;
651  char *voice;
652  char *fax;
653  char *email;
654  char *authInfo;
656  char *vat;
657  char *ident;
659  char *notify_email;
660  char *crDate;
662 
664 typedef struct {
665  char *name;
666  char *registrant;
668  char *nsset;
669  char *keyset;
670  int period;
671  epp_timeunit unit;
672  char *authInfo;
674  char *crDate;
675  char *exDate;
677 
679 typedef struct {
680  char *id;
681  char *authInfo;
684  char *crDate;
685  int level;
687 
689 typedef struct {
690  char *id;
691  char *authInfo;
694  char *crDate;
696 
698 typedef struct {
699  char *id;
700 }epps_delete;
701 
703 typedef struct {
704  char *name;
705  char *curExDate;
706  int period;
707  epp_timeunit unit;
709  char *exDate;
710 }epps_renew;
711 
713 typedef struct {
714  char *id;
716  char *voice;
717  char *fax;
718  char *email;
719  char *authInfo;
721  char *vat;
722  char *ident;
724  char *notify_email;
726 
728 typedef struct {
729  char *name;
730  char *registrant;
734  char *nsset;
735  char *keyset;
736  char *authInfo;
739 
741 typedef struct {
742  char *id;
747  char *authInfo;
748  int level;
750 
752 typedef struct {
753  char *id;
758  char *authInfo;
760 
762 typedef struct {
763  char *id;
764  char *authInfo;
766 
768 typedef struct {
769  char *id;
771 
773 typedef struct {
776 
778 typedef struct {
779  char *id;
781  int level;
782 }epps_test;
783 
785 typedef struct {
787 }epps_list;
788 
794 typedef struct {
795  char *handle;
796  unsigned int count;
797 }epps_info;
798 
808 typedef struct {
809  char *clTRID;
810  char *svTRID;
811  int rc;
812  char *msg;
813  char *xml_in;
815  /* parsed_doc and xpath_ctx are needed for error reporting. */
816  void *parsed_doc;
817  void *xpath_ctx;
819  short noresdata;
822 
832  void *data;
834 
835 
836 /* ********************************************************************* */
837 
845 void epplog(epp_context *epp_ctx, epp_loglevel level, const char *fmt, ...);
846 
863 void *epp_malloc(void *pool, unsigned size);
864 
872 void *epp_calloc(void *pool, unsigned size);
873 
882 char *epp_strdup(void *pool, const char *str);
883 
896 char *epp_strcat(void *pool, const char *str1, const char *str2);
897 
905 char *epp_sprintf(void *pool, const char *fmt, ...);
906 
911 #endif /* EPP_COMMON_H */
qhead tech
List of technical contacts for keyset.
Definition: epp_common.h:693
char * id
Id of wanted contact (input).
Definition: epp_common.h:506
unsigned char alg
algorithm type
Definition: epp_common.h:405
char * credit
Credit.
Definition: epp_common.h:433
epp_identType identtype
Type of unique ident.
Definition: epp_common.h:723
qhead admin
Admin contact for domain.
Definition: epp_common.h:667
char * xml_in
XML as it is received from client.
Definition: epp_common.h:813
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:684
char * authInfo
Authorization information.
Definition: epp_common.h:580
ICO.
Definition: epp_common.h:415
char * authInfo
Authorization information.
Definition: epp_common.h:672
The struct represents one epp error in ExtValue element.
Definition: epp_common.h:197
char * clID
Owner&#39;s ID.
Definition: epp_common.h:556
unsigned int count
Count of results.
Definition: epp_common.h:796
char * zone
True if object is available, false otherwise.
Definition: epp_common.h:432
Technical check results.
Definition: epp_common.h:463
char * msg
Text message coresponding to return code.
Definition: epp_common.h:812
char * city
City.
Definition: epp_common.h:357
Number of passport.
Definition: epp_common.h:413
char * authInfo
Authorization information.
Definition: epp_common.h:719
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:547
int period
Renew period.
Definition: epp_common.h:706
char * exDate
Expiration date of domain.
Definition: epp_common.h:675
char * id
Id of wanted keyset (input).
Definition: epp_common.h:690
qitem * next
Link to next item in a queue.
Definition: epp_common.h:294
Domain changed.
Definition: epp_common.h:473
Delete parameters.
Definition: epp_common.h:698
qitem * cur
Currently selected item.
Definition: epp_common.h:306
qhead rem_tech
Technical contacts to be removed.
Definition: epp_common.h:755
qhead extensions
List of domain extensions.
Definition: epp_common.h:708
Errors which are not serious but should be logged.
Definition: epp_common.h:34
qhead status
Keyset&#39;s status.
Definition: epp_common.h:573
Definition: epp_common.h:448
char * upID
ID of last updater.
Definition: epp_common.h:517
Info nsset parameters.
Definition: epp_common.h:551
char * nsset
Nsset of domain.
Definition: epp_common.h:668
qhead tech
List of technical contacts for nsset.
Definition: epp_common.h:564
char * roid
ROID of object.
Definition: epp_common.h:572
Error, the module is not in operational state.
Definition: epp_common.h:32
char * curExDate
Current expiration date.
Definition: epp_common.h:705
char * epp_strdup(void *pool, const char *str)
Duplicate string from argument, the memory will be allocated from memory pool.
Definition: mod_eppd.c:234
int publish
Flag determining if this domain can be published in the ENUM dictionary.
Definition: epp_common.h:445
char * svTRID
server&#39;s TRID
Definition: epp_common.h:810
qhead zonecredits
List of credits for individual zones.
Definition: epp_common.h:774
qhead addr
List of ip addresses.
Definition: epp_common.h:398
Domain expired.
Definition: epp_common.h:466
domain_ext_type
Enumeration of implemented extensions.
Definition: epp_common.h:121
unsigned char org
Contact&#39;s organization is exceptional.
Definition: epp_common.h:382
qhead handles
List of handles.
Definition: epp_common.h:786
char * id
Id of wanted nsset (input).
Definition: epp_common.h:680
char * registrant
Registrant of domain.
Definition: epp_common.h:534
This is the default log level.
Definition: epp_common.h:35
char * name
FQDN of wanted domain (input).
Definition: epp_common.h:729
char * nsset
Nsset of domain.
Definition: epp_common.h:734
Credit of registrator is low.
Definition: epp_common.h:471
void * conn
Connection handler.
Definition: epp_common.h:46
unsigned long long count
Count of waiting messages.
Definition: epp_common.h:587
Poll acknoledge parameters.
Definition: epp_common.h:641
qhead tech
List of technical contacts for keyset.
Definition: epp_common.h:582
char * upDate
Last updated.
Definition: epp_common.h:518
unsigned long long count
Count of waiting messages.
Definition: epp_common.h:643
char * upDate
Last updated.
Definition: epp_common.h:560
epp_postalInfo pi
Postal info.
Definition: epp_common.h:650
char * value
Status name.
Definition: epp_common.h:346
epp_postalInfo pi
Postal info.
Definition: epp_common.h:510
Structure for holding status&#39; names and values.
Definition: epp_common.h:345
char * vat
VAT tax ID.
Definition: epp_common.h:656
char * ext_enumval
Domain validation.
Definition: epp_common.h:444
char * fax
Fax number.
Definition: epp_common.h:717
char * name
Name.
Definition: epp_common.h:354
int position
Position of faulty element if it is part of list.
Definition: epp_common.h:216
epp_discl discl
Disclose information section.
Definition: epp_common.h:655
This structure is central to the concept of the whole module.
Definition: epp_common.h:808
qhead rem_admin
Admin contacts to be removed.
Definition: epp_common.h:732
char * notify_email
Notification email.
Definition: epp_common.h:525
char * voice
Telephone number.
Definition: epp_common.h:511
Domain was deleted.
Definition: epp_common.h:470
char * exDate
Expiration date.
Definition: epp_common.h:542
qhead add_ds
Signatures to be added.
Definition: epp_common.h:439
char * crDate
Creation date.
Definition: epp_common.h:576
Structure holding answer to EPP check command.
Definition: epp_common.h:425
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:386
char * trDate
Last transfered.
Definition: epp_common.h:561
Domain validation will expire soon.
Definition: epp_common.h:467
Info keyset parameters.
Definition: epp_common.h:569
char * upDate
Last updated.
Definition: epp_common.h:578
char * authInfo
Authorization information.
Definition: epp_common.h:764
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:494
epp_timeunit unit
Registration period&#39;s unit.
Definition: epp_common.h:671
Structure holding answer to EPP creditInfo command.
Definition: epp_common.h:431
char * authInfo
Authorization information.
Definition: epp_common.h:681
Requests price/count info.
Definition: epp_common.h:472
Create nsset parameters.
Definition: epp_common.h:679
DNSSEC extension used for updates.
Definition: epp_common.h:437
char * handle
Id of wanted nsset (output).
Definition: epp_common.h:553
qhead chg_ds
Signatures to be changed.
Definition: epp_common.h:438
Contact was deleted because not used.
Definition: epp_common.h:458
void * xpath_ctx
XPath context.
Definition: epp_common.h:817
qhead keys
List of DNS Key records.
Definition: epp_common.h:581
Domain validation expired.
Definition: epp_common.h:468
Date of birth.
Definition: epp_common.h:416
unsigned short flags
key properties.
Definition: epp_common.h:403
char * upDate
Last updated.
Definition: epp_common.h:544
char * registrant
Registrant of domain.
Definition: epp_common.h:666
epp_identType
Type of identification number used in contact object.
Definition: epp_common.h:410
char * id
Handle of object.
Definition: epp_common.h:769
char * crDate
Creation date.
Definition: epp_common.h:558
char * reason
Human readable reason of error.
Definition: epp_common.h:214
qhead tech
List of technical contacts for nsset.
Definition: epp_common.h:683
char * crDate
Creation date of contact.
Definition: epp_common.h:660
char * id
Id of transfered object.
Definition: epp_common.h:763
char * roid
ROID of object.
Definition: epp_common.h:508
char * id
Id of wanted nsset (input).
Definition: epp_common.h:552
char * authInfo
Authorization information.
Definition: epp_common.h:546
char * clTRID
client&#39;s TRID
Definition: epp_common.h:809
char * ident
Contact&#39;s unique ident.
Definition: epp_common.h:722
char * msgid
ID of acknoledged message.
Definition: epp_common.h:642
char * trDate
Last transfered.
Definition: epp_common.h:519
Create contact parameters.
Definition: epp_common.h:648
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:252
unsigned lang
Language.
Definition: epp_common.h:495
char * handle
Search key.
Definition: epp_common.h:795
char * keyset
Keyset for domain.
Definition: epp_common.h:538
Nsset was transferred.
Definition: epp_common.h:459
int level
Report level.
Definition: epp_common.h:565
Domain was transferred.
Definition: epp_common.h:464
char * voice
Telephone number.
Definition: epp_common.h:651
qhead errors
List of validation errors or errors from central repository.
Definition: epp_common.h:821
char * trDate
Last transfered.
Definition: epp_common.h:545
Test parameters.
Definition: epp_common.h:778
Update contact parameters.
Definition: epp_common.h:713
KeySet was transferred.
Definition: epp_common.h:461
char * id
Id of wanted contact (input).
Definition: epp_common.h:649
KeySet was deleted because not used.
Definition: epp_common.h:462
int level
Report level.
Definition: epp_common.h:685
NSSet changed.
Definition: epp_common.h:474
Number of ID card.
Definition: epp_common.h:412
epp_ext_enum ext_enum
Extensions for ENUM.
Definition: epp_common.h:451
qhead extensions
List of domain extensions.
Definition: epp_common.h:673
char * id
Id of wanted keyset (input).
Definition: epp_common.h:753
char * cc
Country code.
Definition: epp_common.h:360
char * qdate
Date of message submission.
Definition: epp_common.h:589
KeySet changed.
Definition: epp_common.h:475
char * id
Id of wanted keyset (input).
Definition: epp_common.h:570
qhead ns
List of nameservers.
Definition: epp_common.h:682
epp_identType identtype
Type of unique ident.
Definition: epp_common.h:524
char * handle
Id of wanted keyset (output).
Definition: epp_common.h:571
char * id
ID of tested nsset.
Definition: epp_common.h:779
char * notify_email
Notification email.
Definition: epp_common.h:724
void * epp_calloc(void *pool, unsigned size)
Allocate memory from memory pool and prezero it.
Definition: mod_eppd.c:216
Create domain parameters.
Definition: epp_common.h:664
unsigned char protocol
= 3
Definition: epp_common.h:404
DNS Key record - http://rfc-ref.org/RFC-TEXTS/4034/chapter2.html.
Definition: epp_common.h:402
char * pw
Password.
Definition: epp_common.h:491
Contact was transferred.
Definition: epp_common.h:457
Parameters of obsolete command &#39;list&#39; and getResults command.
Definition: epp_common.h:785
Login parameters.
Definition: epp_common.h:489
void * pool
Pool for allocations.
Definition: epp_common.h:45
char * id
ID of object to be deleted.
Definition: epp_common.h:699
SendAuthInfo parameters.
Definition: epp_common.h:768
char * roid
ROID of object.
Definition: epp_common.h:532
char * epp_sprintf(void *pool, const char *fmt,...)
Print formatted string.
Definition: mod_eppd.c:269
char * clID
Owner&#39;s ID.
Definition: epp_common.h:574
epp_pollType
Type of poll message.
Definition: epp_common.h:456
Structure gathers postal info about contact.
Definition: epp_common.h:353
Update keyset parameters.
Definition: epp_common.h:752
epp_timeunit unit
Registration period&#39;s unit.
Definition: epp_common.h:707
char * exDate
New expiration date.
Definition: epp_common.h:709
domain_ext_type extType
Identifier of extension.
Definition: epp_common.h:449
qhead ids
IDs of checked objects.
Definition: epp_common.h:500
qhead add_ns
Nameservers to be added.
Definition: epp_common.h:745
char * authInfo
Authorization information.
Definition: epp_common.h:736
Check contact, domain and nsset parameters.
Definition: epp_common.h:499
qhead names
Fqdns of domains to be tested with nsset.
Definition: epp_common.h:780
Info contact parameters.
Definition: epp_common.h:505
char * org
Organization.
Definition: epp_common.h:355
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:674
unsigned char vat
Contact&#39;s VAT is exceptional.
Definition: epp_common.h:387
epp_discl discl
Disclose information section.
Definition: epp_common.h:720
Update domain parameters.
Definition: epp_common.h:728
char * vat
VAT tax ID.
Definition: epp_common.h:721
char * email
Email address.
Definition: epp_common.h:718
void * parsed_doc
Parsed XML document tree.
Definition: epp_common.h:816
Definition of queue item type.
Definition: epp_common.h:293
epp_lang
definition of languages (english is default)
Definition: epp_common.h:139
char * crID
ID of creator.
Definition: epp_common.h:540
char * fax
Fax number.
Definition: epp_common.h:652
Disclose information of contact.
Definition: epp_common.h:371
epp_errorspec spec
Specification of surrounding XML tags.
Definition: epp_common.h:205
int level
Report level.
Definition: epp_common.h:748
unsigned char voice
Contact&#39;s voice (tel.
Definition: epp_common.h:384
qhead rem_tmpcontact
Temporary contact used for migration.
Definition: epp_common.h:733
epp_identType identtype
Type of unique ident.
Definition: epp_common.h:658
qhead streets
3x street.
Definition: epp_common.h:356
char * authInfo
Authorization information.
Definition: epp_common.h:520
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:151
unsigned char ident
Contact&#39;s ident is exceptional.
Definition: epp_common.h:388
char * email
Email address.
Definition: epp_common.h:653
qhead add_dnskey
DNSKEYs to be added.
Definition: epp_common.h:756
char * handle
FQDN of wanted domain (output).
Definition: epp_common.h:531
qhead rem_ns
Nameservers to be removed.
Definition: epp_common.h:746
char * crDate
Creation date.
Definition: epp_common.h:516
qhead rem_ds
Signatures to be removed.
Definition: epp_common.h:440
Number assigned by "ministry of work and ...".
Definition: epp_common.h:414
char * registrant
Registrant of domain.
Definition: epp_common.h:730
char * voice
Telephone number.
Definition: epp_common.h:716
char * clID
Owner&#39;s ID.
Definition: epp_common.h:514
qhead add_tech
Technical contacts to be added.
Definition: epp_common.h:743
unsigned char notifyEmail
Contact&#39;s notification emai is exceptional.
Definition: epp_common.h:390
Renew domain parameters.
Definition: epp_common.h:703
short noresdata
True if there should be no resdata section or msgQ section.
Definition: epp_common.h:819
char * authInfo
Authorization information.
Definition: epp_common.h:654
char * newmsgid
ID of first message in a queue.
Definition: epp_common.h:644
char * sp
State or province.
Definition: epp_common.h:358
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:579
char * clID
Client ID.
Definition: epp_common.h:490
char * pc
Postal code.
Definition: epp_common.h:359
Nsset was deleted because not used.
Definition: epp_common.h:460
char * crDate
Creation date of keyset.
Definition: epp_common.h:694
char * crID
ID of creator.
Definition: epp_common.h:575
Domain was outaged from zone.
Definition: epp_common.h:469
unsigned char fax
Contact&#39;s fax number is exceptional.
Definition: epp_common.h:385
qhead tmpcontact
Temporary contact used for migration.
Definition: epp_common.h:535
char * authInfo
Authorization information.
Definition: epp_common.h:691
char * name
FQDN of wanted domain (input).
Definition: epp_common.h:530
char * crID
ID of creator.
Definition: epp_common.h:515
void epplog(epp_context *epp_ctx, epp_loglevel level, const char *fmt,...)
Write a log message to eppd log file.
Definition: mod_eppd.c:301
Definition: epp_common.h:443
int level
Level of tests (-1 if not overriden).
Definition: epp_common.h:781
char * upID
ID of last updater.
Definition: epp_common.h:559
qhead admin
Admin contact for domain.
Definition: epp_common.h:536
qhead ns
List of nameservers.
Definition: epp_common.h:563
Poll request parameters.
Definition: epp_common.h:586
void * epp_malloc(void *pool, unsigned size)
Allocate memory from memory pool.
Definition: mod_eppd.c:198
qhead rem_tech
Technical contacts to be removed.
Definition: epp_common.h:744
char * id
Id of wanted nsset (input).
Definition: epp_common.h:742
char * email
Email address.
Definition: epp_common.h:513
char * nsset
Nsset of domain.
Definition: epp_common.h:537
epp_command_type type
Identification of epp command.
Definition: epp_common.h:827
Nameserver has a name and possibly more than one ip address.
Definition: epp_common.h:396
char * vat
VAT tax ID.
Definition: epp_common.h:522
char * name
fqdn of nameserver.
Definition: epp_common.h:397
qhead status
Nsset&#39;s status.
Definition: epp_common.h:555
char * newPW
New password.
Definition: epp_common.h:492
qhead avails
Booleans + reasons.
Definition: epp_common.h:501
All Info functions, which accept single key on input and count on output (domainsByNsset, domainsByContact, nssetsByContact, nssetsByNs).
Definition: epp_common.h:794
qhead rem_dnskey
DNSKEYs to be removed.
Definition: epp_common.h:757
qhead keys
List of DNS Key records.
Definition: epp_common.h:692
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:811
char * text
Status value.
Definition: epp_common.h:347
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:381
qhead status
Domain&#39;s status.
Definition: epp_common.h:533
Contents of requests and responses are logged.
Definition: epp_common.h:36
Domain will expire in near future.
Definition: epp_common.h:465
Info domain parameters.
Definition: epp_common.h:529
Create keyset parameters.
Definition: epp_common.h:689
char * value
Client provided input which caused the error.
Definition: epp_common.h:199
char * authInfo
Authorization information.
Definition: epp_common.h:747
epp_object_type
Enumeration of EPP objects which this server operates on.
Definition: epp_common.h:128
char * name
FQDN of wanted domain (input).
Definition: epp_common.h:665
char * clID
Owner&#39;s ID.
Definition: epp_common.h:539
void * data
Command data (Input + output parameters for all possible epp commands).
Definition: epp_common.h:832
epp_postalInfo * pi
Postal info.
Definition: epp_common.h:715
char * msgid
ID of next message in a queue.
Definition: epp_common.h:588
char * handle
Id of wanted contact (output).
Definition: epp_common.h:507
char * name
Name of renewed domain.
Definition: epp_common.h:704
qhead add_admin
Admin contacts to be added.
Definition: epp_common.h:731
Queue structure used on countless places throughout the program.
Definition: epp_common.h:303
char * keyset
Keyset for domain.
Definition: epp_common.h:669
char * id
Id of wanted contact (input).
Definition: epp_common.h:714
Update nsset parameters.
Definition: epp_common.h:741
char * upID
ID of last updater.
Definition: epp_common.h:577
char * notify_email
Notification email.
Definition: epp_common.h:659
char * ident
Contact&#39;s unique ident.
Definition: epp_common.h:523
char * crDate
Creation date.
Definition: epp_common.h:541
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:754
qitem * body
Items in a queue.
Definition: epp_common.h:305
CreditInfo parameters.
Definition: epp_common.h:773
char * upID
ID of last updater.
Definition: epp_common.h:543
unsigned char addr
Contact&#39;s address is exceptional.
Definition: epp_common.h:383
char * authInfo
Authorization information.
Definition: epp_common.h:758
int count
Optimization for length() function.
Definition: epp_common.h:304
char * roid
ROID of object.
Definition: epp_common.h:554
int period
Registration period in months.
Definition: epp_common.h:670
qhead objuri
currently not used
Definition: epp_common.h:493
void * content
Pointer to content of item.
Definition: epp_common.h:295
qhead status
Contact&#39;s status.
Definition: epp_common.h:509
char * authInfo
Authorization information.
Definition: epp_common.h:562
char * public_key
base64 encoded public key
Definition: epp_common.h:406
qhead extensions
List of domain extensions.
Definition: epp_common.h:737
char * crID
ID of creator.
Definition: epp_common.h:557
char * keyset
Keyset of domain.
Definition: epp_common.h:735
Unknown value can also mean undefined.
Definition: epp_common.h:411
Structure containing result of one technical test.
Definition: epp_common.h:479
Transfer parameters.
Definition: epp_common.h:762
char * ident
Contact&#39;s unique ident.
Definition: epp_common.h:657
char * fax
Fax number.
Definition: epp_common.h:512
epp_discl discl
Disclose information section.
Definition: epp_common.h:521
epp_pollType type
Type of poll message.
Definition: epp_common.h:590