/* * 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::GetUid() - return the user id #, platform specific */ class HostEnv { public: int GetCwd( StrBuf &result ); int GetHost( StrBuf &result ); int GetUser( StrBuf &result ); int GetUid( int &result ); } ;
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 6050 | Robert Cowham |
- Use P4API 2007.2 - Added SetProg, SetVersion, SetProtocol and GetProtocol |
||
#2 | 5197 | Robert Cowham | Updated to use 2005.1 P4API | ||
#1 | 3534 | Robert Cowham | Added complete test projects for VB6, VB.NET and C#(.NET) |