aboutsummaryrefslogtreecommitdiff
path: root/src/xalloc.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-10-14 15:28:51 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2013-10-14 17:54:41 +0300
commitf035194d7d1b6cc0846ad7a5d86e0d6fa9463c67 (patch)
tree494d180cee9a078727c8d4965caa65cb2052f33d /src/xalloc.h
parent58f7dbc0658b3d73816a1bc91b75c2bdac733510 (diff)
downloadvmod-binlog-f035194d7d1b6cc0846ad7a5d86e0d6fa9463c67.tar.gz
vmod-binlog-f035194d7d1b6cc0846ad7a5d86e0d6fa9463c67.tar.bz2
New utility binlogsel
* configure.ac: Check for yacc. * src/.gitignore: Update. * src/Makefile.am (libbinlog_a_SOURCES): Add new files. Build binlogsel. * src/binlogcat.c: Use xmalloc. * src/binlogsel.c: New file. * src/parse-datetime.h: New file. * src/parse-datetime.y: New file. * src/xalloc.c: New file. * src/xalloc.h: New file.
Diffstat (limited to 'src/xalloc.h')
-rw-r--r--src/xalloc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xalloc.h b/src/xalloc.h
new file mode 100644
index 0000000..da7922f
--- /dev/null
+++ b/src/xalloc.h
@@ -0,0 +1,3 @@
+void *xmalloc(size_t s);
+void *xmemdup(void const *p, size_t s);
+void *xcalloc(size_t count, size_t size);

Return to:

Send suggestions and report system problems to the System administrator.