summaryrefslogtreecommitdiffabout
path: root/src/err.h
blob: d3d9f3e955a1682210876dbbab7776ef925af138 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* This file is part of vmod-binlog
   Copyright (C) 2013-2014 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 <http://www.gnu.org/licenses/>.
*/
extern const char *progname;

void setprogname(const char *);
void error(const char *fmt, ...)
	__attribute__ ((__format__ (__printf__, 1, 2)));
void packerror(const char *fmt, ...)
	__attribute__ ((__format__ (__printf__, 1, 2)));
void version(void);

Return to:

Send suggestions and report system problems to the System administrator.