Subversion Repositories tendra.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
#   		 Crown Copyright (c) 1997
2
#   
3
#   This TenDRA(r) Computer Program is subject to Copyright
4
#   owned by the United Kingdom Secretary of State for Defence
5
#   acting through the Defence Evaluation and Research Agency
6
#   (DERA).  It is made available to Recipients with a
7
#   royalty-free licence for its use, reproduction, transfer
8
#   to other parties and amendment for any purpose not excluding
9
#   product development provided that any such use et cetera
10
#   shall be deemed to be acceptance of the following conditions:-
11
#   
12
#       (1) Its Recipients shall ensure that this Notice is
13
#       reproduced upon any copies or amended versions of it;
14
#   
15
#       (2) Any amended version of it shall be clearly marked to
16
#       show both the nature of and the organisation responsible
17
#       for the relevant amendment or amendments;
18
#   
19
#       (3) Its onward transfer from a recipient to another
20
#       party shall be deemed to be that party's acceptance of
21
#       these conditions;
22
#   
23
#       (4) DERA gives no warranty or assurance as to its
24
#       quality or suitability for any purpose and DERA accepts
25
#       no liability whatsoever in relation to any use to which
26
#       it may be put.
27
#
28
# Functions
29
+FUNC void syslog ( int, const char *, ... ) ;
30
+FUNC void openlog ( const char *, int, int ) ;
31
+FUNC void closelog ( void ) ;
32
+FUNC int setlogmask ( int ) ;
33
 
34
# Priority codes
35
+CONST int LOG_EMERG, LOG_ALERT, LOG_CRIT, LOG_ERR, LOG_WARNING ;
36
+CONST int LOG_NOTICE, LOG_INFO, LOG_DEBUG ;
37
 
38
# Arguments for openlog
39
+CONST int LOG_PID, LOG_CONS, LOG_ODELAY, LOG_NDELAY, LOG_NOWAIT ;
40
 
41
# Facility codes
42
+CONST int LOG_KERN, LOG_USER, LOG_MAIL, LOG_DAEMON, LOG_AUTH ;
43
+CONST int LOG_SYSLOG, LOG_LPR ;
44
+CONST int LOG_LOCAL0, LOG_LOCAL1, LOG_LOCAL2, LOG_LOCAL3 ;
45
+CONST int LOG_LOCAL4, LOG_LOCAL5, LOG_LOCAL6, LOG_LOCAL7 ;
46
# not used LOG_NEWS, LOG_UUCP, LOG_LFMT, LOG_CRON
47
 
48
# Arguments for setlogmask
49
+MACRO int LOG_MASK ( int ) ;
50
+MACRO int LOG_UPTO ( int ) ;