libepp_nicbr
|
EPP ASN related functions. More...
#include "SheppCommandFunctions.H"
#include "AsnCheck.H"
#include "AsnCreate.H"
#include "AsnDelete.H"
#include "AsnInfo.H"
#include "AsnRenew.H"
#include "AsnTransfer.H"
#include "AsnUpdate.H"
Go to the source code of this file.
Functions | |
int | cmd_asn_help (string error_msg, string specific="") |
print asn command usage info More... | |
int | cmd_asn_check (vector< string > &args) |
asn check command function More... | |
int | cmd_asn_create (vector< string > &args) |
asn create command function More... | |
int | cmd_asn_delete (vector< string > &args) |
asn check delete function More... | |
int | cmd_asn_info (vector< string > &args) |
asn info command function More... | |
int | cmd_asn_renew (vector< string > &args) |
asn renew command function More... | |
int | cmd_asn_transfer (vector< string > &args) |
asn transfer command function More... | |
int | cmd_asn_update (vector< string > &args) |
asn update command function More... | |
int | cmd_asn (vector< string > &args) |
main asn command More... | |
EPP ASN related functions.
int cmd_asn | ( | vector< string > & | args | ) |
main asn command
arg | command-line input arguments |
References cmd_asn_check(), cmd_asn_create(), cmd_asn_delete(), cmd_asn_help(), cmd_asn_info(), cmd_asn_renew(), cmd_asn_transfer(), and cmd_asn_update().
Referenced by init_commands().
int cmd_asn_check | ( | vector< string > & | args | ) |
asn check command function
args | vector with command-line arguments |
References AsnCheckCmd::add_asn(), cmd_asn_help(), AsnCheckCmd::get_asn_list(), AsnCheck::get_command(), and process_action().
Referenced by cmd_asn().
int cmd_asn_create | ( | vector< string > & | args | ) |
asn create command function
args | vector with command-line arguments |
References cmd_asn_help(), AsnCreateCmd::get_asn(), AsnCreate::get_command(), AsnCreateCmd::get_contacts(), AsnCreateCmd::get_organization(), AsnCreateCmd::insert_as_out(), AsnCreateCmd::insert_contact(), process_action(), SheppStrUtil::quote_gathering(), AsnCreateCmd::set_asn(), AsnCreateCmd::set_organization(), and SheppStrUtil::split().
Referenced by cmd_asn().
int cmd_asn_delete | ( | vector< string > & | args | ) |
asn check delete function
args | vector with command-line arguments |
References cmd_asn_help(), AsnDeleteCmd::get_asn(), AsnDelete::get_command(), process_action(), and AsnDeleteCmd::set_asn().
Referenced by cmd_asn().
int cmd_asn_help | ( | string | error_msg, |
string | specific = "" |
||
) |
print asn command usage info
error_msg | error message to be printed |
specific | optional, choses specific sub-command |
Referenced by cmd_asn(), cmd_asn_check(), cmd_asn_create(), cmd_asn_delete(), cmd_asn_info(), cmd_asn_renew(), cmd_asn_transfer(), and cmd_asn_update().
int cmd_asn_info | ( | vector< string > & | args | ) |
asn info command function
args | vector with command-line arguments |
References cmd_asn_help(), AsnInfoCmd::get_asn(), AsnInfo::get_command(), process_action(), and AsnInfoCmd::set_asn().
Referenced by cmd_asn().
int cmd_asn_renew | ( | vector< string > & | args | ) |
asn renew command function
args | vector with command-line arguments |
References cmd_asn_help(), AsnRenewCmd::get_asn(), AsnRenew::get_command(), AsnRenewCmd::get_expDate(), AsnRenewCmd::get_period(), process_action(), AsnRenewCmd::set_asn(), AsnRenewCmd::set_expDate(), AsnRenewCmd::set_period(), and SheppStrUtil::split().
Referenced by cmd_asn().
int cmd_asn_transfer | ( | vector< string > & | args | ) |
asn transfer command function
args | vector with command-line arguments |
References cmd_asn_help(), AsnTransferCmd::get_asn(), AsnTransfer::get_command(), AsnTransferCmd::get_operation(), process_action(), AsnTransferCmd::set_asn(), and AsnTransferCmd::set_operation().
Referenced by cmd_asn().
int cmd_asn_update | ( | vector< string > & | args | ) |
asn update command function
args | vector with command-line arguments |
References cmd_asn_help(), AsnUpdateCmd::get_as_in_add(), AsnUpdateCmd::get_as_in_rem(), AsnUpdateCmd::get_asn(), AsnUpdate::get_command(), AsnUpdateCmd::get_contacts_add(), AsnUpdateCmd::get_contacts_rem(), AsnUpdateCmd::get_organization(), AsnUpdateCmd::insert_as_in_add(), AsnUpdateCmd::insert_as_in_rem(), AsnUpdateCmd::insert_as_out_add(), AsnUpdateCmd::insert_as_out_rem(), AsnUpdateCmd::insert_contact_add(), AsnUpdateCmd::insert_contact_rem(), process_action(), SheppStrUtil::quote_gathering(), AsnUpdateCmd::set_asn(), AsnUpdateCmd::set_organization(), and SheppStrUtil::split().
Referenced by cmd_asn().