-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsyslog.h
More file actions
76 lines (63 loc) · 2.51 KB
/
syslog.h
File metadata and controls
76 lines (63 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/*----------------------------------------------------------------------------
Copyright: Jens Mundhenke
Author: Jens Mundhenke
Remarks: Used on the IP-stack of Ulrich Radig
known Problems:
Version: 18.01.2009
13.02.2009 simplified
Description: Interpreter and Flasher for Intelhex-lines
This module interprets a stream of intel hex information and flashes it
to the programm store.
Dieses Programm ist freie Software. Sie können es unter den Bedingungen der
GNU General Public License, wie von der Free Software Foundation veröffentlicht,
weitergeben und/oder modifizieren, entweder gemäß Version 2 der Lizenz oder
(nach Ihrer Option) jeder späteren Version.
Die Veröffentlichung dieses Programms erfolgt in der Hoffnung,
daß es Ihnen von Nutzen sein wird, aber OHNE IRGENDEINE GARANTIE,
sogar ohne die implizite Garantie der MARKTREIFE oder der VERWENDBARKEIT
FÜR EINEN BESTIMMTEN ZWECK. Details finden Sie in der GNU General Public License.
Sie sollten eine Kopie der GNU General Public License zusammen mit diesem
Programm erhalten haben.
Falls nicht, schreiben Sie an die Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
----------------------------------------------------------------------------*/
#ifndef _SYSLOG_H
#define _SYSLOG_H
#define SYSLOG_SERVER_PORT 514
#define SYSLOG_CLIENT_PORT 42514
#define SYSLOG_IP_EEPROM_STORE ((unsigned char *)80)
#define SYSLOG_ARPRETRIES 3
#define SYSLOG_PRIOEMERGENCY 0
#define SYSLOG_PRIOALERT 1
#define SYSLOG_PRIOCRITICAL 2
#define SYSLOG_PRIOERROR 3
#define SYSLOG_PRIOWARNING 4
#define SYSLOG_PRIONOTICE 5
#define SYSLOG_PRIOINFORMATIONAL 6
#define SYSLOG_PRIODEBUG 7
#define SYSLOG_FACKERNEL 0
#define SYSLOG_FACUSER 1
#define SYSLOG_FACMAIL 2
#define SYSLOG_FACDAEMONS 3
#define SYSLOG_FACSECURITY 4
#define SYSLOG_FACSYSLOGD 5
#define SYSLOG_FACPRINTER 6
#define SYSLOG_FACNETWORK 7
#define SYSLOG_FACUUCP 8
#define SYSLOG_FACCLOCK 9
#define SYSLOG_FACSECURITY2 10
#define SYSLOG_FACFTP 11
#define SYSLOG_FACNTP 12
#define SYSLOG_FACLOGAUDIT 13
#define SYSLOG_FACLOGALERT 14
#define SYSLOG_FACCLOCK2 15
#define SYSLOG_FACLOCAL0 16
#define SYSLOG_FACLOCAL1 17
#define SYSLOG_FACLOCAL2 18
#define SYSLOG_FACLOCAL3 19
#define SYSLOG_FACLOCAL4 20
#define SYSLOG_FACLOCAL5 21
#define SYSLOG_FACLOCAL6 22
#define SYSLOG_FACLOCAL7 23
void syslog_send ( char *msg );
#endif