Home | History | Annotate | Download | only in src
      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 
     35 void _STLP_CALL __release_ctype(_Locale_ctype* cat);
     36 void _STLP_CALL __release_codecvt(_Locale_codecvt* cat);
     37 void _STLP_CALL __release_numeric(_Locale_numeric* cat);
     38 void _STLP_CALL __release_collate(_Locale_collate* cat);
     39 void _STLP_CALL __release_monetary(_Locale_monetary* cat);
     40 void _STLP_CALL __release_time(_Locale_time* __time);
     41 void _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