diff --git a/harbour/include/hbapi.h b/harbour/include/hbapi.h index 2879f2fd66..8e62367c7e 100644 --- a/harbour/include/hbapi.h +++ b/harbour/include/hbapi.h @@ -577,8 +577,12 @@ extern char * hb_verCompiler( void ); /* retrieves a newly allocated buffer cont extern char * hb_verHarbour( void ); /* retrieves a newly allocated buffer containing harbour version */ extern void hb_verBuildInfo( void ); /* display harbour, compiler, and platform versions to standard console */ +/* environment variables access */ +/* WARNING: This returned pointer must be freed using hb_xfree( ( void * ) ptr ); */ +extern char * hb_getenv( const char * name ); + #if defined(HB_EXTERN_C) } #endif -#endif /* HB_APIEXT_H_ */ +#endif /* HB_APIEXT_H_ */ \ No newline at end of file