summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/strbuf.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-01-17 01:57:17 +0100
committerLennart Poettering <lennart@poettering.net>2009-01-17 01:57:17 +0100
commit4a66837b83d85ef9cad61f1d0e9fb776b0236368 (patch)
treebbec2bb2c8c6dac247ce6136152be0317970577e /src/pulsecore/strbuf.h
parentb4d80462bf66530ead1e4877f848c63f7693bd58 (diff)
add pa_strbuf_isempty
Diffstat (limited to 'src/pulsecore/strbuf.h')
-rw-r--r--src/pulsecore/strbuf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pulsecore/strbuf.h b/src/pulsecore/strbuf.h
index ac68d7be..1d2a588f 100644
--- a/src/pulsecore/strbuf.h
+++ b/src/pulsecore/strbuf.h
@@ -23,6 +23,7 @@
***/
#include <pulse/gccmacro.h>
+#include <pulsecore/macro.h>
typedef struct pa_strbuf pa_strbuf;
@@ -35,4 +36,6 @@ size_t pa_strbuf_printf(pa_strbuf *sb, const char *format, ...) PA_GCC_PRINTF_A
void pa_strbuf_puts(pa_strbuf *sb, const char *t);
void pa_strbuf_putsn(pa_strbuf *sb, const char *t, size_t m);
+pa_bool_t pa_strbuf_isempty(pa_strbuf *sb);
+
#endif