/* * Copyright 1995, 1996 Perforce Software. All rights reserved. * * This file is part of Perforce - the FAST SCM System. */ /* * Hostenv.h - describe user's environment * * Fills result and returns for cwd/host/user. Returns 0 if not found. * * Public methods: * * HostEnv::GetCwd() - return the processes current working directory * HostEnv::GetHost() - return the host name * HostEnv::GetUser() - return the invoking user name * HostEnv::GetTicketFile() - return the user ticket file location * HostEnv::GetUid() - return the user id #, platform specific */ class Enviro; class HostEnv { public: int GetCwd( StrBuf &result, Enviro * = 0 ); int GetHost( StrBuf &result ); int GetUser( StrBuf &result, Enviro * = 0 ); int GetTicketFile( StrBuf &result, Enviro * = 0 ); int GetUid( int &result ); } ;
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 10716 | Robert Cowham |
Populate //guest/robert_cowham/perforce/API/p4/p4api-main/... from //guest/robert_cowham/perforce/API/p4/p4api-2009.1.209442-vs2008_static/.... |
||
//guest/robert_cowham/perforce/API/p4/p4api-2009.1.209442-vs2008_static/include/p4/hostenv.h | |||||
#1 | 10715 | Robert Cowham | Moving p4api files to a better location. | ||
//guest/robert_cowham/perforce/API/p4com/main/src/p4api-2009.1.209442-vs2008_static/include/p4/hostenv.h | |||||
#1 | 7449 | Robert Cowham | New API version |