From 23f262e8c6181465347c3bb47644f9d86fcb7432 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sun, 13 Oct 2013 12:44:12 +0300 Subject: * src/Makefile.am: New convenience library libbinlog.a * src/binlogcat.c: Use functions from libbinlog.a * src/err.h: New file. * src/err.c: New file. * tests/.gitignore: Add binpack.c * tests/Makefile.am: Build binpack.c * tests/binpack.c: New file. --- src/err.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/err.h (limited to 'src/err.h') diff --git a/src/err.h b/src/err.h new file mode 100644 index 0000000..69139fd --- /dev/null +++ b/src/err.h @@ -0,0 +1,21 @@ +/* This file is part of vmod-binlog + Copyright (C) 2013 Sergey Poznyakoff + + Vmod-binlog is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + Vmod-binlog is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with vmod-binlog. If not, see . +*/ +extern const char *progname; + +void setprogname(const char *); +void error(const char *fmt, ...); +void packerror(const char *fmt, ...); -- cgit v1.2.1