Mercurial > dovecot > original-hg > dovecot-1.2
annotate src/master/syslog-util.h @ 6410:e4eb71ae8e96 HEAD
Changed .h ifdef/defines to use <NAME>_H format.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 16 Sep 2007 11:31:27 +0300 |
parents | 55df57c028d4 |
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 |