mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 21:21:31 +00:00
If you have trouble updating after this revision you need to follow these instructions. You have probably just seen an error like this: svn: URL 'svn://svn.insecure.org/nping' of existing directory 'nping' does not match expected URL 'svn://svn.insecure.org/nmap/nping' This is caused by the replacement of SVN externals. Here's what you need to do. First, save any local changes you might have in the nping, nsock, nbase, ncat, and zenmap directories. (For example by running "cd nping; svn diff > ../nping.diff".) If you don't have any local changes you can skip this step. Then run these commands: rm -rf nping/ nsock/ nbase/ ncat/ zenmap/ svn update svn cleanup If all else fails, you can just delete your whole working directory and check out anew: svn co --username guest --password "" svn://svn.insecure.org/nmap There may be further discussion in the mailing list thread at http://seclists.org/nmap-dev/2011/q4/303.
46 lines
822 B
Plaintext
Executable File
46 lines
822 B
Plaintext
Executable File
|
|
Prototypes for NpingOps:
|
|
|
|
int setMETHNAME(TYPE val);
|
|
TYPE getMETHNAME();
|
|
bool issetMETHNAME();
|
|
|
|
Attributes for NpingOps:
|
|
|
|
TYPE ATTRNAME;
|
|
bool ATTRNAME_set;
|
|
|
|
Initialization for NpingOps::NpingOps()
|
|
|
|
ATTRNAME=0;
|
|
ATTRNAME_set=false;
|
|
|
|
|
|
/** Sets METHNAME.
|
|
* @return OP_SUCCESS on success and OP_FAILURE in case of error. */
|
|
int NpingOps::setMETHNAME(TYPE val){
|
|
|
|
ATTRNAME=val;
|
|
ATTRNAME_set=true;
|
|
|
|
return OP_SUCCESS;
|
|
|
|
} /* End of setMETHNAME() */
|
|
|
|
|
|
/** Returns value of attribute ATTRNAME */
|
|
TYPE NpingOps::getMETHNAME(){
|
|
|
|
return this->ATTRNAME;
|
|
|
|
} /* End of getMETHNAME() */
|
|
|
|
|
|
/* Returns true if option has been set */
|
|
bool NpingOps::issetMETHNAME(){
|
|
|
|
return this->ATTRNAME_set;
|
|
|
|
} /* End of issetMETHNAME() */
|
|
|