35 #define RETR_SLEEP 100000 38 #define raised_exception(ev) ((ev)->_major != CORBA_NO_EXCEPTION) 42 #define DB_FIELD_SIZE 2000 45 #define IS_NOT_COMM_FAILURE_EXCEPTION(_ev) \ 46 (strcmp((_ev)->_id, "IDL:omg.org/CORBA/COMM_FAILURE:1.0")) 48 #define IS_EPP_ERROR(_ev) \ 49 (!strcmp((_ev)->_id, "IDL:ccReg/EPP/EppError:1.0")) 51 #define IS_NO_MESSAGES(_ev) \ 52 (!strcmp((_ev)->_id, "IDL:ccReg/EPP/NoMessages:1.0")) 116 unsigned long long *loginid,
117 const ccReg_TID request_id,
119 const char *fingerprint,
135 unsigned long long *loginid,
136 const ccReg_TID request_id,
158 unsigned long long loginid,
159 const ccReg_TID request_id,
160 int has_contact_mailing_address_extension,
190 unsigned long long loginid);
193 #define MAX_ERROR_MSG_LEN 100 This should occur unusualy (e.g.
Definition: epp-client.h:59
corba_status epp_call_logout(epp_context *epp_ctx, service_EPP service, unsigned long long *loginid, const ccReg_TID request_id, epp_command_data *cdata)
Call corba logout function.
Definition: epp-client.c:710
corba_status
Possible return values of functions from corba module.
Definition: epp-client.h:55
This structure is central to the concept of the whole module.
Definition: epp_common.h:836
No errors.
Definition: epp-client.h:56
void epp_call_CloseSession(epp_context *epp_ctx, service_EPP service, unsigned long long loginid)
Let the CR know that client has closed tcp session.
Definition: epp-client.c:5039
Epp server is responding but the response is not valid.
Definition: epp-client.h:61
char * wrap_str(const char *str)
Function wraps strings passed from XML parser into strings accepted by CORBA.
Definition: epp-client.c:144
void * service_Logger
Reference to fred-logd CORBA service.
Definition: epp-client.h:67
void epp_call_save_output_xml(epp_context *epp_ctx, service_EPP service, epp_command_data *cdata, const char *xml)
This function calls corba function which saves generated XML in database.
Corba function call failed (e.g.
Definition: epp-client.h:58
EPP context is a group of variables used often together.
Definition: epp_common.h:44
epp_lang
definition of languages (english is default)
Definition: epp_common.h:140
int epp_call_hello(epp_context *epp_ctx, service_EPP service, char **version, char **curdate)
Purpose of this function is to get version string of ccReg from corba server, which is used as part o...
Definition: epp-client.c:264
corba_status epp_call_cmd(epp_context *epp_ctx, service_EPP service, unsigned long long loginid, const ccReg_TID request_id, int has_contact_mailing_address_extension, epp_command_data *cdata)
Call generic command corba handler which decides what to do on the basis of cdata content...
Definition: epp-client.c:4802
void * service_EPP
Reference to EPP CORBA service.
Definition: epp-client.h:65
corba_status epp_call_login(epp_context *epp_ctx, service_EPP service, unsigned long long *loginid, const ccReg_TID request_id, epp_lang *lang, const char *fingerprint, epp_command_data *cdata)
Call corba login function, which sets up a session variables.
Definition: epp-client.c:616
The most important structures, function definitions and routine declarations are found in this file...