Removed expand_envvars.h

Signed-off-by: Martin Bremmer <martin.bremmer@adlinktech.com>
This commit is contained in:
Martin Bremmer 2019-04-25 13:29:11 +02:00
parent e9f6ec6f48
commit 7a705eabf0
4 changed files with 0 additions and 34 deletions

View file

@ -33,7 +33,6 @@
#include "dds/ddsi/q_error.h"
#include "dds/ddsrt/xmlparser.h"
#include "dds/ddsrt/expand_envvars.h"
#include "dds/version.h"

View file

@ -79,7 +79,6 @@ list(APPEND sources
list(APPEND headers
"${source_path}/dds/ddsrt/avl.h"
"${source_path}/dds/ddsrt/expand_envvars.h"
"${source_path}/dds/ddsrt/fibheap.h"
"${source_path}/dds/ddsrt/hopscotch.h"
"${source_path}/dds/ddsrt/thread_pool.h")

View file

@ -1,31 +0,0 @@
/*
* Copyright(c) 2006 to 2018 ADLINK Technology Limited and others
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0, or the Eclipse Distribution License
* v. 1.0 which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
*/
#ifndef DDSRT_EXPAND_ENVVARS_H
#define DDSRT_EXPAND_ENVVARS_H
#include "dds/export.h"
#if defined (__cplusplus)
extern "C" {
#endif
/* Expands ${X}, ${X:-Y}, ${X:+Y}, ${X:?Y} forms, but not $X */
DDS_EXPORT char *ddsrt_expand_envvars(const char *string);
/* Expands $X, ${X}, ${X:-Y}, ${X:+Y}, ${X:?Y} forms, $ and \ can be escaped with \ */
DDS_EXPORT char *ddsrt_expand_envvars_sh(const char *string);
#if defined (__cplusplus)
}
#endif
#endif

View file

@ -19,7 +19,6 @@
#include "dds/ddsrt/heap.h"
#include "dds/ddsrt/log.h"
#include "dds/ddsrt/string.h"
#include "dds/ddsrt/expand_envvars.h"
typedef char * (*expand_fn)(const char *src0);