00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _RTL_STRBUF_H_
00021 #define _RTL_STRBUF_H_
00022
00023 #include "sal/config.h"
00024
00025 #include "rtl/string.h"
00026 #include "sal/saldllapi.h"
00027
00028 #ifdef __cplusplus
00029 extern "C" {
00030 #endif
00031
00043 SAL_DLLPUBLIC void SAL_CALL rtl_stringbuffer_newFromStr_WithLength(
00044 rtl_String ** newStr,
00045 const sal_Char * value,
00046 sal_Int32 count);
00047
00063 SAL_DLLPUBLIC sal_Int32 SAL_CALL rtl_stringbuffer_newFromStringBuffer(
00064 rtl_String ** newStr,
00065 sal_Int32 capacity,
00066 rtl_String * oldStr );
00067
00085 SAL_DLLPUBLIC void SAL_CALL rtl_stringbuffer_ensureCapacity(
00086 rtl_String ** This,
00087 sal_Int32* capacity,
00088 sal_Int32 minimumCapacity);
00089
00090
00105 SAL_DLLPUBLIC void SAL_CALL rtl_stringbuffer_insert(
00106 rtl_String ** This,
00107 sal_Int32 * capacity,
00108 sal_Int32 offset,
00109 const sal_Char * str,
00110 sal_Int32 len);
00111
00123 SAL_DLLPUBLIC void SAL_CALL rtl_stringbuffer_remove(
00124 rtl_String ** This,
00125 sal_Int32 start,
00126 sal_Int32 len );
00127
00128 #ifdef __cplusplus
00129 }
00130 #endif
00131
00132 #endif
00133
00134