aboutsummaryrefslogtreecommitdiffstats
path: root/src/json/strbuffer.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-08-19 17:02:22 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-08-19 17:02:22 +0100
commit8114d4956eb1f862f9eead17ade6838edba1a2bf (patch)
treee2766f7338ea1addbb786fdb1086cbb258838357 /src/json/strbuffer.h
parent6cef19905c13ea7c2cbd001f45e5236bc35805c4 (diff)
downloadrspamd-8114d4956eb1f862f9eead17ade6838edba1a2bf.tar.gz
rspamd-8114d4956eb1f862f9eead17ade6838edba1a2bf.zip
Remove embedded jansson completely.
Diffstat (limited to 'src/json/strbuffer.h')
-rw-r--r--src/json/strbuffer.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/json/strbuffer.h b/src/json/strbuffer.h
deleted file mode 100644
index 4afefa9ff..000000000
--- a/src/json/strbuffer.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Copyright (c) 2009 Petri Lehtinen <petri@digip.org>
- *
- * Jansson is free software; you can redistribute it and/or modify
- * it under the terms of the MIT license. See LICENSE for details.
- */
-
-#ifndef STRBUFFER_H
-#define STRBUFFER_H
-
-typedef struct {
- char *value;
- int length; /* bytes used */
- int size; /* bytes allocated */
-} strbuffer_t;
-
-int strbuffer_init(strbuffer_t *strbuff);
-void strbuffer_close(strbuffer_t *strbuff);
-
-void strbuffer_clear(strbuffer_t *strbuff);
-
-const char *strbuffer_value(const strbuffer_t *strbuff);
-char *strbuffer_steal_value(strbuffer_t *strbuff);
-
-int strbuffer_append(strbuffer_t *strbuff, const char *string);
-int strbuffer_append_byte(strbuffer_t *strbuff, char byte);
-int strbuffer_append_bytes(strbuffer_t *strbuff, const char *data, int size);
-
-char strbuffer_pop(strbuffer_t *strbuff);
-
-#endif