📄 strutils.h
字号:
#ifdef __cplusplus
extern "C" {
#endif
/*
NOTICE:
This document contains information that is proprietary to RADVISION LTD.
No part of this publication may be reproduced in any form whatsoever without
written prior approval by RADVISION LTD.
RADVISION LTD reserves the right to revise this publication and make changes
without obligation to notify any person of such revisions or changes.
*/
/****************************************************************************
strutils.h -- String utilities interface
Module Authors: Oz Solomonovich, Sasha Ruditsky
This Comment: 1-Jan-1996
Abstract: Various string manipulation utilities.
Platforms: All,
Known Bugs: None.
****************************************************************************/
#ifndef __STRUTILS_H
#define __STRUTILS_H
#include "rvtypes.h"
#include "rverror.h"
/* ascii->bmp string - returns bytes written to target buffer */
int chr2bmp(IN RvChar *str, OUT RvUint8 *bmpStr);
/* same as chr2bmp, with maximum length */
int chrn2bmp(IN RvChar *str, IN RvSize_t maxStrLen, OUT RvUint8 *bmpStr);
/* bmp->ascii string - returns negative value on failure if conversion was unsuccessful */
int bmp2chr(OUT RvChar *str, IN RvUint8 *bmpStr, IN RvSize_t bmpLen);
/* case insensitive strncmp */
int strncmp_ci(const RvChar *dst, const RvChar *src, RvSize_t count);
#endif /* __STRUTILS_H */
#ifdef __cplusplus
}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -