26 #ifndef WHOIS_CLIENT_H 27 #define WHOIS_CLIENT_H 39 #define CORBA_OK_LIMIT 1 40 #define CORBA_SERVICE_FAILED 2 41 #define CORBA_INTERNAL_ERROR 3 42 #define CORBA_UNKNOWN_ERROR 4 51 #define TIME_BUFFER_LENGTH 60 53 #define MAX_ERROR_MSG_LEN 100 58 #define MAX_OBJECT_COUNT 100 248 const char *sourceIP,
250 ccReg_RequestProperties *properties,
251 ccReg_TID *log_entry_id,
char * created
Date of nsset creation.
Definition: whois-client.h:132
keyset_dnskey * keys
DNS Keys.
Definition: whois-client.h:160
Structure holding nsset data.
Definition: whois-client.h:126
int type
Object type number.
Definition: whois-client.h:195
char * registrar
Handle of registrar.
Definition: whois-client.h:116
int norecursion
if true, recursion is switched off
Definition: whois-client.h:103
char ** nserver
Nameservers in nsset.
Definition: whois-client.h:128
Structure holding domain data.
Definition: whois-client.h:109
int digest_type
Digest type (must be SHA-1)
Definition: whois-client.h:140
int alg
Algorithm type.
Definition: whois-client.h:139
char * domain
Domain name.
Definition: whois-client.h:110
char * registered
Date of domain registration.
Definition: whois-client.h:118
Structure holding registrar data.
Definition: whois-client.h:185
char ** nserver_addrs
IP Addresses for each nameserver.
Definition: whois-client.h:129
Structure holding keyset data.
Definition: whois-client.h:154
search_axis
Axes used in reverse searches.
Definition: whois-client.h:77
char * expire
Expiration date of domain.
Definition: whois-client.h:120
char * registrant
Registrant.
Definition: whois-client.h:111
char * keyset
Handle of keyset.
Definition: whois-client.h:155
void * service_Whois
reference to the whois corba service
Definition: whois-client.h:62
char * registrar
Handle of registrar.
Definition: whois-client.h:131
char * changed
Last update of nsset.
Definition: whois-client.h:133
char * registrar
Handle of registrar.
Definition: whois-client.h:162
keyset_dsrecord * ds
Delegation signer records.
Definition: whois-client.h:159
char ** tech_c
Handles of technical contacts.
Definition: whois-client.h:157
int * status_ids
Untranslated status numbers from corba.
Definition: whois-client.h:122
const char * value
value to search for
Definition: whois-client.h:105
DNSKey record (part of keyset object)
Definition: whois-client.h:146
Delegation signer record (part of keyset object)
Definition: whois-client.h:137
char * changed
Last update of domain.
Definition: whois-client.h:119
char ** tech_c
Handles of techical contacts.
Definition: whois-client.h:130
void whois_release_data(general_object *object_list)
Release data.
Definition: whois-client.c:1432
Whois request structure.
Definition: whois-client.h:101
char * registrar
Handle of registrar.
Definition: whois-client.h:186
search_axis axe
which object type is used as search criteria
Definition: whois-client.h:102
char * created
Date of keyset creation.
Definition: whois-client.h:163
int alg
algorithm type
Definition: whois-client.h:149
int type
type of the objects we're looking for
Definition: whois-client.h:104
char * org
Organization.
Definition: whois-client.h:187
char ** address
Address information.
Definition: whois-client.h:190
char * keyset
KeySet handle.
Definition: whois-client.h:115
char * nsset
Handle of nsset.
Definition: whois-client.h:127
char * url
URL of registrar's web pages.
Definition: whois-client.h:188
int key_tag
Key tag for DNSKEY RR (RFC 4043 for details)
Definition: whois-client.h:138
int whois_corba_call(service_Whois service, const whois_request *wr, general_object *objects, char *timebuf, char *errmsg)
The core function of whois module performs actual query.
Definition: whois-client.c:1331
char ** temp_c
Temporary contacts.
Definition: whois-client.h:113
int flags
key properties.
Definition: whois-client.h:147
char * validated_to
Not NULL if it is an ENUM domain.
Definition: whois-client.h:121
int max_sig_life
Signature expiration period.
Definition: whois-client.h:142
char * public_key
base64 encoded public key
Definition: whois-client.h:150
char ** status
Status array for domain.
Definition: whois-client.h:117
char * changed
Last update of keyset.
Definition: whois-client.h:164
whois_action_type
For now, only one action type is performed by whois.
Definition: whois-client.h:94
void * service_Logger
reference to the logger corba service
Definition: whois-client.h:65
Structure able to hold any of the five types of whois objects.
Definition: whois-client.h:194
int whois_log_new_message(service_Logger service, const char *sourceIP, const char *content, ccReg_RequestProperties *properties, ccReg_TID *log_entry_id, char *errmsg)
Log a message using logging daemon.
Definition: whois-client.c:1187
int check_duplicates(int type, char *handle, general_object *objects, int index_free)
Check for duplicates in array of objects.
Definition: whois-client.c:180
int protocol
= 3
Definition: whois-client.h:148
char * digest
Digests in Delegation Signer records.
Definition: whois-client.h:141
char * nsset
Nsset handle.
Definition: whois-client.h:114
char * phone
Phone number.
Definition: whois-client.h:189
char ** admin_c
Administrators.
Definition: whois-client.h:112