strutils.h
来自「基于h323协议的软phone」· C头文件 代码 · 共 64 行
H
64 行
#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 + =
减小字号Ctrl + -
显示快捷键?