Current Path : /compat/linux/proc/self/root/usr/local/include/rpm/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/local/include/rpm/stringbuf.h |
#ifndef _STRINGBUF_H_ #define _STRINGBUF_H_ typedef /*@abstract@*/ struct StringBufRec *StringBuf; #ifdef __cplusplus extern "C" { #endif /*@only@*/ StringBuf newStringBuf(void); void freeStringBuf( /*@only@*/ StringBuf sb); void truncStringBuf(StringBuf sb); /*@observer@*/ char *getStringBuf(StringBuf sb); void stripTrailingBlanksStringBuf(StringBuf sb); #define appendStringBuf(sb, s) appendStringBufAux(sb, s, 0) #define appendLineStringBuf(sb, s) appendStringBufAux(sb, s, 1) void appendStringBufAux(StringBuf sb, const char *s, int nl); #ifdef __cplusplus } #endif #endif /* _STRINGBUF_H_ */