Nguyen Anh Quynh | 6023ef7 | 2014-04-29 11:21:04 +0800 | [diff] [blame] | 1 | /* Capstone Disassembly Engine */ |
| 2 | /* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */ |
Nguyen Anh Quynh | 26ee41a | 2013-11-27 12:11:31 +0800 | [diff] [blame] | 3 | |
| 4 | #ifndef CS_SSTREAM_H_ |
| 5 | #define CS_SSTREAM_H_ |
| 6 | |
| 7 | typedef struct SStream { |
| 8 | char buffer[512]; |
| 9 | int index; |
| 10 | } SStream; |
| 11 | |
| 12 | void SStream_Init(SStream *ss); |
| 13 | |
| 14 | void SStream_concat(SStream *ss, const char *fmt, ...); |
| 15 | |
Nguyen Anh Quynh | b76233c | 2014-06-04 18:31:02 +0800 | [diff] [blame] | 16 | void SStream_concat0(SStream *ss, char *s); |
| 17 | |
Nguyen Anh Quynh | 26ee41a | 2013-11-27 12:11:31 +0800 | [diff] [blame] | 18 | #endif |