Mercurial > dovecot > original-hg > dovecot-1.2
annotate src/master/syslog-util.h @ 9490:fd84592e817b HEAD
dovecot-example.conf: Updated dict comments.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 23 Nov 2009 13:08:47 -0500 |
parents | e4eb71ae8e96 |
children |
rev | line source |
---|---|
6410
e4eb71ae8e96
Changed .h ifdef/defines to use <NAME>_H format.
Timo Sirainen <tss@iki.fi>
parents:
3863
diff
changeset
|
1 #ifndef SYSLOG_UTIL_H |
e4eb71ae8e96
Changed .h ifdef/defines to use <NAME>_H format.
Timo Sirainen <tss@iki.fi>
parents:
3863
diff
changeset
|
2 #define SYSLOG_UTIL_H |
3725
cf8933dabc95
Forgot to add in syslog_facility commit
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
3 |
cf8933dabc95
Forgot to add in syslog_facility commit
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
4 struct syslog_facility_list { |
cf8933dabc95
Forgot to add in syslog_facility commit
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
5 const char *name; |
cf8933dabc95
Forgot to add in syslog_facility commit
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
6 int facility; |
cf8933dabc95
Forgot to add in syslog_facility commit
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
7 }; |
cf8933dabc95
Forgot to add in syslog_facility commit
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
8 |
cf8933dabc95
Forgot to add in syslog_facility commit
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
9 extern struct syslog_facility_list syslog_facilities[]; |
cf8933dabc95
Forgot to add in syslog_facility commit
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
10 |
cf8933dabc95
Forgot to add in syslog_facility commit
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
11 /* Returns TRUE if found. */ |
3863
55df57c028d4
Added "bool" type and changed all ints that were used as booleans to bool.
Timo Sirainen <tss@iki.fi>
parents:
3725
diff
changeset
|
12 bool syslog_facility_find(const char *name, int *facility_r); |
3725
cf8933dabc95
Forgot to add in syslog_facility commit
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
13 |
cf8933dabc95
Forgot to add in syslog_facility commit
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
14 #endif |