/* Copyright 2006 Paul Querna * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include "etl_data.h" #include "etl_variables.h" #ifndef PWT_PRIVATE_ETL_UTIL_H #define PWT_PRIVATE_ETL_UTIL_H const etl_variable_t* pwt_variable_get(etl_hash_t *env, const char *key); const char* pwt_variable_get_str(etl_hash_t *env, const char *key, const char* defaultv); pwt_error_t* pwt_variable_set_str(etl_hash_t *env, const char *key, const char *data); pwt_error_t* pwt_ddl_parse_file(etl_hash_t **data, etl_resolver_t *resolver, const char *filename); #endif /* PWT_PRIVATE_ETL_UTIL_H */