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 |
EPP Domain related functions.
int cmd_domain | ( | vector< string > & | args | ) |
main domain command
arg | command-line input arguments |
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
args | vector with command-line arguments |
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 | ) |
domain create command function
args | vector with command-line arguments |
References DomainCreateCmd::add_dsInfo(), DomainCreateCmd::add_keyData(), SheppPrint::authInfo(), SheppObjSet::authInfo(), cmd_domain_help(), SheppObjSet::dsInfo(), DomainCreateCmd::get_authInfo(), DomainCreate::get_command(), BrDomainCreate::get_command(), DomainCreateCmd::get_contacts(), DomainCreateCmd::get_name(), DomainCreateCmd::get_nameservers(), DomainCreateCmd::get_period(), DomainCreateCmd::get_registrant(), AuthInfo::get_roid_f(), DomainCreateCmd::insert_contact(), DomainCreateCmd::insert_nameserver(), SheppObjSet::keyData(), SheppPrint::nameserver(), SheppObjSet::nameServer(), process_action(), DomainCreateCmd::set_authInfo(), DomainCreateCmd::set_max_sig_life(), DomainCreateCmd::set_name(), DomainCreateCmd::set_period(), DomainCreateCmd::set_registrant(), DomainCreateCmd::set_secDnsVersion(), and SheppStrUtil::split().
Referenced by cmd_domain().
int cmd_domain_delete | ( | vector< string > & | args | ) |
domain check delete function
args | vector with command-line arguments |
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
error_msg | error message to be printed | |
specific | optional, choses specific sub-command |
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 | ) |
domain info command function
args | vector with command-line arguments |
References SheppPrint::authInfo(), SheppObjSet::authInfo(), cmd_domain_help(), DomainInfoCmd::get_authInfo(), DomainInfo::get_command(), BrDomainInfo::get_command(), DomainInfoCmd::get_name(), process_action(), DomainInfoCmd::set_authInfo(), and DomainInfoCmd::set_name().
Referenced by cmd_domain().
int cmd_domain_renew | ( | vector< string > & | args | ) |
domain renew command function
args | vector with command-line arguments |
References cmd_domain_help(), DomainRenew::get_command(), DomainRenewCmd::get_curExpDate(), DomainRenewCmd::get_name(), DomainRenewCmd::get_period(), process_action(), DomainRenewCmd::set_curExpDate(), DomainRenewCmd::set_name(), DomainRenewCmd::set_period(), and SheppStrUtil::split().
Referenced by cmd_domain().
int cmd_domain_transfer | ( | vector< string > & | args | ) |
domain transfer command function
args | vector with command-line arguments |
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
args | vector with command-line arguments |
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().