diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2007-04-03 13:04:58 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2007-04-03 13:04:58 +0000 |
commit | 8601e31bf6d9948608657054ddaf07c736541e04 (patch) | |
tree | 6ae1918438c066c98bb2a1afc92b2125fb6d9d41 /sal/rtl/source/hash.h | |
parent | e4e0efc520c04a0175df45edf09c3ef4164e9dc0 (diff) |
INTEGRATION: CWS salstrintern (1.1.2); FILE ADDED
2007/02/07 14:45:36 mmeeks 1.1.2.2: Issue number: i#73909#
Submitted by: mmeeks
Reviewed by: sb
A load of fixes for Stefan, thanks for the review.
2007/01/25 17:56:37 mmeeks 1.1.2.1: Start of OUString interning.
Diffstat (limited to 'sal/rtl/source/hash.h')
-rw-r--r-- | sal/rtl/source/hash.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/sal/rtl/source/hash.h b/sal/rtl/source/hash.h new file mode 100644 index 000000000000..81eefc7e1b58 --- /dev/null +++ b/sal/rtl/source/hash.h @@ -0,0 +1,29 @@ +#ifndef INCLUDED_RTL_SOURCE_HASH_H +#define INCLUDED_RTL_SOURCE_HASH_H + +#ifndef _SAL_TYPES_H_ +#include <sal/types.h> +#endif +#ifndef _RTL_USTRING_H_ +#include <rtl/ustring.h> +#endif + +#if defined __cplusplus +extern "C" { +#endif /* __cplusplus */ + +typedef struct StringHashTableImpl StringHashTable; + +StringHashTable *rtl_str_hash_new (sal_uInt32 nSize); +void rtl_str_hash_free (StringHashTable *pHash); +rtl_uString *rtl_str_hash_intern (StringHashTable *pHash, + rtl_uString *pString, + int can_return); +void rtl_str_hash_remove (StringHashTable *pHash, + rtl_uString *pString); + +#if defined __cplusplus +} +#endif /* __cplusplus */ + +#endif /* INCLUDED_RTL_SOURCE_HASH_H */ |