File:  [parser3project] / parser3 / src / lib / sdbm / pa-include / pa_strings.h
Revision 1.5: download - view: text, annotated - select for diffs - revision graph
Thu Dec 26 02:16:31 2024 UTC (18 months, 1 week ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, HEAD
unused code cleaned, pa_pstrcat uses pa_strcat

/* Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You 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.
 */

#ifndef PA_STRINGS_H
#define PA_STRINGS_H

#include "pa_apr.h"
#include "pa_errno.h"

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

// Concatenate multiple strings, allocating memory out a pool
char *pa_pstrcat(const char *a, const char *b);

// use libgc
void* pa_sdbm_malloc(unsigned int size);

#ifdef __cplusplus
}
#endif

#endif  /* !PA_STRINGS_H */

E-mail: