Version: 9.15.0
Utils_Identity.cxx File Reference
#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>
Include dependency graph for Utils_Identity.cxx:

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)
 

Function Documentation

◆ duplicate()

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, ...)

Referenced by CreateDataScope(), SALOME_ModuleCatalogImpl::Private::duplicate(), get_adip(), and RegistryService::SessionName().

◆ get_adip()

const char* get_adip ( void  )

References duplicate().

◆ get_pwname()

const char* get_pwname ( void  )

◆ get_uname()

const struct utsname get_uname ( void  )

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const Identity monid 
)