(file) Return to System.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/System.h between version 1.13 and 1.13.2.4

version 1.13, 2001/07/10 22:31:15 version 1.13.2.4, 2001/12/01 02:48:19
Line 23 
Line 23 
 // Author: Mike Brasher (mbrasher@bmc.com) // Author: Mike Brasher (mbrasher@bmc.com)
 // //
 // Modified By: // Modified By:
   //              Nag Boranna, Hewlett-Packard Company (nagaraja_boranna@hp.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 97 
Line 98 
  
     static DynamicLibraryHandle loadDynamicLibrary(const char* fileName);     static DynamicLibraryHandle loadDynamicLibrary(const char* fileName);
  
           static void unloadDynamicLibrary(DynamicLibraryHandle libraryHandle);
   
     static String dynamicLoadError(void);     static String dynamicLoadError(void);
  
     static DynamicSymbolHandle loadDynamicSymbol(     static DynamicSymbolHandle loadDynamicSymbol(
Line 104 
Line 107 
         const char* symbolName);         const char* symbolName);
  
     static String getHostName();     static String getHostName();
   
       static String getCurrentLoginName();
   
       /**
       This function is used to input a password with echo disabled.
       The function reads up to a newline and returns a password of at most
       8 characters.
   
       @param  prompt      String containing the message prompt to be displayed
       @return             password obtained from the user
       */
       static String getPassword(const char* prompt);
   
       /**
       This function is used to encrypt the user's password.
       The encryption is compatible with Apache's  password file (generated using
       the htpasswd command )
   
       @param password     Password to be encrypted.
       @param salt         Two character string chosen from the set [a-zA-Z0-9./].
   
       @return             Encrypted password.
       */
       static String encryptPassword(const char* password, const char* salt);
   
       /**
       This function is used to verify whether specified user is a user
       on the local system.
   
       @param userName     User name to be verified.
   
       @return             true if the username is valid, else false
       */
       static Boolean isSystemUser(char* userName);
   
       /**
       This function is used to check whether the user running the command is
       a privileged user. On Unix implementation it checks whether the user
       is a root user.
   
       @return             true if the user running the command is a
                           privileged user, else false
       */
       static Boolean isPrivilegedUser();
   
 }; };
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.13  
changed lines
  Added in v.1.13.2.4

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2