ASAP 1.1 Hybrid Manual
HP NonStop ASAP Hybrid Manual – 529729-004 
Page 4-9 
const bool rank_enabled_ind 
Flag to enable or disable ranking when the domain is registered. This parameter 
is optional. The default value is true, which means ranking is enabled by default. 
const bool concat_ind 
Flag indicating whether ASAP should automatically append the current process 
ID (PID), in text form, to the end of the domain name. This parameter is optional. 
The default value is true, which means the PID is appended as the last level of the 
domain name. 
const int io_timeout 
Registration timeout in milliseconds. A value of 0 indicates no timeout (wait 
indefinitely). This parameter is optional. The default value is 2,000 (2 seconds). 
const char *ptr_version 
Null-terminated, printable ASCII-text version number for the application, which 
can be up to ASAP_MAX_APP_VERSION_LENGTH bytes in length, not including 
the null terminator. This parameter is optional. The default value is NULL, which 
means there is no application version. 
Return Values 
ASAP_ERROR_NONE (0) 
No error. Registration was successful. 
ASAP_ERROR_MEMORY (-100) 
Could not allocate memory to perform the operation. 
ASAP_ERROR_INVALID_PARAM (-101) 
A parameter was invalid. If specified, *ptr_error_detail contains the incorrect 
parameter number (first param = 1). 
ASAP_ERROR_INVALID_DOMAIN_NAME (-102) 
The specified domain name was invalid. Possibly the name is too long (exceeds 
ASAP_MAX_DOMAIN_NAME_LENGTH), contains too many levels (exceeds 
ASAP_MAX_DOMAIN_NAME_LEVELS), contains an invalid character, and so on. 










