mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-18 20:10:29 +01:00
This patch is used to add support for syslog messaging implemented in WINGs lib directly, so available from the lib itself and wmaker too. I believe it will in a first time help to get some logging info centralized in one point, and in a second time maybe add some info level messages like wmaker is starting, stopping, restarting and else. For now, it's built by default when the syslog support is found, maybe we could also disable it by default.
37 lines
1.1 KiB
C
37 lines
1.1 KiB
C
/* WUtil / error.h
|
|
*
|
|
* Copyright (c) 2014 Window Maker Team
|
|
*
|
|
* This program 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 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program 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 this program; if not, write to the Free Software Foundation, Inc.,
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
*/
|
|
|
|
#ifndef WUTIL_ERROR_H
|
|
#define WUTIL_ERROR_H
|
|
|
|
/*
|
|
* This file is not part of WUtil public API
|
|
*
|
|
* It defines internal things for the error message display functions
|
|
*/
|
|
|
|
|
|
#ifdef HAVE_SYSLOG_H
|
|
/* Function to cleanly close the syslog stuff, called by wutil_shutdown from user side */
|
|
void w_syslog_close(void);
|
|
#endif
|
|
|
|
|
|
#endif /* WUTIL_ERROR_H */
|