home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / nspr30-e.zip / nspr30-e / include / prenv.h < prev    next >
C/C++ Source or Header  |  1998-07-21  |  1KB  |  41 lines

  1. /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /*
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  * 
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  * 
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18.  
  19. #ifndef prenv_h___
  20. #define prenv_h___
  21.  
  22. #include "prtypes.h"
  23.  
  24. /*******************************************************************************/
  25. /*******************************************************************************/
  26. /****************** THESE FUNCTIONS MAY NOT BE THREAD SAFE *********************/
  27. /*******************************************************************************/
  28. /*******************************************************************************/
  29.  
  30. PR_BEGIN_EXTERN_C
  31.  
  32. /*
  33. ** Lookup a variable in the environment. Return NULL if it's not found,
  34. ** otherwise return it's value.
  35. */
  36. PR_EXTERN(char*) PR_GetEnv(const char *var);
  37.  
  38. PR_END_EXTERN_C
  39.  
  40. #endif /* prenv_h___ */
  41.