xref: /aoo42x/main/sal/rtl/source/hash.h (revision b31e36b3)
1cdf0e10cSrcweir #ifndef INCLUDED_RTL_SOURCE_HASH_H
2cdf0e10cSrcweir #define INCLUDED_RTL_SOURCE_HASH_H
3*b31e36b3SAndrew Rist /**************************************************************
4*b31e36b3SAndrew Rist  *
5*b31e36b3SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
6*b31e36b3SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
7*b31e36b3SAndrew Rist  * distributed with this work for additional information
8*b31e36b3SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
9*b31e36b3SAndrew Rist  * to you under the Apache License, Version 2.0 (the
10*b31e36b3SAndrew Rist  * "License"); you may not use this file except in compliance
11*b31e36b3SAndrew Rist  * with the License.  You may obtain a copy of the License at
12*b31e36b3SAndrew Rist  *
13*b31e36b3SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
14*b31e36b3SAndrew Rist  *
15*b31e36b3SAndrew Rist  * Unless required by applicable law or agreed to in writing,
16*b31e36b3SAndrew Rist  * software distributed under the License is distributed on an
17*b31e36b3SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18*b31e36b3SAndrew Rist  * KIND, either express or implied.  See the License for the
19*b31e36b3SAndrew Rist  * specific language governing permissions and limitations
20*b31e36b3SAndrew Rist  * under the License.
21*b31e36b3SAndrew Rist  *
22*b31e36b3SAndrew Rist  *************************************************************/
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #include <sal/types.h>
25cdf0e10cSrcweir #include <rtl/ustring.h>
26cdf0e10cSrcweir 
27cdf0e10cSrcweir #if defined __cplusplus
28cdf0e10cSrcweir extern "C" {
29cdf0e10cSrcweir #endif /* __cplusplus */
30cdf0e10cSrcweir 
31cdf0e10cSrcweir /* These functions are not multi-thread safe: */
32cdf0e10cSrcweir 
33cdf0e10cSrcweir rtl_uString     *rtl_str_hash_intern (rtl_uString       *pString,
34cdf0e10cSrcweir                                       int                can_return);
35cdf0e10cSrcweir void             rtl_str_hash_remove (rtl_uString       *pString);
36cdf0e10cSrcweir 
37cdf0e10cSrcweir #if defined __cplusplus
38cdf0e10cSrcweir }
39cdf0e10cSrcweir #endif /* __cplusplus */
40cdf0e10cSrcweir 
41cdf0e10cSrcweir #endif /* INCLUDED_RTL_SOURCE_HASH_H */
42