| 1 | /* $Id: kHlpEnv.h 3573 2007-08-31 04:09:23Z bird $ */ | 
|---|
| 2 | /** @file | 
|---|
| 3 | * kHlpEnv - Environment Manipulation. | 
|---|
| 4 | */ | 
|---|
| 5 |  | 
|---|
| 6 | /* | 
|---|
| 7 | * Copyright (c) 2006-2007 knut st. osmundsen <bird-src-spam@anduin.net> | 
|---|
| 8 | * | 
|---|
| 9 | * This file is part of kStuff. | 
|---|
| 10 | * | 
|---|
| 11 | * kStuff is free software; you can redistribute it and/or modify | 
|---|
| 12 | * it under the terms of the GNU Lesser General Public License as published | 
|---|
| 13 | * by the Free Software Foundation; either version 2 of the License, or | 
|---|
| 14 | * (at your option) any later version. | 
|---|
| 15 | * | 
|---|
| 16 | * kStuff is distributed in the hope that it will be useful, | 
|---|
| 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|---|
| 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
|---|
| 19 | * GNU Lesser General Public License for more details. | 
|---|
| 20 | * | 
|---|
| 21 | * You should have received a copy of the GNU Lesser General Public License | 
|---|
| 22 | * along with kStuff; if not, write to the Free Software | 
|---|
| 23 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA | 
|---|
| 24 | * | 
|---|
| 25 | */ | 
|---|
| 26 |  | 
|---|
| 27 | #ifndef ___k_kHlpEnv_h___ | 
|---|
| 28 | #define ___k_kHlpEnv_h___ | 
|---|
| 29 |  | 
|---|
| 30 | #include <k/kHlpDefs.h> | 
|---|
| 31 | #include <k/kTypes.h> | 
|---|
| 32 |  | 
|---|
| 33 | /** @defgroup grp_kHlpEnv kHlpEnv - Environment Manipulation | 
|---|
| 34 | * @addtogroup grp_kHlp | 
|---|
| 35 | * @{*/ | 
|---|
| 36 |  | 
|---|
| 37 | #ifdef __cplusplus | 
|---|
| 38 | extern "C" { | 
|---|
| 39 | #endif | 
|---|
| 40 |  | 
|---|
| 41 | KHLP_DECL(int)  kHlpGetEnv(const char *pszVar, char *pszVal, KSIZE cchVal); | 
|---|
| 42 | KHLP_DECL(int)  kHlpGetEnvUZ(const char *pszVar, KSIZE *pcb); | 
|---|
| 43 |  | 
|---|
| 44 | #ifdef __cplusplus | 
|---|
| 45 | } | 
|---|
| 46 | #endif | 
|---|
| 47 |  | 
|---|
| 48 | /** @} */ | 
|---|
| 49 |  | 
|---|
| 50 | #endif | 
|---|
| 51 |  | 
|---|