~ubuntu-branches/ubuntu/maverick/bind9/maverick

« back to all changes in this revision

Viewing changes to lib/isc/include/isc/msgs.h

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones, LaMont Jones, Internet Software Consortium, Inc, localization folks
  • Date: 2008-08-02 14:20:20 UTC
  • mfrom: (1.2.1 upstream) (6.1.24 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080802142020-l1hon9jy8lbbjxmg
[LaMont Jones]

* default to using resolvconf if it is installed
* fix sonames and dependencies.  Closes: #149259, #492418
* Do not build-depend libcap2-dev on non-linux.  Closes: #493392
* drop unused query-loc manpage.  Closes: #492564
* lwresd: Deliver /etc/bind directory.  Closes: #490027
* fix query-source comment in default install

[Internet Software Consortium, Inc]

* 9.5.0-P2.  Closes: #492949

[localization folks]

* l10n: Spanish debconf translation.  Closes: #492425 (Ignacio Mondino)
* l10n: Swedish debconf templates.  Closes: #491369 (Martin Ågren)
* l10n: Japanese debconf translations.  Closes: #492048 (Hideki Yamane
  (Debian-JP))
* l10n: Finnish translation.  Closes: #490630 (Esko Arajärvi)
* l10n: Italian debconf translations.  Closes: #492587 (Alessandro Vietta)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC")
 
2
 * Copyright (C) 2004-2007  Internet Systems Consortium, Inc. ("ISC")
3
3
 * Copyright (C) 2000-2003  Internet Software Consortium.
4
4
 *
5
 
 * Permission to use, copy, modify, and distribute this software for any
 
5
 * Permission to use, copy, modify, and/or distribute this software for any
6
6
 * purpose with or without fee is hereby granted, provided that the above
7
7
 * copyright notice and this permission notice appear in all copies.
8
8
 *
15
15
 * PERFORMANCE OF THIS SOFTWARE.
16
16
 */
17
17
 
18
 
/* $Id: msgs.h,v 1.5.2.2.8.3 2004/03/06 08:14:44 marka Exp $ */
 
18
/* $Id: msgs.h,v 1.15 2007/06/19 23:47:18 tbox Exp $ */
19
19
 
20
20
#ifndef ISC_MSGS_H
21
21
#define ISC_MSGS_H 1
22
22
 
 
23
/*! \file isc/msgs.h */
 
24
 
23
25
#include <isc/lib.h>            /* Provide isc_msgcat global variable. */
24
26
#include <isc/msgcat.h>         /* Provide isc_msgcat_*() functions. */
25
27
 
26
 
/*
27
 
 * Message sets, named per source file, excepting "GENERAL".
 
28
/*@{*/
 
29
/*!
 
30
 * \brief Message sets, named per source file, excepting "GENERAL".
 
31
 *
28
32
 * IMPORTANT: The original list is alphabetical, but any new sets must
29
33
 * be added to the end.
30
34
 */
49
53
#define ISC_MSGSET_TIMER        19
50
54
#define ISC_MSGSET_UTIL         20
51
55
#define ISC_MSGSET_IFITERGETIFADDRS 21
 
56
/*@}*/
52
57
 
53
 
/*
54
 
 * Message numbers.  They are only required to be unique per message set,
 
58
/*@{*/
 
59
/*!
 
60
 * Message numbers  
 
61
 * are only required to be unique per message set,
55
62
 * but are unique throughout the entire catalog to not be as confusing when
56
63
 * debugging.
57
64
 *
58
65
 * The initial numbering was done by multiply by 100 the set number the
59
66
 * message appears in then adding the incremental message number.
60
67
 */
61
 
#define ISC_MSG_FAILED          101 /* "failed" */
62
 
#define ISC_MSG_SUCCEEDED       102 /* Compatible with "failed" */
63
 
#define ISC_MSG_SUCCESS         103 /* More usual way to say "success" */
64
 
#define ISC_MSG_STARTING        104 /* As in "daemon: starting" */
65
 
#define ISC_MSG_STOPING         105 /* As in "daemon: stopping" */
66
 
#define ISC_MSG_ENTERING        106 /* As in "some_subr: entering" */
67
 
#define ISC_MSG_EXITING         107 /* As in "some_subr: exiting" */
68
 
#define ISC_MSG_CALLING         108 /* As in "calling some_subr()" */
69
 
#define ISC_MSG_RETURNED        109 /* As in "some_subr: returned <foo>" */
70
 
#define ISC_MSG_FATALERROR      110 /* "fatal error" */
71
 
#define ISC_MSG_SHUTTINGDOWN    111 /* "shutting down" */
72
 
#define ISC_MSG_RUNNING         112 /* "running" */
73
 
#define ISC_MSG_WAIT            113 /* "wait" */
74
 
#define ISC_MSG_WAITUNTIL       114 /* "waituntil" */
75
 
 
76
 
#define ISC_MSG_SIGNALSETUP     201 /* "handle_signal() %d setup: %s" */
77
 
 
78
 
#define ISC_MSG_ILLEGALOPT      301 /* "illegal option" */
79
 
#define ISC_MSG_OPTNEEDARG      302 /* "option requires an argument" */
80
 
 
81
 
#define ISC_MSG_ENTROPYSTATS    401 /* "Entropy pool %p:  refcnt %u ..." */
82
 
 
83
 
#define ISC_MSG_MAKESCANSOCKET  501 /* "making interface scan socket: %s" */
84
 
#define ISC_MSG_GETIFCONFIG     502 /* "get interface configuration: %s" */
85
 
#define ISC_MSG_BUFFERMAX       503 /* "... maximum buffer size exceeded" */
86
 
#define ISC_MSG_GETDESTADDR     504 /* "%s: getting destination address: %s" */
87
 
#define ISC_MSG_GETNETMASK      505 /* "%s: getting netmask: %s" */
88
 
 
89
 
#define ISC_MSG_GETIFLISTSIZE   601 /* "getting interface list size: ..." */
90
 
#define ISC_MSG_GETIFLIST       602 /* "getting interface list: ..." */
91
 
#define ISC_MSG_UNEXPECTEDTYPE  603 /* "... unexpected ... message type" */
92
 
 
93
 
#define ISC_MSG_UNEXPECTEDSTATE 701 /* "Unexpected state %d" */
94
 
 
95
 
#define ISC_MSG_BADTIME         801 /* "Bad 00 99:99:99.999 " */
96
 
#define ISC_MSG_LEVEL           802 /* "level %d: " */
97
 
 
98
 
#define ISC_MSG_ADDTRACE        901 /* "add %p size %u " */
99
 
#define ISC_MSG_DELTRACE        902 /* "del %p size %u " */
100
 
#define ISC_MSG_POOLSTATS       903 /* "[Pool statistics]\n" */
101
 
#define ISC_MSG_POOLNAME        904 /* "name" */
102
 
#define ISC_MSG_POOLSIZE        905 /* "size" */
103
 
#define ISC_MSG_POOLMAXALLOC    906 /* "maxalloc" */
104
 
#define ISC_MSG_POOLALLOCATED   907 /* "allocated" */
105
 
#define ISC_MSG_POOLFREECOUNT   908 /* "freecount" */
106
 
#define ISC_MSG_POOLFREEMAX     909 /* "freemax" */
107
 
#define ISC_MSG_POOLFILLCOUNT   910 /* "fillcount" */
108
 
#define ISC_MSG_POOLGETS        911 /* "gets" */
109
 
#define ISC_MSG_DUMPALLOC       912 /* "DUMP OF ALL OUTSTANDING MEMORY ..." */
110
 
#define ISC_MSG_NONE            913 /* "\tNone.\n" */
111
 
#define ISC_MSG_PTRFILELINE     914 /* "\tptr %p file %s line %u\n" */
112
 
 
113
 
#define ISC_MSG_UNKNOWNADDR    1001 /* "<unknown address, family %u>" */
114
 
 
115
 
#define ISC_MSG_NOLONGDBL      1104 /* "long doubles are not supported" */
116
 
 
117
 
#define ISC_MSG_PRINTLOCK      1201 /* "rwlock %p thread %lu ..." */
118
 
#define ISC_MSG_READ           1202 /* "read" */
119
 
#define ISC_MSG_WRITE          1203 /* "write" */
120
 
#define ISC_MSG_READING        1204 /* "reading" */
121
 
#define ISC_MSG_WRITING        1205 /* "writing" */
122
 
#define ISC_MSG_PRELOCK        1206 /* "prelock" */
123
 
#define ISC_MSG_POSTLOCK       1207 /* "postlock" */
124
 
#define ISC_MSG_PREUNLOCK      1208 /* "preunlock" */
125
 
#define ISC_MSG_POSTUNLOCK     1209 /* "postunlock" */
126
 
 
127
 
#define ISC_MSG_UNKNOWNFAMILY  1301 /* "unknown address family: %d" */
128
 
 
129
 
#define ISC_MSG_WRITEFAILED    1401 /* "write() failed during watcher ..." */
130
 
#define ISC_MSG_READFAILED     1402 /* "read() failed during watcher ... " */
131
 
#define ISC_MSG_PROCESSCMSG    1403 /* "processing cmsg %p" */
132
 
#define ISC_MSG_IFRECEIVED     1404 /* "interface received on ifindex %u" */
133
 
#define ISC_MSG_SENDTODATA     1405 /* "sendto pktinfo data, ifindex %u" */
134
 
#define ISC_MSG_DOIORECV       1406 /* "doio_recv: recvmsg(%d) %d bytes ..." */
135
 
#define ISC_MSG_PKTRECV        1407 /* "packet received correctly" */
136
 
#define ISC_MSG_DESTROYING     1408 /* "destroying" */
137
 
#define ISC_MSG_CREATED        1409 /* "created" */
138
 
#define ISC_MSG_ACCEPTLOCK     1410 /* "internal_accept called, locked ..." */
139
 
#define ISC_MSG_ACCEPTEDCXN    1411 /* "accepted connection, new socket %p" */
140
 
#define ISC_MSG_INTERNALRECV   1412 /* "internal_recv: task %p got event %p" */
141
 
#define ISC_MSG_INTERNALSEND   1413 /* "internal_send: task %p got event %p" */
142
 
#define ISC_MSG_WATCHERMSG     1414 /* "watcher got message %d" */
143
 
#define ISC_MSG_SOCKETSREMAIN  1415 /* "sockets exist" */
144
 
#define ISC_MSG_PKTINFOPROVIDED 1416 /* "pktinfo structure provided, ..." */
145
 
#define ISC_MSG_BOUND          1417 /* "bound" */
146
 
#define ISC_MSG_ACCEPTRETURNED 1418 /* accept() returned %d/%s */
147
 
#define ISC_MSG_TOOMANYFDS     1419 /* %s: too many open file descriptors */
148
 
#define ISC_MSG_ZEROPORT       1420 /* dropping source port zero packet */
149
 
#define ISC_MSG_FILTER         1420 /* setsockopt(SO_ACCEPTFILTER): %s */
150
 
 
151
 
#define ISC_MSG_AWAKE          1502 /* "awake" */
152
 
#define ISC_MSG_WORKING        1503 /* "working" */
153
 
#define ISC_MSG_EXECUTE        1504 /* "execute action" */
154
 
#define ISC_MSG_EMPTY          1505 /* "empty" */
155
 
#define ISC_MSG_DONE           1506 /* "done" */
156
 
#define ISC_MSG_QUANTUM        1507 /* "quantum" */
157
 
 
158
 
#define ISC_MSG_SCHEDULE       1601 /* "schedule" */
159
 
#define ISC_MSG_SIGNALSCHED    1602 /* "signal (schedule)" */
160
 
#define ISC_MSG_SIGNALDESCHED  1603 /* "signal (deschedule)" */
161
 
#define ISC_MSG_SIGNALDESTROY  1604 /* "signal (destroy)" */
162
 
#define ISC_MSG_IDLERESCHED    1605 /* "idle reschedule" */
163
 
#define ISC_MSG_EVENTNOTALLOC  1606 /* "couldn't allocate event" */
164
 
#define ISC_MSG_SCHEDFAIL      1607 /* "couldn't schedule timer: %u" */
165
 
#define ISC_MSG_POSTING        1608 /* "posting" */
166
 
#define ISC_MSG_WAKEUP         1609 /* "wakeup" */
167
 
 
168
 
#define ISC_MSG_LOCK           1701 /* "LOCK" */
169
 
#define ISC_MSG_LOCKING        1702 /* "LOCKING" */
170
 
#define ISC_MSG_LOCKED         1703 /* "LOCKED" */
171
 
#define ISC_MSG_UNLOCKED       1704 /* "UNLOCKED" */
172
 
#define ISC_MSG_RWLOCK         1705 /* "RWLOCK" */
173
 
#define ISC_MSG_RWLOCKED       1706 /* "RWLOCKED" */
174
 
#define ISC_MSG_RWUNLOCK       1707 /* "RWUNLOCK" */
175
 
#define ISC_MSG_BROADCAST      1708 /* "BROADCAST" */
176
 
#define ISC_MSG_SIGNAL         1709 /* "SIGNAL" */
177
 
#define ISC_MSG_UTILWAIT       1710 /* "WAIT" */
178
 
#define ISC_MSG_WAITED         1711 /* "WAITED" */
179
 
 
180
 
#define ISC_MSG_GETIFADDRS     1801 /* "getting interface addresses: ..." */
181
 
 
 
68
#define ISC_MSG_FAILED          101 /*%< "failed" */
 
69
#define ISC_MSG_SUCCEEDED       102 /*%< Compatible with "failed" */
 
70
#define ISC_MSG_SUCCESS         103 /*%< More usual way to say "success" */
 
71
#define ISC_MSG_STARTING        104 /*%< As in "daemon: starting" */
 
72
#define ISC_MSG_STOPING         105 /*%< As in "daemon: stopping" */
 
73
#define ISC_MSG_ENTERING        106 /*%< As in "some_subr: entering" */
 
74
#define ISC_MSG_EXITING         107 /*%< As in "some_subr: exiting" */
 
75
#define ISC_MSG_CALLING         108 /*%< As in "calling some_subr()" */
 
76
#define ISC_MSG_RETURNED        109 /*%< As in "some_subr: returned <foo>" */
 
77
#define ISC_MSG_FATALERROR      110 /*%< "fatal error" */
 
78
#define ISC_MSG_SHUTTINGDOWN    111 /*%< "shutting down" */
 
79
#define ISC_MSG_RUNNING         112 /*%< "running" */
 
80
#define ISC_MSG_WAIT            113 /*%< "wait" */
 
81
#define ISC_MSG_WAITUNTIL       114 /*%< "waituntil" */
 
82
 
 
83
#define ISC_MSG_SIGNALSETUP     201 /*%< "handle_signal() %d setup: %s" */
 
84
 
 
85
#define ISC_MSG_ILLEGALOPT      301 /*%< "illegal option" */
 
86
#define ISC_MSG_OPTNEEDARG      302 /*%< "option requires an argument" */
 
87
 
 
88
#define ISC_MSG_ENTROPYSTATS    401 /*%< "Entropy pool %p:  refcnt %u ..." */
 
89
 
 
90
#define ISC_MSG_MAKESCANSOCKET  501 /*%< "making interface scan socket: %s" */
 
91
#define ISC_MSG_GETIFCONFIG     502 /*%< "get interface configuration: %s" */
 
92
#define ISC_MSG_BUFFERMAX       503 /*%< "... maximum buffer size exceeded" */
 
93
#define ISC_MSG_GETDESTADDR     504 /*%< "%s: getting destination address: %s" */
 
94
#define ISC_MSG_GETNETMASK      505 /*%< "%s: getting netmask: %s" */
 
95
 
 
96
#define ISC_MSG_GETIFLISTSIZE   601 /*%< "getting interface list size: ..." */
 
97
#define ISC_MSG_GETIFLIST       602 /*%< "getting interface list: ..." */
 
98
#define ISC_MSG_UNEXPECTEDTYPE  603 /*%< "... unexpected ... message type" */
 
99
 
 
100
#define ISC_MSG_UNEXPECTEDSTATE 701 /*%< "Unexpected state %d" */
 
101
 
 
102
#define ISC_MSG_BADTIME         801 /*%< "Bad 00 99:99:99.999 " */
 
103
#define ISC_MSG_LEVEL           802 /*%< "level %d: " */
 
104
 
 
105
#define ISC_MSG_ADDTRACE        901 /*%< "add %p size %u " */
 
106
#define ISC_MSG_DELTRACE        902 /*%< "del %p size %u " */
 
107
#define ISC_MSG_POOLSTATS       903 /*%< "[Pool statistics]\n" */
 
108
#define ISC_MSG_POOLNAME        904 /*%< "name" */
 
109
#define ISC_MSG_POOLSIZE        905 /*%< "size" */
 
110
#define ISC_MSG_POOLMAXALLOC    906 /*%< "maxalloc" */
 
111
#define ISC_MSG_POOLALLOCATED   907 /*%< "allocated" */
 
112
#define ISC_MSG_POOLFREECOUNT   908 /*%< "freecount" */
 
113
#define ISC_MSG_POOLFREEMAX     909 /*%< "freemax" */
 
114
#define ISC_MSG_POOLFILLCOUNT   910 /*%< "fillcount" */
 
115
#define ISC_MSG_POOLGETS        911 /*%< "gets" */
 
116
#define ISC_MSG_DUMPALLOC       912 /*%< "DUMP OF ALL OUTSTANDING MEMORY ..." */
 
117
#define ISC_MSG_NONE            913 /*%< "\tNone.\n" */
 
118
#define ISC_MSG_PTRFILELINE     914 /*%< "\tptr %p file %s line %u\n" */
 
119
 
 
120
#define ISC_MSG_UNKNOWNADDR    1001 /*%< "<unknown address, family %u>" */
 
121
 
 
122
#define ISC_MSG_NOLONGDBL      1104 /*%< "long doubles are not supported" */
 
123
 
 
124
#define ISC_MSG_PRINTLOCK      1201 /*%< "rwlock %p thread %lu ..." */
 
125
#define ISC_MSG_READ           1202 /*%< "read" */
 
126
#define ISC_MSG_WRITE          1203 /*%< "write" */
 
127
#define ISC_MSG_READING        1204 /*%< "reading" */
 
128
#define ISC_MSG_WRITING        1205 /*%< "writing" */
 
129
#define ISC_MSG_PRELOCK        1206 /*%< "prelock" */
 
130
#define ISC_MSG_POSTLOCK       1207 /*%< "postlock" */
 
131
#define ISC_MSG_PREUNLOCK      1208 /*%< "preunlock" */
 
132
#define ISC_MSG_POSTUNLOCK     1209 /*%< "postunlock" */
 
133
 
 
134
#define ISC_MSG_UNKNOWNFAMILY  1301 /*%< "unknown address family: %d" */
 
135
 
 
136
#define ISC_MSG_WRITEFAILED    1401 /*%< "write() failed during watcher ..." */
 
137
#define ISC_MSG_READFAILED     1402 /*%< "read() failed during watcher ... " */
 
138
#define ISC_MSG_PROCESSCMSG    1403 /*%< "processing cmsg %p" */
 
139
#define ISC_MSG_IFRECEIVED     1404 /*%< "interface received on ifindex %u" */
 
140
#define ISC_MSG_SENDTODATA     1405 /*%< "sendto pktinfo data, ifindex %u" */
 
141
#define ISC_MSG_DOIORECV       1406 /*%< "doio_recv: recvmsg(%d) %d bytes ..." */
 
142
#define ISC_MSG_PKTRECV        1407 /*%< "packet received correctly" */
 
143
#define ISC_MSG_DESTROYING     1408 /*%< "destroying" */
 
144
#define ISC_MSG_CREATED        1409 /*%< "created" */
 
145
#define ISC_MSG_ACCEPTLOCK     1410 /*%< "internal_accept called, locked ..." */
 
146
#define ISC_MSG_ACCEPTEDCXN    1411 /*%< "accepted connection, new socket %p" */
 
147
#define ISC_MSG_INTERNALRECV   1412 /*%< "internal_recv: task %p got event %p" */
 
148
#define ISC_MSG_INTERNALSEND   1413 /*%< "internal_send: task %p got event %p" */
 
149
#define ISC_MSG_WATCHERMSG     1414 /*%< "watcher got message %d" */
 
150
#define ISC_MSG_SOCKETSREMAIN  1415 /*%< "sockets exist" */
 
151
#define ISC_MSG_PKTINFOPROVIDED 1416 /*%< "pktinfo structure provided, ..." */
 
152
#define ISC_MSG_BOUND          1417 /*%< "bound" */
 
153
#define ISC_MSG_ACCEPTRETURNED 1418 /*%< accept() returned %d/%s */
 
154
#define ISC_MSG_TOOMANYFDS     1419 /*%< %s: too many open file descriptors */
 
155
#define ISC_MSG_ZEROPORT       1420 /*%< dropping source port zero packet */
 
156
#define ISC_MSG_FILTER         1420 /*%< setsockopt(SO_ACCEPTFILTER): %s */
 
157
 
 
158
#define ISC_MSG_AWAKE          1502 /*%< "awake" */
 
159
#define ISC_MSG_WORKING        1503 /*%< "working" */
 
160
#define ISC_MSG_EXECUTE        1504 /*%< "execute action" */
 
161
#define ISC_MSG_EMPTY          1505 /*%< "empty" */
 
162
#define ISC_MSG_DONE           1506 /*%< "done" */
 
163
#define ISC_MSG_QUANTUM        1507 /*%< "quantum" */
 
164
 
 
165
#define ISC_MSG_SCHEDULE       1601 /*%< "schedule" */
 
166
#define ISC_MSG_SIGNALSCHED    1602 /*%< "signal (schedule)" */
 
167
#define ISC_MSG_SIGNALDESCHED  1603 /*%< "signal (deschedule)" */
 
168
#define ISC_MSG_SIGNALDESTROY  1604 /*%< "signal (destroy)" */
 
169
#define ISC_MSG_IDLERESCHED    1605 /*%< "idle reschedule" */
 
170
#define ISC_MSG_EVENTNOTALLOC  1606 /*%< "couldn't allocate event" */
 
171
#define ISC_MSG_SCHEDFAIL      1607 /*%< "couldn't schedule timer: %u" */
 
172
#define ISC_MSG_POSTING        1608 /*%< "posting" */
 
173
#define ISC_MSG_WAKEUP         1609 /*%< "wakeup" */
 
174
 
 
175
#define ISC_MSG_LOCK           1701 /*%< "LOCK" */
 
176
#define ISC_MSG_LOCKING        1702 /*%< "LOCKING" */
 
177
#define ISC_MSG_LOCKED         1703 /*%< "LOCKED" */
 
178
#define ISC_MSG_UNLOCKED       1704 /*%< "UNLOCKED" */
 
179
#define ISC_MSG_RWLOCK         1705 /*%< "RWLOCK" */
 
180
#define ISC_MSG_RWLOCKED       1706 /*%< "RWLOCKED" */
 
181
#define ISC_MSG_RWUNLOCK       1707 /*%< "RWUNLOCK" */
 
182
#define ISC_MSG_BROADCAST      1708 /*%< "BROADCAST" */
 
183
#define ISC_MSG_SIGNAL         1709 /*%< "SIGNAL" */
 
184
#define ISC_MSG_UTILWAIT       1710 /*%< "WAIT" */
 
185
#define ISC_MSG_WAITED         1711 /*%< "WAITED" */
 
186
 
 
187
#define ISC_MSG_GETIFADDRS     1801 /*%< "getting interface addresses: ..." */
 
188
 
 
189
/*@}*/
182
190
 
183
191
#endif /* ISC_MSGS_H */