blob: 28e193da6fe7a19c2895695952f4ff84accfa1a1 [file] [log] [blame]
Nguyen Anh Quynh6023ef72014-04-29 11:21:04 +08001/* Capstone Disassembly Engine */
2/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */
Nguyen Anh Quynh26ee41a2013-11-27 12:11:31 +08003
4#ifndef CS_SSTREAM_H_
5#define CS_SSTREAM_H_
6
7typedef struct SStream {
8 char buffer[512];
9 int index;
10} SStream;
11
12void SStream_Init(SStream *ss);
13
14void SStream_concat(SStream *ss, const char *fmt, ...);
15
Nguyen Anh Quynhb76233c2014-06-04 18:31:02 +080016void SStream_concat0(SStream *ss, char *s);
17
Nguyen Anh Quynh26ee41a2013-11-27 12:11:31 +080018#endif