Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

PwGrp.C File Reference

#include <pwd.h>
#include <grp.h>
#include <sys/types.h>
#include "PwGrp.H"

Go to the source code of this file.

Functions

void OS::Group::clear ()
 OS::PasswdIter::PasswdIter ()
 OS::PasswdIter::~PasswdIter ()
bool OS::PasswdIter::Next (OS::Passwd &passwd)
 OS::GroupIter::GroupIter ()
 OS::GroupIter::~GroupIter ()
bool OS::GroupIter::Next (OS::Group &group)
bool OS::getPwNam (const Text &user_name, OS::Passwd &passwd)
bool OS::getPwUid (uid_t uid, OS::Passwd &passwd)
bool OS::getGrNam (const Text &user_name, OS::Group &group)
bool OS::getGrGid (gid_t gid, OS::Group &group)


Function Documentation

bool OS::getGrGid gid_t  gid,
OS::Group group
 

Definition at line 159 of file PwGrp.C.

References Sequence< Elem, elem_ptrfree >::addhi(), OS::Group::clear(), OS::Group::gid, Basics::mutex::lock(), OS::Group::members, OS::Group::name, and Basics::mutex::unlock().

bool OS::getGrNam const Text user_name,
OS::Group group
 

Definition at line 138 of file PwGrp.C.

References Sequence< Elem, elem_ptrfree >::addhi(), Text::cchars(), OS::Group::clear(), OS::Group::gid, Basics::mutex::lock(), OS::Group::members, OS::Group::name, and Basics::mutex::unlock().

bool OS::getPwNam const Text user_name,
OS::Passwd passwd
 

Definition at line 104 of file PwGrp.C.

References OS::Passwd::gid, Basics::mutex::lock(), OS::Passwd::name, OS::Passwd::uid, and Basics::mutex::unlock().

bool OS::getPwUid uid_t  uid,
OS::Passwd passwd
 

Definition at line 121 of file PwGrp.C.

References OS::Passwd::gid, Basics::mutex::lock(), OS::Passwd::name, OS::Passwd::uid, and Basics::mutex::unlock().

void OS::Group::clear  ) 
 

Definition at line 37 of file PwGrp.C.

References OS::Group::members, Sequence< Elem, elem_ptrfree >::remhi(), and Sequence< Elem, elem_ptrfree >::size().

OS::GroupIter::GroupIter  ) 
 

Definition at line 74 of file PwGrp.C.

References Basics::mutex::lock().

bool OS::GroupIter::Next OS::Group group  ) 
 

Definition at line 86 of file PwGrp.C.

References Sequence< Elem, elem_ptrfree >::addhi(), OS::Group::clear(), OS::Group::gid, OS::Group::members, and OS::Group::name.

OS::GroupIter::~GroupIter  ) 
 

Definition at line 80 of file PwGrp.C.

References Basics::mutex::unlock().

bool OS::PasswdIter::Next OS::Passwd passwd  ) 
 

Definition at line 59 of file PwGrp.C.

References OS::Passwd::gid, OS::Passwd::name, and OS::Passwd::uid.

OS::PasswdIter::PasswdIter  ) 
 

Definition at line 47 of file PwGrp.C.

References Basics::mutex::lock().

OS::PasswdIter::~PasswdIter  ) 
 

Definition at line 53 of file PwGrp.C.

References Basics::mutex::unlock().


Generated on Mon May 8 00:49:00 2006 for Vesta by  doxygen 1.4.2