📄 icstringbuffer.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 + -