sl@0: /************************************************************************ sl@0: * sl@0: * environ.h - declarations of testsuite helpers sl@0: * sl@0: * $Id: environ.h 290013 2005-09-18 23:47:55Z sebor $ sl@0: * sl@0: ************************************************************************ sl@0: * sl@0: * Copyright (c) 1994-2005 Quovadx, Inc., acting through its Rogue Wave sl@0: * Software division. Licensed under the Apache License, Version 2.0 (the sl@0: * "License"); you may not use this file except in compliance with the sl@0: * License. You may obtain a copy of the License at sl@0: * http://www.apache.org/licenses/LICENSE-2.0. Unless required by sl@0: * applicable law or agreed to in writing, software distributed under sl@0: * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR sl@0: * CONDITIONS OF ANY KIND, either express or implied. See the License sl@0: * for the specific language governing permissions and limitations under sl@0: * the License. sl@0: * sl@0: **************************************************************************/ sl@0: sl@0: #ifndef RW_ENVIRON_H_INCLUDED sl@0: #define RW_ENVIRON_H_INCLUDED sl@0: sl@0: sl@0: #include sl@0: sl@0: sl@0: // rw_putenv is a wrapper for the C standard library putenv function sl@0: // when called with the first argument of 0, rw_putenv defines any sl@0: // environment variables specified in the RW_PUTENV environment sl@0: // variable (e.g., RW_PUTENV=:foo=1:bar=2 will cause the variables sl@0: // foo=1 and bar=2 to be defined in the environment) sl@0: _TEST_EXPORT int sl@0: rw_putenv (const char*, int = -1); sl@0: sl@0: sl@0: #endif // RW_ENVIRON_H_INCLUDED