⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 icstringbuffer.h

📁 IBE是一种非对称密码技术
💻 H
字号:
/* Copyright 2003-2006, Voltage Security, all rights reserved.
 */

#include "vibe.h"
#include "environment.h"
#include "base.h"
#include "libctx.h"
#include "stringutil.h"

#ifndef _ICSTRINGBUFFER_H_
#define _ICSTRINGBUFFER_H_

#ifdef __cplusplus
extern "C" {
#endif

typedef struct  
{
  char           *str;
  unsigned int    capacity;
  unsigned int    length;
} icStringBuffer;

/* Creates a string buffer.
 */
int icStringBufferCreate (
   icStringBuffer **buffer,
   VoltLibCtx *libCtx
   );

/* Frees all memory associated with the string buffer.
 */
void icStringBufferFree (
   icStringBuffer **buffer,
   VoltLibCtx *libCtx
   );

/* Appends the character to the string buffer, expanding it if necessary.
 */
int icStringBufferAppend (
   icStringBuffer *buffer,
   int theChar,
   VoltLibCtx *libCtx
   );

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -