src/shepp/DomainFunctions.H File Reference

EPP Domain related functions. More...

#include "SheppCommandFunctions.H"
#include "DomainCheck.H"
#include "DomainInfo.H"
#include "DomainTransfer.H"
#include "DomainCreate.H"
#include "DomainUpdate.H"
#include "DomainRenew.H"
#include "DomainDelete.H"
#include "RegistrationPeriod.H"

Go to the source code of this file.

Functions

int cmd_domain_help (string error_msg, string specific="")
 print domain command usage info
int cmd_domain_check (vector< string > &args)
 domain check command function
int cmd_domain_info (vector< string > &args)
 domain info command function
int cmd_domain_transfer (vector< string > &args)
 domain transfer command function
int cmd_domain_create (vector< string > &args)
 domain create command function
int cmd_domain_delete (vector< string > &args)
 domain check delete function
int cmd_domain_renew (vector< string > &args)
 domain renew command function
int cmd_domain_update (vector< string > &args)
 domain update command function
int cmd_domain (vector< string > &args)
 main domain command

Detailed Description

EPP Domain related functions.


Function Documentation

int cmd_domain ( vector< string > &  args  ) 

main domain command

Parameters:
arg command-line input arguments
Returns:
0 if ok, -1 otherwise

References cmd_domain_check(), cmd_domain_create(), cmd_domain_delete(), cmd_domain_help(), cmd_domain_info(), cmd_domain_renew(), cmd_domain_transfer(), and cmd_domain_update().

Referenced by init_commands().

int cmd_domain_check ( vector< string > &  args  ) 

domain check command function

Parameters:
args vector with command-line arguments
Returns:
0 if ok, -1 otherwise

References cmd_domain_help(), DomainCheck::get_command(), BrDomainCheck::get_command(), DomainCheckCmd::get_domains_list(), DomainCheckCmd::insert_domain(), and process_action().

Referenced by cmd_domain().

int cmd_domain_create ( vector< string > &  args  ) 
int cmd_domain_delete ( vector< string > &  args  ) 

domain check delete function

Parameters:
args vector with command-line arguments
Returns:
0

References cmd_domain_help(), DomainDelete::get_command(), DomainDeleteCmd::get_name(), process_action(), and DomainDeleteCmd::set_name().

Referenced by cmd_domain().

int cmd_domain_help ( string  error_msg,
string  specific = "" 
)

print domain command usage info

Parameters:
error_msg error message to be printed
specific optional, choses specific sub-command
Returns:
0 if ok, -1 otherwise

Referenced by cmd_domain(), cmd_domain_check(), cmd_domain_create(), cmd_domain_delete(), cmd_domain_info(), cmd_domain_renew(), cmd_domain_transfer(), and cmd_domain_update().

int cmd_domain_info ( vector< string > &  args  ) 
int cmd_domain_renew ( vector< string > &  args  ) 
int cmd_domain_transfer ( vector< string > &  args  ) 

domain transfer command function

Parameters:
args vector with command-line arguments
Returns:
0

References SheppObjSet::authInfo(), cmd_domain_help(), DomainTransfer::get_command(), process_action(), DomainTransferCmd::set_authInfo(), and DomainTransferCmd::set_name().

Referenced by cmd_domain().

int cmd_domain_update ( vector< string > &  args  ) 

domain update command function

Parameters:
args vector with command-line arguments
Returns:
0 if ok, -1 otherwise

References SheppPrint::authInfo(), SheppObjSet::authInfo(), cmd_domain_help(), SheppObjSet::dsInfo(), DomainUpdateCmd::get_authInfo(), DomainUpdate::get_command(), BrDomainUpdate::get_command(), DomainUpdateCmd::get_contact_add(), DomainUpdateCmd::get_contact_rem(), DomainUpdateCmd::get_name(), DomainUpdateCmd::get_nameserver_add(), DomainUpdateCmd::get_nameserver_rem(), AuthInfo::get_pw(), DomainUpdateCmd::get_registrant(), AuthInfo::get_roid_f(), DomainUpdateCmd::get_status_add(), DomainUpdateCmd::get_status_rem(), DomainUpdateCmd::has_secdns_extension(), DomainUpdateCmd::insert_contact_add(), DomainUpdateCmd::insert_contact_rem(), DomainUpdateCmd::insert_dnskey_add(), DomainUpdateCmd::insert_dnskey_rem(), DomainUpdateCmd::insert_ds_add(), DomainUpdateCmd::insert_ds_chg(), DomainUpdateCmd::insert_ds_rem(), DomainUpdateCmd::insert_ds_rem_1_1(), DomainUpdateCmd::insert_nameserver_add(), DomainUpdateCmd::insert_nameserver_rem(), DomainUpdateCmd::insert_status_add(), DomainUpdateCmd::insert_status_rem(), SheppObjSet::keyData(), SheppPrint::nameserver(), SheppObjSet::nameServer(), process_action(), DomainUpdateCmd::set_authInfo(), DomainUpdateCmd::set_max_sig_life(), DomainUpdateCmd::set_name(), DomainUpdateCmd::set_registrant(), DomainUpdateCmd::set_secDnsVersion(), DomainUpdateCmd::setRemoveAll(), DomainUpdateCmd::setUrgentFlag(), SheppStrUtil::split(), and SheppObjSet::status().

Referenced by cmd_domain().

Generated on Wed Aug 11 16:56:44 2010 for libepp_nicbr by  doxygen 1.6.3