summaryrefslogtreecommitdiff
path: root/src/sds.h
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2011-08-18 12:44:30 +0200
committerantirez <antirez@gmail.com>2011-09-13 12:22:54 +0200
commitf990782f4ded01658f3091b5ebf956ca778f957e (patch)
tree8931508c7b81cf7fc6d8193be297efef8781d934 /src/sds.h
parenta57225c2cff6547a70604c64de9e3a01a6c17eb2 (diff)
downloadredis-f990782f4ded01658f3091b5ebf956ca778f957e.tar.gz
Re-use AOF buffer when it is small enough
Diffstat (limited to 'src/sds.h')
-rw-r--r--src/sds.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sds.h b/src/sds.h
index af5c4910b..6e5684eeb 100644
--- a/src/sds.h
+++ b/src/sds.h
@@ -76,6 +76,7 @@ sds sdscatprintf(sds s, const char *fmt, ...);
sds sdstrim(sds s, const char *cset);
sds sdsrange(sds s, int start, int end);
void sdsupdatelen(sds s);
+void sdsclear(sds s);
int sdscmp(sds s1, sds s2);
sds *sdssplitlen(char *s, int len, char *sep, int seplen, int *count);
void sdsfreesplitres(sds *tokens, int count);