pinfo Class Reference

#include <shared.h>


Public Member Functions

sigaction & getsig (int)
void copysigs (pinfo *)
sigset_t & getsigmask ()
void setsigmask (sigset_t)
LONG * getsigtodo (int)
HANDLE getthread2signal ()
void setthread2signal (void *)
void record_death (int lock=1)

Data Fields

HANDLE hProcess
HANDLE parent_alive
DWORD dwProcessId
uid_t uid
gid_t gid
pid_t pgid
pid_t sid
int ctty
mode_t umask
char username [MAX_USER_NAME]
PSID psid
char sidbuf [MAX_SID_LEN]
char logsrv [MAX_HOST_NAME]
char domain [MAX_COMPUTERNAME_LENGTH+1]
HANDLE token
BOOL impersonated
uid_t orig_uid
uid_t orig_gid
uid_t real_uid
gid_t real_gid
char root [MAX_PATH+1]
size_t rootlen
char stopsig
long start_time
rusage rusage_self
rusage rusage_children
void * mmap_ptr
char progname [MAX_PATH]
pid_t pid
pid_t ppid
DWORD process_state

Private Attributes

sigaction sigs [NSIG]
sigset_t sig_mask
LONG _sigtodo [NSIG+__SIGOFFSET]


Detailed Description

Definition at line 56 of file shared.h.


Member Function Documentation

void pinfo::copysigs pinfo  ) 
 

Referenced by fork().

struct sigaction& pinfo::getsig int   ) 
 

sigset_t& pinfo::getsigmask  ) 
 

LONG* pinfo::getsigtodo int   ) 
 

HANDLE pinfo::getthread2signal  ) 
 

void pinfo::record_death int  lock = 1  ) 
 

void pinfo::setsigmask sigset_t   ) 
 

void pinfo::setthread2signal void *   ) 
 


Field Documentation

LONG pinfo::_sigtodo[NSIG+__SIGOFFSET] [private]
 

Definition at line 129 of file shared.h.

int pinfo::ctty
 

Definition at line 84 of file shared.h.

Referenced by fork().

char pinfo::domain[MAX_COMPUTERNAME_LENGTH+1]
 

Definition at line 94 of file shared.h.

Referenced by fork().

DWORD pinfo::dwProcessId
 

Definition at line 72 of file shared.h.

Referenced by fork().

gid_t pinfo::gid
 

Definition at line 81 of file shared.h.

Referenced by fork().

HANDLE pinfo::hProcess
 

Definition at line 64 of file shared.h.

Referenced by fork().

BOOL pinfo::impersonated
 

Definition at line 99 of file shared.h.

Referenced by fork().

char pinfo::logsrv[MAX_HOST_NAME]
 

Definition at line 93 of file shared.h.

Referenced by fork().

void* pinfo::mmap_ptr
 

Definition at line 137 of file shared.h.

uid_t pinfo::orig_gid
 

Definition at line 101 of file shared.h.

Referenced by fork().

uid_t pinfo::orig_uid
 

Definition at line 100 of file shared.h.

Referenced by fork().

HANDLE pinfo::parent_alive
 

Definition at line 66 of file shared.h.

pid_t pinfo::pgid
 

Definition at line 82 of file shared.h.

Referenced by fork().

pid_t pinfo::pid
 

Definition at line 147 of file shared.h.

Referenced by fork().

pid_t pinfo::ppid
 

Definition at line 149 of file shared.h.

Referenced by fork().

DWORD pinfo::process_state
 

Definition at line 153 of file shared.h.

Referenced by fork().

char pinfo::progname[MAX_PATH]
 

Definition at line 140 of file shared.h.

Referenced by fork().

PSID pinfo::psid
 

Definition at line 91 of file shared.h.

Referenced by fork().

gid_t pinfo::real_gid
 

Definition at line 103 of file shared.h.

Referenced by fork().

uid_t pinfo::real_uid
 

Definition at line 102 of file shared.h.

Referenced by fork().

char pinfo::root[MAX_PATH+1]
 

Definition at line 107 of file shared.h.

Referenced by fork().

size_t pinfo::rootlen
 

Definition at line 108 of file shared.h.

Referenced by fork().

struct rusage pinfo::rusage_children
 

Definition at line 124 of file shared.h.

struct rusage pinfo::rusage_self
 

Definition at line 123 of file shared.h.

pid_t pinfo::sid
 

Definition at line 83 of file shared.h.

Referenced by fork().

char pinfo::sidbuf[MAX_SID_LEN]
 

Definition at line 92 of file shared.h.

Referenced by fork().

sigset_t pinfo::sig_mask [private]
 

Definition at line 128 of file shared.h.

struct sigaction pinfo::sigs[NSIG] [private]
 

Definition at line 127 of file shared.h.

long pinfo::start_time
 

Definition at line 122 of file shared.h.

char pinfo::stopsig
 

Definition at line 111 of file shared.h.

HANDLE pinfo::token
 

Definition at line 98 of file shared.h.

Referenced by fork().

uid_t pinfo::uid
 

Definition at line 80 of file shared.h.

Referenced by fork().

mode_t pinfo::umask
 

Definition at line 85 of file shared.h.

Referenced by fork().

char pinfo::username[MAX_USER_NAME]
 

Definition at line 86 of file shared.h.

Referenced by fork().


The documentation for this class was generated from the following file:
Generated on Sun Mar 12 23:56:39 2006 for ScriptBasic by  doxygen 1.4.6-NO