diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2005-10-18 16:10:18 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2005-10-18 16:10:18 +0000 |
commit | 2c7187de39b1e731057b47752e3989a954acffb8 (patch) | |
tree | a4e4b208f5e5fb590dc970b0ec0e00885e728711 /stringbuf.h | |
parent | bb0d1da6daeede6fc1236bff37814353ef5480ee (diff) | |
download | rsyslog-2c7187de39b1e731057b47752e3989a954acffb8.tar.gz rsyslog-2c7187de39b1e731057b47752e3989a954acffb8.tar.xz rsyslog-2c7187de39b1e731057b47752e3989a954acffb8.zip |
begin implementing BSD-style program blocks
Diffstat (limited to 'stringbuf.h')
-rwxr-xr-x | stringbuf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stringbuf.h b/stringbuf.h index 66288bce..c4e6492d 100755 --- a/stringbuf.h +++ b/stringbuf.h @@ -41,6 +41,7 @@ typedef struct rsCStrObject rsCStrObj; */
rsCStrObj *rsCStrConstruct(void);
rsRetVal rsCStrConstructFromszStr(rsCStrObj **ppThis, char *sz);
+rsRetVal rsCStrConstructFromCStr(rsCStrObj **ppThis, rsCStrObj *pFrom);
/**
* Destruct the string buffer object.
@@ -101,6 +102,7 @@ rsRetVal rsCStrAppendInt(rsCStrObj *pThis, int i); char* rsCStrGetSzStr(rsCStrObj *pThis);
+rsRetVal rsCStrSetSzStr(rsCStrObj *pThis, char *pszNew);
char* rsCStrConvSzStrAndDestruct(rsCStrObj *pThis);
int rsCStrCStrCmp(rsCStrObj *pCS1, rsCStrObj *pCS2);
int rsCStrSzStrCmp(rsCStrObj *pCS1, char *psz, int iLenSz);
|