(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.68.4.3 and 1.70.2.2

version 1.68.4.3, 2007/10/16 18:57:18 version 1.70.2.2, 2007/06/12 09:31:58
Line 47 
Line 47 
 #endif #endif
 #endif #endif
  
 #if defined (PEGASUS_OS_TYPE_UNIX) || \  #if defined (PEGASUS_OS_TYPE_UNIX) || (PEGASUS_OS_VMS)
     defined (PEGASUS_OS_VMS)  
 # ifndef PEGASUS_OS_OS400  
 #  include <unistd.h> #  include <unistd.h>
 # endif  
 # include <fcntl.h>  // File locking # include <fcntl.h>  // File locking
 # define PEGASUS_UID_T uid_t # define PEGASUS_UID_T uid_t
 # define PEGASUS_GID_T gid_t # define PEGASUS_GID_T gid_t
Line 252 
Line 249 
         @return          True if the user and group IDs were retrieved         @return          True if the user and group IDs were retrieved
                          successfully, false otherwise.                          successfully, false otherwise.
     */     */
 #ifndef PEGASUS_OS_OS400  
     static Boolean lookupUserId(     static Boolean lookupUserId(
         const char* userName,         const char* userName,
         PEGASUS_UID_T& uid,         PEGASUS_UID_T& uid,
         PEGASUS_GID_T& gid);         PEGASUS_GID_T& gid);
 #endif  
  
     /**     /**
         Changes the process user context to the specified user and group.         Changes the process user context to the specified user and group.
Line 269 
Line 264 
         @return          True if the user context is successfully changed,         @return          True if the user context is successfully changed,
                          false otherwise.                          false otherwise.
     */     */
 #ifndef PEGASUS_OS_OS400  
     static Boolean changeUserContext_SingleThreaded(     static Boolean changeUserContext_SingleThreaded(
         const char* userName,         const char* userName,
         const PEGASUS_UID_T& uid,         const PEGASUS_UID_T& uid,
         const PEGASUS_GID_T& gid);         const PEGASUS_GID_T& gid);
 #endif  
  
     /**     /**
         This function is used to get the process ID of the calling process.         This function is used to get the process ID of the calling process.


Legend:
Removed from v.1.68.4.3  
changed lines
  Added in v.1.70.2.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2