Changeset 28903 in vbox for trunk/src/VBox/Runtime/include/internal/string.h
- Timestamp:
- Apr 29, 2010 2:58:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/include/internal/string.h
r28800 r28903 48 48 #endif 49 49 50 size_t rtstrFormatRt(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, const char **ppszFormat, va_list *pArgs, int cchWidth, int cchPrecision, unsigned fFlags, char chArgSize); 51 size_t rtstrFormatType(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, const char **ppszFormat, va_list *pArgs, int cchWidth, int cchPrecision, unsigned fFlags, char chArgSize); 50 size_t rtstrFormatRt(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, const char **ppszFormat, va_list *pArgs, 51 int cchWidth, int cchPrecision, unsigned fFlags, char chArgSize); 52 size_t rtstrFormatType(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, const char **ppszFormat, va_list *pArgs, 53 int cchWidth, int cchPrecision, unsigned fFlags, char chArgSize); 54 55 #ifdef RT_WITH_ICONV_CACHE 56 void rtStrIconvCacheInit(struct RTTHREADINT *pThread); 57 void rtStrIconvCacheDestroy(struct RTTHREADINT *pThread); 58 #endif 59 60 /** 61 * Indexes into RTTHREADINT::ahIconvs 62 */ 63 typedef enum RTSTRICONV 64 { 65 /** UTF-8 to the locale codeset (LC_CTYPE). */ 66 RTSTRICONV_UTF8_TO_LOCALE = 0, 67 /** The locale codeset (LC_CTYPE) to UTF-8. */ 68 RTSTRICONV_LOCALE_TO_UTF8, 69 /** UTF-8 to the filesystem codeset - if different from the locale codeset. */ 70 RTSTRICONV_UTF8_TO_FS, 71 /** The filesystem codeset to UTF-8. */ 72 RTSTRICONV_FS_TO_UTF8, 73 /** The end of the valid indexes. */ 74 RTSTRICONV_END 75 } RTSTRICONV; 76 77 int rtStrConvert(const char *pchInput, size_t cchInput, const char *pszInputCS, 78 char **ppszOutput, size_t cbOutput, const char *pszOutputCS, 79 unsigned cFactor, RTSTRICONV enmCacheIdx); 80 const char *rtStrGetLocaleCodeset(void); 81 int rtUtf8Length(const char *psz, size_t cch, size_t *pcuc, size_t *pcchActual); 52 82 53 83 RT_C_DECLS_END
Note:
See TracChangeset
for help on using the changeset viewer.