1/*
2 * Copyright (c) 1999
3 * Silicon Graphics Computer Systems, Inc.
4 *
5 * Copyright (c) 1999
6 * Boris Fomitchev
7 *
8 * This material is provided "as is", with absolutely no warranty expressed
9 * or implied. Any use is at your own risk.
10 *
11 * Permission to use or copy this software for any purpose is hereby granted
12 * without fee, provided the above notices are retained on all copies.
13 * Permission to modify the code and to distribute modified code is granted,
14 * provided the above notices are retained, and a notice that the code was
15 * modified is included with the above copyright notice.
16 *
17 */
18
19#ifndef ACQUIRE_RELEASE_H
20#define ACQUIRE_RELEASE_H
21
22#include "c_locale.h"
23
24_STLP_BEGIN_NAMESPACE
25_STLP_MOVE_TO_PRIV_NAMESPACE
26
27_Locale_ctype* _STLP_CALL __acquire_ctype(const char* &name, char *buf, _Locale_name_hint* hint, int *__err_code);
28_Locale_codecvt* _STLP_CALL __acquire_codecvt(const char* &name, char *buf, _Locale_name_hint* hint, int *__err_code);
29_Locale_numeric* _STLP_CALL __acquire_numeric(const char* &name, char *buf, _Locale_name_hint* hint, int *__err_code);
30_Locale_collate* _STLP_CALL __acquire_collate(const char* &name, char *buf, _Locale_name_hint* hint, int *__err_code);
31_Locale_monetary* _STLP_CALL __acquire_monetary(const char* &name, char *buf, _Locale_name_hint* hint, int *__err_code);
32_Locale_time* _STLP_CALL __acquire_time(const char* &name, char *buf, _Locale_name_hint*, int *__err_code);
33_Locale_messages* _STLP_CALL __acquire_messages(const char* &name, char *buf, _Locale_name_hint* hint, int *__err_code);
34
35void _STLP_CALL __release_ctype(_Locale_ctype* cat);
36void _STLP_CALL __release_codecvt(_Locale_codecvt* cat);
37void _STLP_CALL __release_numeric(_Locale_numeric* cat);
38void _STLP_CALL __release_collate(_Locale_collate* cat);
39void _STLP_CALL __release_monetary(_Locale_monetary* cat);
40void _STLP_CALL __release_time(_Locale_time* __time);
41void _STLP_CALL __release_messages(_Locale_messages* cat);
42
43_STLP_MOVE_TO_STD_NAMESPACE
44_STLP_END_NAMESPACE
45
46#endif /* ACQUIRE_RELEASE_H */
47