ascii.h 589 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef ASCII_LIB_H
  2. #define ASCII_LIB_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #include "typedef.h"
  7. void ASCII_ToLower(void *buf, u32 len);
  8. void ASCII_ToUpper(void *buf, u32 len);
  9. u32 ASCII_StrCmp(const char *src, const char *dst, u32 len);
  10. int ASCII_StrCmpNoCase(const char *src, const char *dst, int len);
  11. void ASCII_IntToStr(void *pStr, u32 intNum, u32 strLen, u32 bufLen);
  12. u32 ASCII_StrToInt(const void *pStr, u32 *pRint, u32 strLen);
  13. u32 ASCII_StrLen(void *str, u32 len);
  14. u32 ASCII_WStrLen(void *str, u32 len);
  15. #ifdef __cplusplus
  16. }
  17. #endif
  18. #endif