fred-mod-eppd
epp_common.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2018 CZ.NIC, z. s. p. o.
3  *
4  * This file is part of FRED.
5  *
6  * FRED is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * FRED is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with FRED. If not, see <https://www.gnu.org/licenses/>.
18  */
28 #ifndef EPP_COMMON_H
29 #define EPP_COMMON_H
30 
32 typedef enum {
33  EPP_FATAL = 1,
38 } epp_loglevel;
39 
45 typedef struct
46 {
47  void *pool;
48  void *conn;
49  int session;
50 } epp_context;
51 
52 typedef enum
53 {
54  dcpa_all,
55  dcpa_none,
56 } epp_DataCollectionPolicyAccess;
57 
62 typedef enum {
63  EPP_UNKNOWN_CMD = 0,
64  /*
65  * 'dummy' is not a command from point of view of epp client, but is
66  * command from central repository's point of view
67  */
68  EPP_DUMMY,
69  /* session commands */
70  EPP_LOGIN,
71  EPP_LOGOUT,
72  /* query commands */
73  EPP_CHECK_CONTACT,
74  EPP_CHECK_DOMAIN,
75  EPP_CHECK_NSSET,
76  EPP_CHECK_KEYSET,
77  EPP_INFO_CONTACT,
78  EPP_INFO_DOMAIN,
79  EPP_INFO_NSSET,
80  EPP_INFO_KEYSET,
81  EPP_LIST_CONTACT,
82  EPP_LIST_DOMAIN,
83  EPP_LIST_NSSET,
84  EPP_LIST_KEYSET,
85  EPP_POLL_REQ,
86  EPP_POLL_ACK,
87  /* transform commands */
88  EPP_CREATE_CONTACT,
89  EPP_CREATE_DOMAIN,
90  EPP_CREATE_NSSET,
91  EPP_CREATE_KEYSET,
92  EPP_DELETE_CONTACT,
93  EPP_DELETE_DOMAIN,
94  EPP_DELETE_NSSET,
95  EPP_DELETE_KEYSET,
96  EPP_UPDATE_CONTACT,
97  EPP_UPDATE_DOMAIN,
98  EPP_UPDATE_NSSET,
99  EPP_UPDATE_KEYSET,
100  EPP_TRANSFER_CONTACT,
101  EPP_TRANSFER_DOMAIN,
102  EPP_TRANSFER_NSSET,
103  EPP_TRANSFER_KEYSET,
104  EPP_RENEW_DOMAIN,
105  /* protocol extensions */
106  EPP_SENDAUTHINFO_CONTACT,
107  EPP_SENDAUTHINFO_DOMAIN,
108  EPP_SENDAUTHINFO_NSSET,
109  EPP_SENDAUTHINFO_KEYSET,
110  EPP_TEST_NSSET,
111  EPP_CREDITINFO,
112  /* info functions */
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,
123  EPP_INFO_GET_RESULTS
125 
129 typedef enum { EPP_EXT_ENUMVAL, EPP_EXT_MAILING_ADDR } epp_ext_type;
130 
134 typedef enum {
135  EPP_UNKNOWN_OBJ = 0,
136  EPP_CONTACT,
137  EPP_DOMAIN,
138  EPP_NSSET,
139  EPP_KEYSET
141 
145 typedef enum {
146  LANG_EN = 0,
147  LANG_CS,
148 } epp_lang;
149 
157 typedef enum {
158  errspec_poll_msgID = 0,
159  errspec_contact_handle,
160  errspec_contact_cc,
161  errspec_nsset_handle,
162  errspec_nsset_tech,
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,
170  errspec_keyset_tech,
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,
177  errspec_domain_fqdn,
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,
189  /* input errors */
190  errspec_not_valid,
191  errspec_poll_msgID_missing,
192  errspec_contact_identtype_missing,
193  errspec_transfer_op
194 } epp_errorspec;
195 
203 typedef struct
204 {
206  char *value;
221  char *reason;
223  int position;
224 } epp_error;
225 
232 typedef enum
233 {
234  incorrect_epp_action_type = 0,
235  ClientLogin = 100,
236  ClientLogout = 101,
237  ClientGreeting = 105,
238  PollAcknowledgement = 120,
239  PollResponse = 121,
240  ContactCheck = 200,
241  ContactInfo = 201,
242  ContactDelete = 202,
243  ContactUpdate = 203,
244  ContactCreate = 204,
245  ContactTransfer = 205,
246  NSsetCheck = 400,
247  NSsetInfo = 401,
248  NSsetDelete = 402,
249  NSsetUpdate = 403,
250  NSsetCreate = 404,
251  NSsetTransfer = 405,
252  DomainCheck = 500,
253  DomainInfo = 501,
254  DomainDelete = 502,
255  DomainUpdate = 503,
256  DomainCreate = 504,
257  DomainTransfer = 505,
258  DomainRenew = 506,
259  DomainTrade = 507,
260  KeysetCheck = 600,
261  KeysetInfo = 601,
262  KeysetDelete = 602,
263  KeysetUpdate = 603,
264  KeysetCreate = 604,
265  KeysetTransfer = 605,
266  UnknownAction = 1000,
267  ListContact = 1002,
268  ListNSset = 1004,
269  ListDomain = 1005,
270  ListKeySet = 1006,
271  ClientCredit = 1010,
272  nssetTest = 1012,
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
289 
298 typedef struct qitem
299 {
300  struct qitem *next;
301  void *content;
302 } qitem;
303 
309 typedef struct
310 {
311  int count;
314 } qhead;
315 
317 #define q_length(_qhead) ((_qhead).count)
318 
319 #define q_next(_qhead) ((_qhead)->cur = ((_qhead)->cur) ? (_qhead)->cur->next : NULL)
320 
321 #define q_content(_qhead) ((_qhead)->cur->content)
322 
323 #define q_reset(_qhead) ((_qhead)->cur = (_qhead)->body)
324 
328 #define q_foreach(_qhead) \
329  for ((_qhead)->cur = (_qhead)->body; (_qhead)->cur != NULL; (_qhead)->cur = (_qhead)->cur->next)
330 
338 int q_add(void *pool, qhead *head, void *data);
339 
343 /* ********************************************************************* */
344 
345 
349 typedef struct
350 {
351  char *value;
352  char *text;
353 } epp_status;
354 
358 typedef struct
359 {
360  char *name;
361  char *org;
363  char *city;
364  char *sp;
365  char *pc;
366  char *cc;
368 
369 typedef enum
370 {
371  public_data,
372  private_data,
373  unused_privacy_policy
374 } epp_PrivacyPolicy;
375 
379 typedef struct
380 {
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;
390 } epp_discl;
391 
392 typedef struct
393 {
394  unsigned name:1;
395  unsigned organization:1;
396  unsigned address:1;
397  unsigned telephone:1;
398  unsigned fax:1;
399  unsigned email:1;
400  unsigned vat:1;
401  unsigned ident:1;
402  unsigned notify_email:1;
404 
408 typedef struct
409 {
411  epp_DataCollectionPolicyAccess data_collection_policy_access;
412  epp_controlled_privacy_data_mask contact_info_available_disclose_elements;
413  epp_controlled_privacy_data_mask contact_create_available_disclose_elements;
414  epp_controlled_privacy_data_mask contact_update_available_disclose_elements;
416 
420 typedef struct
421 {
422  char *name;
424 } epp_ns;
425 
427 typedef struct
428 {
429  unsigned short flags;
430  unsigned char protocol;
431  unsigned char alg;
432  char *public_key;
433 } epp_dnskey;
434 
436 typedef enum
437 {
444 } epp_identType;
445 
446 typedef enum { TIMEUNIT_MONTH, TIMEUNIT_YEAR } epp_timeunit;
447 
449 typedef struct
450 {
451  int avail;
452  char *reason;
453 } epp_avail;
454 
456 typedef struct
457 {
458  char *zone;
459  char *credit;
461 
462 typedef struct
463 {
464  char *ext_enumval;
465  int publish;
467 } epp_ext_enum;
468 
469 typedef struct
470 {
471  char *Street1;
472  char *Street2;
473  char *Street3;
474  char *City;
476  char *PostalCode;
477  char *CountryCode;
479 
480 typedef enum { mailing_addr_info, mailing_addr_set, mailing_addr_remove } epp_mailingAddrCommand;
481 
484 typedef struct
485 {
487 
488 typedef struct
489 {
490  epp_mailingAddrCommand command;
491  union
492  {
496  } data;
498 
499 
500 typedef struct
501 {
503  union
504  {
507  } ext;
508 } epp_ext_item;
509 
511 typedef enum {
532 } epp_pollType;
533 
535 typedef struct
536 {
537  char *testname;
538  int status;
539  char *note;
541 
542 /* ********************************************************************* */
543 
544 
546 typedef struct
547 {
548  char *clID;
549  char *pw;
550  char *newPW;
553  unsigned lang;
554 } epps_login;
555 
557 typedef struct
558 {
561 } epps_check;
562 
564 typedef struct
565 {
566  char *id;
567  char *handle;
568  char *roid;
571  char *voice;
572  char *fax;
573  char *email;
574  char *clID;
575  char *crID;
576  char *crDate;
577  char *upID;
578  char *upDate;
579  char *trDate;
580  char *authInfo;
582  char *vat;
583  char *ident;
585  char *notify_email;
588 
590 typedef struct
591 {
592  char *name;
593  char *handle;
594  char *roid;
596  char *registrant;
599  char *nsset;
600  char *keyset;
601  char *clID;
602  char *crID;
603  char *crDate;
604  char *exDate;
605  char *upID;
606  char *upDate;
607  char *trDate;
608  char *authInfo;
611 
613 typedef struct
614 {
615  char *id;
616  char *handle;
617  char *roid;
619  char *clID;
620  char *crID;
621  char *crDate;
622  char *upID;
623  char *upDate;
624  char *trDate;
625  char *authInfo;
628  int level;
630 
632 typedef struct
633 {
634  char *id;
635  char *handle;
636  char *roid;
638  char *clID;
639  char *crID;
640  char *crDate;
641  char *upID;
642  char *upDate;
643  char *trDate;
644  char *authInfo;
648 
650 typedef struct
651 {
652  unsigned long long count;
653  char *msgid;
654  char *qdate;
656  union
657  {
658  char *handle;
659  struct
660  {
661  char *handle;
662  char *date;
663  char *clID;
664  } hdt;
665  struct
666  {
667  char *handle;
668  char *date;
669  } hd;
670  struct
671  {
672  char *handle;
673  qhead fqdns;
674  qhead tests;
675  } tc;
676  struct
677  {
678  char *zone;
679  char *limit;
680  char *credit;
681  } lc;
682  struct
683  {
684  char *period_from;
685  char *period_to;
686  unsigned long long total_free_count;
687  unsigned long long used_count;
688  char *price;
689  } rfi;
690  struct
691  {
692  char *optrid;
693  unsigned long long pollid;
694  epps_info_contact old_data;
695  epps_info_contact new_data;
696  } upc;
697  struct
698  {
699  char *optrid;
700  unsigned long long pollid;
701  epps_info_domain old_data;
702  epps_info_domain new_data;
703  } upd;
704  struct
705  {
706  char *optrid;
707  unsigned long long pollid;
708  epps_info_nsset old_data;
709  epps_info_nsset new_data;
710  } upn;
711  struct
712  {
713  char *optrid;
714  unsigned long long pollid;
715  epps_info_keyset old_data;
716  epps_info_keyset new_data;
717  } upk;
718  } msg;
719 } epps_poll_req;
720 
722 typedef struct
723 {
724  char *msgid;
725  unsigned long long count;
726  char *newmsgid;
727 } epps_poll_ack;
728 
730 typedef struct
731 {
732  char *id;
734  char *voice;
735  char *fax;
736  char *email;
737  char *authInfo;
739  char *vat;
740  char *ident;
742  char *notify_email;
743  char *crDate;
746 
748 typedef struct
749 {
750  char *name;
751  char *registrant;
753  char *nsset;
754  char *keyset;
755  int period;
756  epp_timeunit unit;
757  char *authInfo;
759  char *crDate;
760  char *exDate;
762 
764 typedef struct
765 {
766  char *id;
767  char *authInfo;
770  char *crDate;
771  int level;
773 
775 typedef struct
776 {
777  char *id;
778  char *authInfo;
781  char *crDate;
783 
785 typedef struct
786 {
787  char *id;
788 } epps_delete;
789 
791 typedef struct
792 {
793  char *name;
794  char *curExDate;
795  int period;
796  epp_timeunit unit;
798  char *exDate;
799 } epps_renew;
800 
802 typedef struct
803 {
804  char *id;
806  char *voice;
807  char *fax;
808  char *email;
809  char *authInfo;
810  unsigned char discl_update;
812  char *vat;
813  char *ident;
815  char *notify_email;
818 
820 typedef struct
821 {
822  char *name;
823  char *registrant;
827  char *nsset;
828  char *keyset;
829  char *authInfo;
832 
834 typedef struct
835 {
836  char *id;
841  char *authInfo;
842  int level;
844 
846 typedef struct
847 {
848  char *id;
853  char *authInfo;
855 
857 typedef struct
858 {
859  char *id;
860  char *authInfo;
861 } epps_transfer;
862 
864 typedef struct
865 {
866  char *id;
868 
870 typedef struct
871 {
874 
876 typedef struct
877 {
878  char *id;
880  int level;
881 } epps_test;
882 
884 typedef struct
885 {
887 } epps_list;
888 
894 typedef struct
895 {
896  char *handle;
897  unsigned int count;
898 } epps_info;
899 
909 typedef struct
910 {
911  char *clTRID;
912  char *svTRID;
913  int rc;
914  char *msg;
915  char *xml_in;
917  /* parsed_doc and xpath_ctx are needed for error reporting. */
918  void *parsed_doc;
919  void *xpath_ctx;
921  short noresdata;
924 
935  void *data;
937 
938 
939 /* ********************************************************************* */
940 
948 void epplog(epp_context *epp_ctx, epp_loglevel level, const char *fmt, ...);
949 
966 void *epp_malloc(void *pool, unsigned size);
967 
975 void *epp_calloc(void *pool, unsigned size);
976 
985 char *epp_strdup(void *pool, const char *str);
986 
999 char *epp_strcat(void *pool, const char *str1, const char *str2);
1000 
1008 char *epp_sprintf(void *pool, const char *fmt, ...);
1009 
1014 #endif /* EPP_COMMON_H */
qhead tech
Definition: epp_common.h:780
char * id
Definition: epp_common.h:566
unsigned char alg
Definition: epp_common.h:431
Definition: epp_common.h:298
char * credit
Definition: epp_common.h:459
Definition: epp_common.h:488
epp_identType identtype
Definition: epp_common.h:814
qhead admin
Definition: epp_common.h:752
char * Street2
street - line #2
Definition: epp_common.h:472
char * xml_in
Definition: epp_common.h:915
char * crDate
Definition: epp_common.h:770
char * authInfo
Definition: epp_common.h:644
Definition: epp_common.h:442
qhead extensions
Definition: epp_common.h:586
char * authInfo
Definition: epp_common.h:757
Definition: epp_common.h:392
Definition: epp_common.h:203
char * clID
Definition: epp_common.h:619
unsigned int count
Definition: epp_common.h:897
char * zone
Definition: epp_common.h:458
Definition: epp_common.h:528
Definition: epp_common.h:518
char * msg
Definition: epp_common.h:914
char * city
Definition: epp_common.h:363
Definition: epp_common.h:440
char * authInfo
Definition: epp_common.h:809
char * reason
Definition: epp_common.h:452
qhead extensions
Definition: epp_common.h:609
int period
Definition: epp_common.h:795
char * exDate
Definition: epp_common.h:760
epp_ext_mailingAddr ext_mailing_addr
Definition: epp_common.h:506
char * id
Definition: epp_common.h:777
Definition: epp_common.h:529
Definition: epp_common.h:785
qitem * cur
Definition: epp_common.h:313
qhead rem_tech
Definition: epp_common.h:850
qhead extensions
Definition: epp_common.h:797
Definition: epp_common.h:35
qhead status
Definition: epp_common.h:637
Definition: epp_common.h:500
char * upID
Definition: epp_common.h:577
Definition: epp_common.h:613
char * nsset
Definition: epp_common.h:753
qhead tech
Definition: epp_common.h:627
char * roid
Definition: epp_common.h:636
Definition: epp_common.h:33
char * curExDate
Definition: epp_common.h:794
char * epp_strdup(void *pool, const char *str)
Definition: epp_test.c:155
int publish
Definition: epp_common.h:465
char * svTRID
Definition: epp_common.h:912
qhead zonecredits
Definition: epp_common.h:872
qhead addr
Definition: epp_common.h:423
Definition: epp_common.h:521
qhead handles
Definition: epp_common.h:886
char * id
Definition: epp_common.h:766
char * registrant
Definition: epp_common.h:596
Definition: epp_common.h:36
char * name
Definition: epp_common.h:822
char * nsset
Definition: epp_common.h:827
Definition: epp_common.h:526
void * conn
Definition: epp_common.h:48
unsigned long long count
Definition: epp_common.h:652
Definition: epp_common.h:722
qhead tech
Definition: epp_common.h:646
char * upDate
Definition: epp_common.h:578
unsigned long long count
Definition: epp_common.h:725
char * upDate
Definition: epp_common.h:623
epp_postalInfo pi
Definition: epp_common.h:733
char * value
Definition: epp_common.h:351
epp_postalInfo pi
Definition: epp_common.h:570
Definition: epp_common.h:349
char * vat
Definition: epp_common.h:739
char * ext_enumval
Definition: epp_common.h:464
epp_ext_type
Definition: epp_common.h:129
char * fax
Definition: epp_common.h:807
char * name
Definition: epp_common.h:360
qhead extensions
Definition: epp_common.h:816
int position
Definition: epp_common.h:223
epp_discl discl
Definition: epp_common.h:738
Definition: epp_common.h:909
qhead rem_admin
Definition: epp_common.h:825
char * notify_email
Definition: epp_common.h:585
char * voice
Definition: epp_common.h:571
Definition: epp_common.h:525
char * exDate
Definition: epp_common.h:604
char * crDate
Definition: epp_common.h:640
Definition: epp_common.h:449
Definition: epp_common.h:34
char * trDate
Definition: epp_common.h:624
Definition: epp_common.h:522
Definition: epp_common.h:632
char * upDate
Definition: epp_common.h:642
char * authInfo
Definition: epp_common.h:860
epp_action_type
Definition: epp_common.h:232
qhead exturi
Definition: epp_common.h:552
epp_timeunit unit
Definition: epp_common.h:756
Definition: epp_common.h:456
char * authInfo
Definition: epp_common.h:767
Definition: epp_common.h:527
Definition: epp_common.h:764
char * handle
Definition: epp_common.h:616
char * Street3
street - line #3
Definition: epp_common.h:473
Definition: epp_common.h:513
void * xpath_ctx
Definition: epp_common.h:919
qhead keys
Definition: epp_common.h:645
Definition: epp_common.h:523
Definition: epp_common.h:443
unsigned short flags
Definition: epp_common.h:429
char * upDate
Definition: epp_common.h:606
char * registrant
Definition: epp_common.h:751
epp_identType
Definition: epp_common.h:436
char * id
Definition: epp_common.h:866
char * crDate
Definition: epp_common.h:621
qhead extensions
Definition: epp_common.h:744
char * reason
Definition: epp_common.h:221
qhead tech
Definition: epp_common.h:769
char * crDate
Definition: epp_common.h:743
char * id
Definition: epp_common.h:859
char * roid
Definition: epp_common.h:568
eppd_server_xml_conf xml_schema
Definition: epp_common.h:930
char * id
Definition: epp_common.h:615
char * PostalCode
postal code
Definition: epp_common.h:476
char * authInfo
Definition: epp_common.h:608
char * clTRID
Definition: epp_common.h:911
char * ident
Definition: epp_common.h:813
char * msgid
Definition: epp_common.h:724
char * trDate
Definition: epp_common.h:579
Definition: epp_common.h:730
char * epp_strcat(void *pool, const char *str1, const char *str2)
Definition: epp_test.c:174
unsigned lang
Definition: epp_common.h:553
char * handle
Definition: epp_common.h:896
char * keyset
Definition: epp_common.h:600
Definition: epp_common.h:514
int level
Definition: epp_common.h:628
Definition: epp_common.h:519
char * voice
Definition: epp_common.h:734
qhead errors
Definition: epp_common.h:923
char * trDate
Definition: epp_common.h:607
Definition: epp_common.h:876
Definition: epp_common.h:802
Definition: epp_common.h:516
char * id
Definition: epp_common.h:732
Definition: epp_common.h:517
int level
Definition: epp_common.h:771
Definition: epp_common.h:530
Definition: epp_common.h:439
epp_ext_enum ext_enum
Definition: epp_common.h:505
qhead extensions
Definition: epp_common.h:758
Definition: epp_common.h:484
char * id
Definition: epp_common.h:848
char * cc
Definition: epp_common.h:366
char * qdate
Definition: epp_common.h:654
Definition: epp_common.h:531
char * id
Definition: epp_common.h:634
qhead ns
Definition: epp_common.h:768
epp_identType identtype
Definition: epp_common.h:584
char * handle
Definition: epp_common.h:635
char * id
Definition: epp_common.h:878
char * notify_email
Definition: epp_common.h:815
void * epp_calloc(void *pool, unsigned size)
Definition: epp_test.c:148
Definition: epp_common.h:748
unsigned char protocol
Definition: epp_common.h:430
Definition: epp_common.h:427
char * pw
Definition: epp_common.h:549
Definition: epp_common.h:512
Definition: epp_common.h:884
Definition: epp_common.h:546
void * pool
Definition: epp_common.h:47
char * id
Definition: epp_common.h:787
Definition: epp_common.h:864
char * roid
Definition: epp_common.h:594
char * epp_sprintf(void *pool, const char *fmt,...)
Definition: epp_test.c:195
char * clID
Definition: epp_common.h:638
epp_pollType
Definition: epp_common.h:511
Definition: epp_common.h:358
Definition: epp_common.h:846
epp_timeunit unit
Definition: epp_common.h:796
char * exDate
Definition: epp_common.h:798
Definition: epp_common.h:408
qhead ids
Definition: epp_common.h:559
qhead add_ns
Definition: epp_common.h:839
char * authInfo
Definition: epp_common.h:829
char * City
city
Definition: epp_common.h:474
Definition: epp_common.h:557
qhead names
Definition: epp_common.h:879
Definition: epp_common.h:564
epp_ext_type extType
Definition: epp_common.h:502
char * org
Definition: epp_common.h:361
Definition: epp_common.h:45
char * crDate
Definition: epp_common.h:759
char * StateOrProvince
state or province
Definition: epp_common.h:475
epp_discl discl
Definition: epp_common.h:811
Definition: epp_common.h:820
char * vat
Definition: epp_common.h:812
char * email
Definition: epp_common.h:808
void * parsed_doc
Definition: epp_common.h:918
char * Street1
street - line #1
Definition: epp_common.h:471
epp_lang
Definition: epp_common.h:145
char * crID
Definition: epp_common.h:602
char * fax
Definition: epp_common.h:735
Definition: epp_common.h:379
epp_errorspec spec
Definition: epp_common.h:212
int level
Definition: epp_common.h:842
qhead rem_tmpcontact
Definition: epp_common.h:826
epp_identType identtype
Definition: epp_common.h:741
qhead streets
Definition: epp_common.h:362
char * authInfo
Definition: epp_common.h:580
epp_errorspec
Definition: epp_common.h:157
char * email
Definition: epp_common.h:736
qhead add_dnskey
Definition: epp_common.h:851
char * handle
Definition: epp_common.h:593
char * CountryCode
country code - 2 char ISO country code
Definition: epp_common.h:477
qhead rem_ns
Definition: epp_common.h:840
char * crDate
Definition: epp_common.h:576
Definition: epp_common.h:441
char * registrant
Definition: epp_common.h:823
char * voice
Definition: epp_common.h:806
char * clID
Definition: epp_common.h:574
qhead add_tech
Definition: epp_common.h:837
Definition: epp_common.h:791
short noresdata
Definition: epp_common.h:921
char * authInfo
Definition: epp_common.h:737
char * newmsgid
Definition: epp_common.h:726
char * sp
Definition: epp_common.h:364
epp_command_type
Definition: epp_common.h:62
void * content
Definition: epp_common.h:301
char * trDate
Definition: epp_common.h:643
char * clID
Definition: epp_common.h:548
char * pc
Definition: epp_common.h:365
Definition: epp_common.h:515
char * crDate
Definition: epp_common.h:781
char * crID
Definition: epp_common.h:639
Definition: epp_common.h:524
qhead tmpcontact
Definition: epp_common.h:597
unsigned char discl_update
Definition: epp_common.h:810
char * authInfo
Definition: epp_common.h:778
char * name
Definition: epp_common.h:592
char * crID
Definition: epp_common.h:575
void epplog(epp_context *epp_ctx, epp_loglevel level, const char *fmt,...)
Definition: epp_test.c:208
Definition: epp_common.h:462
struct qitem qitem
int level
Definition: epp_common.h:880
char * upID
Definition: epp_common.h:622
qhead admin
Definition: epp_common.h:598
qhead ns
Definition: epp_common.h:626
Definition: epp_common.h:650
void * epp_malloc(void *pool, unsigned size)
Definition: epp_test.c:141
qhead rem_tech
Definition: epp_common.h:838
char * id
Definition: epp_common.h:836
char * email
Definition: epp_common.h:573
char * nsset
Definition: epp_common.h:599
epp_command_type type
Definition: epp_common.h:929
Definition: epp_common.h:420
char * vat
Definition: epp_common.h:582
char * name
Definition: epp_common.h:422
qhead status
Definition: epp_common.h:618
char * newPW
Definition: epp_common.h:550
qhead avails
Definition: epp_common.h:560
Definition: epp_common.h:894
qhead rem_dnskey
Definition: epp_common.h:852
qhead keys
Definition: epp_common.h:779
int avail
Definition: epp_common.h:451
int rc
Definition: epp_common.h:913
char * text
Definition: epp_common.h:352
int q_add(void *pool, qhead *head, void *data)
Definition: epp_common.c:31
qhead status
Definition: epp_common.h:595
Definition: epp_common.h:37
Definition: epp_common.h:520
Definition: epp_common.h:590
Definition: epp_common.h:775
char * value
Definition: epp_common.h:206
char * authInfo
Definition: epp_common.h:841
epp_object_type
Definition: epp_common.h:134
char * name
Definition: epp_common.h:750
char * clID
Definition: epp_common.h:601
void * data
Definition: epp_common.h:935
epp_postalInfo * pi
Definition: epp_common.h:805
char * msgid
Definition: epp_common.h:653
char * handle
Definition: epp_common.h:567
char * name
Definition: epp_common.h:793
qhead add_admin
Definition: epp_common.h:824
Definition: epp_common.h:309
char * keyset
Definition: epp_common.h:754
char * id
Definition: epp_common.h:804
Definition: epp_common.h:469
Definition: epp_common.h:834
char * upID
Definition: epp_common.h:641
char * notify_email
Definition: epp_common.h:742
char * ident
Definition: epp_common.h:583
char * crDate
Definition: epp_common.h:603
epp_loglevel
Definition: epp_common.h:32
qhead add_tech
Definition: epp_common.h:849
qitem * body
Definition: epp_common.h:312
Definition: epp_common.h:870
char * upID
Definition: epp_common.h:605
char * authInfo
Definition: epp_common.h:853
int count
Definition: epp_common.h:311
char * roid
Definition: epp_common.h:617
struct qitem * next
Definition: epp_common.h:300
int period
Definition: epp_common.h:755
qhead objuri
Definition: epp_common.h:551
qhead status
Definition: epp_common.h:569
char * authInfo
Definition: epp_common.h:625
int has_contact_mailing_address_extension
Definition: epp_common.h:410
char * public_key
Definition: epp_common.h:432
qhead extensions
Definition: epp_common.h:830
char * crID
Definition: epp_common.h:620
char * keyset
Definition: epp_common.h:828
Definition: epp_common.h:438
Definition: epp_common.h:535
Definition: epp_common.h:857
char * ident
Definition: epp_common.h:740
char * fax
Definition: epp_common.h:572
epp_discl discl
Definition: epp_common.h:581
epp_pollType type
Definition: epp_common.h:655