36 #define RETR_SLEEP 100000 39 #define raised_exception(ev) ((ev)->_major != CORBA_NO_EXCEPTION) 43 #define DB_FIELD_SIZE 2000 46 #define IS_NOT_COMM_FAILURE_EXCEPTION(_ev) \ 47 (strcmp((_ev)->_id, "IDL:omg.org/CORBA/COMM_FAILURE:1.0")) 49 #define IS_EPP_ERROR(_ev) (!strcmp((_ev)->_id, "IDL:ccReg/EPP/EppError:1.0")) 51 #define IS_NO_MESSAGES(_ev) (!strcmp((_ev)->_id, "IDL:ccReg/EPP/NoMessages:1.0")) 109 const ccReg_TID request_id,
epp_lang *lang,
const char *fingerprint,
143 const ccReg_TID request_id,
171 #define MAX_ERROR_MSG_LEN 100 This should occur unusualy (e.g.
Definition: epp-client.h:58
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:715
corba_status
Possible return values of functions from corba module.
Definition: epp-client.h:54
This structure is central to the concept of the whole module.
Definition: epp_common.h:909
No errors.
Definition: epp-client.h:55
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:5244
Epp server is responding but the response is not valid.
Definition: epp-client.h:60
char * wrap_str(const char *str)
Function wraps strings passed from XML parser into strings accepted by CORBA.
Definition: epp-client.c:137
void * service_Logger
Reference to fred-logd CORBA service.
Definition: epp-client.h:66
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:57
EPP context is a group of variables used often together.
Definition: epp_common.h:45
epp_lang
definition of languages (english is default)
Definition: epp_common.h:145
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:257
corba_status epp_call_cmd(epp_context *epp_ctx, service_EPP service, unsigned long long loginid, const ccReg_TID request_id, epp_command_data *cdata)
Call generic command corba handler which decides what to do on the basis of cdata content...
Definition: epp-client.c:5031
void * service_EPP
Reference to EPP CORBA service.
Definition: epp-client.h:64
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:620
The most important structures, function definitions and routine declarations are found in this file...