]>
git.proxmox.com Git - mirror_smartmontools-debian.git/blob - os_win32/syslog.h
4 * Home page of code is: http://smartmontools.sourceforge.net
6 * Copyright (C) 2004-6 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
15 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 #define SYSLOG_H_CVSID "$Id: syslog.h,v 1.4 2006/04/12 14:54:28 ballen4705 Exp $\n"
26 /* EVENTLOG_ERROR_TYPE: */
31 /* EVENTLOG_WARNING_TYPE: */
33 /* EVENTLOG_INFORMATION_TYPE: */
39 #define LOG_DAEMON ( 3<<3)
41 #define LOG_LOCAL0 (16<<3)
43 #define LOG_LOCAL1 (17<<3)
44 #define LOG_LOCAL2 (18<<3)
45 #define LOG_LOCAL3 (19<<3)
46 #define LOG_LOCAL4 (20<<3)
47 #define LOG_LOCAL5 (21<<3)
48 #define LOG_LOCAL6 (22<<3)
49 #define LOG_LOCAL7 (23<<3)
51 #define LOG_FACMASK 0x03f8
52 #define LOG_FAC(f) (((f) & LOG_FACMASK) >> 3)
56 void openlog(const char * ident
, int option
, int facility
);
60 void vsyslog(int priority
, const char * message
, va_list args
);