~ubuntu-branches/ubuntu/wily/openvswitch/wily

« back to all changes in this revision

Viewing changes to include/windows/syslog.h

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2015-08-10 11:35:15 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20150810113515-575vj06oq29emxsn
Tags: 2.4.0~git20150810.97bab95-0ubuntu1
* New upstream snapshot from 2.4 branch:
  - d/*: Align any relevant packaging changes with upstream.
* d/*: wrap-and-sort.
* d/openvswitch-{common,vswitch}.install: Correct install location for
  bash completion files.
* d/tests/openflow.py: Explicitly use ovs-testcontroller as provided
  by 2.4.0 release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright 2013 Cloudbase Solutions Srl
 
2
 * Copyright 2013, 2015 Cloudbase Solutions Srl
3
3
 *
4
4
 * Licensed under the Apache License, Version 2.0 (the "License"); you may
5
5
 * not use this file except in compliance with the License.You may obtain
26
26
#define LOG_INFO        6       /* informational */
27
27
#define LOG_DEBUG       7       /* debug-level messages */
28
28
#define LOG_NDELAY      8       /* don't delay open */
29
 
#define LOG_DAEMON      24      /* system daemons */
 
29
 
 
30
#define LOG_KERN      (0<<3)  /* kernel messages */
 
31
#define LOG_USER      (1<<3)  /* user-level messages */
 
32
#define LOG_MAIL      (2<<3)  /* mail system */
 
33
#define LOG_DAEMON    (3<<3)  /* system daemons */
 
34
#define LOG_AUTH      (4<<3)  /* security/authorization messages */
 
35
#define LOG_SYSLOG    (5<<3)  /* messages generated internally by syslogd */
 
36
#define LOG_LPR       (6<<3)  /* line printer subsystem */
 
37
#define LOG_NEWS      (7<<3)  /* network news subsystem */
 
38
#define LOG_UUCP      (8<<3)  /* UUCP subsystem */
 
39
#define LOG_CRON      (9<<3)  /* clock daemon */
 
40
#define LOG_AUTHPRIV  (10<<3) /* security/authorization messages */
 
41
#define LOG_FTP       (11<<3) /* FTP daemon */
30
42
 
31
43
#define LOG_LOCAL0      (16<<3) /* reserved for local use */
32
44
#define LOG_LOCAL1      (17<<3) /* reserved for local use */
38
50
#define LOG_LOCAL7      (23<<3) /* reserved for local use */
39
51
 
40
52
static inline void
41
 
openlog(const char *ident OVS_UNUSED, int option OVS_UNUSED,
42
 
        int facility OVS_UNUSED)
 
53
openlog(const char *ident, int option, int facility)
43
54
{
44
55
}
45
56
 
46
57
static inline void
47
 
syslog(int priority OVS_UNUSED, const char *format OVS_UNUSED, ...)
 
58
syslog(int priority, const char *format, ...)
48
59
{
49
60
}
50
61