version 1.65, 2006/10/04 19:37:09
|
version 1.67, 2006/11/08 20:38:30
|
|
|
*/ | */ |
static Boolean sameHost (const String & hostName); | static Boolean sameHost (const String & hostName); |
| |
|
/** |
|
* Attempts to find the given IP address(32bit) on any of the local defined |
|
* network interfaces |
|
*/ |
|
static Boolean isIpOnNetworkInterface(Uint32 inIP); |
|
|
|
/** |
|
* Attempts to resolve a given hostname |
|
* this function possibly can take some as it can request information |
|
* from the DNS |
|
* |
|
* Return: return value == true if successful, false if not successful |
|
* the IP address that was determined resides in resolvedNameIP |
|
*/ |
|
static Boolean resolveHostNameAtDNS(const char* hostname, Uint32 * resolvedNameIP); |
|
|
|
/** |
|
* Attempts to resolve a given IP address |
|
* this function possibly can take some as it can request information |
|
* from the DNS |
|
* Return: return value == true if successful, false if not successful |
|
* the IP address that was determined resides in resolvedNameIP |
|
*/ |
|
static Boolean resolveIPAtDNS(Uint32 ip_addr, Uint32 * resolvedIP); |
|
|
|
/** |
|
* Bundling function used to determine if a given hostname or IP address |
|
* belongs to the local host |
|
* this function has the potential to take some time as it will possibly |
|
* use the DNS |
|
*/ |
|
static Boolean isLocalHost(const String &hostName); |
|
|
static String getEffectiveUserName(); | static String getEffectiveUserName(); |
| |
/** | /** |
|
|
Uint32 severity, | Uint32 severity, |
const char* message); | const char* message); |
| |
|
static void openlog( |
|
const char *ident, |
|
int logopt, |
|
int facility); |
|
|
|
static void closelog(); |
|
|
// System ID constants for Logger::put and Logger::trace | // System ID constants for Logger::put and Logger::trace |
static const String CIMSERVER; | static const String CIMSERVER; |
| |