Public Types | Public Member Functions | Public Attributes
vul_user_info Class Reference

Reads information about a user from the password file. More...

#include <vul_user_info.h>

List of all members.

Public Types

typedef unsigned long uid_type

Public Member Functions

 vul_user_info (uid_type u_id)
 Lookup info from numeric user-id.
 vul_user_info (char const *nam)
 Lookup info from login name.
 vul_user_info (vcl_string const &nam)
 Lookup info from login name.
void init (uid_type)
 NYI.
void init (char const *nam)
 initialise vul_user_info for given login name.

Public Attributes

bool ok
uid_type uid
uid_type gid
vcl_string name
vcl_string home_directory
vcl_string full_name
vcl_string shell
vcl_string passwd

Detailed Description

Reads information about a user from the password file.

Definition at line 22 of file vul_user_info.h.


Member Typedef Documentation

typedef unsigned long vul_user_info::uid_type

Definition at line 25 of file vul_user_info.h.


Constructor & Destructor Documentation

vul_user_info::vul_user_info ( uid_type  u_id) [inline]

Lookup info from numeric user-id.

Definition at line 39 of file vul_user_info.h.

vul_user_info::vul_user_info ( char const *  nam) [inline]

Lookup info from login name.

Definition at line 41 of file vul_user_info.h.

vul_user_info::vul_user_info ( vcl_string const &  nam) [inline]

Lookup info from login name.

Definition at line 43 of file vul_user_info.h.


Member Function Documentation

void vul_user_info::init ( uid_type  )

NYI.

Definition at line 31 of file vul_user_info.cxx.

void vul_user_info::init ( char const *  nam)

initialise vul_user_info for given login name.

Definition at line 36 of file vul_user_info.cxx.


Member Data Documentation

Definition at line 32 of file vul_user_info.h.

Definition at line 29 of file vul_user_info.h.

Definition at line 31 of file vul_user_info.h.

vcl_string vul_user_info::name

Definition at line 30 of file vul_user_info.h.

Definition at line 27 of file vul_user_info.h.

Definition at line 34 of file vul_user_info.h.

Definition at line 33 of file vul_user_info.h.

Definition at line 28 of file vul_user_info.h.


The documentation for this class was generated from the following files: