]>
git.proxmox.com Git - mirror_smartmontools-debian.git/blob - os_win32/syslog.h
3061d07705b7b32d920f8d800f438d310572b0ad
4 * Home page of code is: http://smartmontools.sourceforge.net
6 * Copyright (C) 2004-8 Christian Franke <smartmontools-support@lists.sourceforge.net>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2, or (at your option)
13 * You should have received a copy of the GNU General Public License
14 * (for example COPYING); if not, write to the Free Software Foundation,
15 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 #define SYSLOG_H_CVSID "$Id: syslog.h 3728 2012-12-13 17:57:50Z chrfranke $\n"
30 /* EVENTLOG_ERROR_TYPE: */
35 /* EVENTLOG_WARNING_TYPE: */
37 /* EVENTLOG_INFORMATION_TYPE: */
43 #define LOG_DAEMON ( 3<<3)
45 #define LOG_LOCAL0 (16<<3)
47 #define LOG_LOCAL1 (17<<3)
48 #define LOG_LOCAL2 (18<<3)
49 #define LOG_LOCAL3 (19<<3)
50 #define LOG_LOCAL4 (20<<3)
51 #define LOG_LOCAL5 (21<<3)
52 #define LOG_LOCAL6 (22<<3)
53 #define LOG_LOCAL7 (23<<3)
55 #define LOG_FACMASK 0x03f8
56 #define LOG_FAC(f) (((f) & LOG_FACMASK) >> 3)
60 void openlog(const char * ident
, int option
, int facility
);
64 void vsyslog(int priority
, const char * message
, va_list args
);