#include <iostream>
#include "utilities.h"
#include "Utils_Identity.hxx"
#include <cstring>
#include <pwd.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <netdb.h>
Functions | |
const char * | duplicate (const char *const str) |
This function can be changed by strdup() if strdup() is ANSI. More... | |
const struct utsname | get_uname (void) |
const char * | get_adip (void) |
const char * | get_pwname (void) |
std::ostream & | operator<< (std::ostream &os, const Identity &monid) |
const char* duplicate | ( | const char *const | str | ) |
This function can be changed by strdup() if strdup() is ANSI.
It is strongly (and only) used in the Registry environment (RegistryService, RegistryConnexion, Identity, ...)
References ASSERT.
Referenced by CreateDataScope(), SALOME_ModuleCatalogImpl::Private::duplicate(), get_adip(), and RegistryService::SessionName().
const char* get_adip | ( | void | ) |
References ASSERT, and duplicate().
const char* get_pwname | ( | void | ) |
const struct utsname get_uname | ( | void | ) |
std::ostream& operator<< | ( | std::ostream & | os, |
const Identity & | monid | ||
) |