msgs.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2004-2009  Internet Systems Consortium, Inc. ("ISC")
00003  * Copyright (C) 2000-2003  Internet Software Consortium.
00004  *
00005  * Permission to use, copy, modify, and/or distribute this software for any
00006  * purpose with or without fee is hereby granted, provided that the above
00007  * copyright notice and this permission notice appear in all copies.
00008  *
00009  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
00010  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
00011  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
00012  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
00013  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
00014  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
00015  * PERFORMANCE OF THIS SOFTWARE.
00016  */
00017 
00018 /* $Id: msgs.h,v 1.19 2009/10/01 23:48:08 tbox Exp $ */
00019 
00020 #ifndef ISC_MSGS_H
00021 #define ISC_MSGS_H 1
00022 
00023 /*! \file isc/msgs.h */
00024 
00025 #include <isc/lib.h>            /* Provide isc_msgcat global variable. */
00026 #include <isc/msgcat.h>         /* Provide isc_msgcat_*() functions. */
00027 
00028 /*@{*/
00029 /*!
00030  * \brief Message sets, named per source file, excepting "GENERAL".
00031  *
00032  * IMPORTANT: The original list is alphabetical, but any new sets must
00033  * be added to the end.
00034  */
00035 #define ISC_MSGSET_GENERAL      1
00036 /*      ISC_RESULT_RESULTSET    2 */     /* XXX */
00037 /*      ISC_RESULT_UNAVAILABLESET 3 */   /* XXX */
00038 #define ISC_MSGSET_APP          4
00039 #define ISC_MSGSET_COMMANDLINE  5
00040 #define ISC_MSGSET_ENTROPY      6
00041 #define ISC_MSGSET_IFITERIOCTL  7
00042 #define ISC_MSGSET_IFITERSYSCTL 8
00043 #define ISC_MSGSET_LEX          9
00044 #define ISC_MSGSET_LOG          10
00045 #define ISC_MSGSET_MEM          11
00046 #define ISC_MSGSET_NETADDR      12
00047 #define ISC_MSGSET_PRINT        13
00048 #define ISC_MSGSET_RESULT       14
00049 #define ISC_MSGSET_RWLOCK       15
00050 #define ISC_MSGSET_SOCKADDR     16
00051 #define ISC_MSGSET_SOCKET       17
00052 #define ISC_MSGSET_TASK         18
00053 #define ISC_MSGSET_TIMER        19
00054 #define ISC_MSGSET_UTIL         20
00055 #define ISC_MSGSET_IFITERGETIFADDRS 21
00056 /*@}*/
00057 
00058 /*@{*/
00059 /*!
00060  * Message numbers
00061  * are only required to be unique per message set,
00062  * but are unique throughout the entire catalog to not be as confusing when
00063  * debugging.
00064  *
00065  * The initial numbering was done by multiply by 100 the set number the
00066  * message appears in then adding the incremental message number.
00067  */
00068 #define ISC_MSG_FAILED          101 /*%< "failed" */
00069 #define ISC_MSG_SUCCEEDED       102 /*%< Compatible with "failed" */
00070 #define ISC_MSG_SUCCESS         103 /*%< More usual way to say "success" */
00071 #define ISC_MSG_STARTING        104 /*%< As in "daemon: starting" */
00072 #define ISC_MSG_STOPING         105 /*%< As in "daemon: stopping" */
00073 #define ISC_MSG_ENTERING        106 /*%< As in "some_subr: entering" */
00074 #define ISC_MSG_EXITING         107 /*%< As in "some_subr: exiting" */
00075 #define ISC_MSG_CALLING         108 /*%< As in "calling some_subr()" */
00076 #define ISC_MSG_RETURNED        109 /*%< As in "some_subr: returned <foo>" */
00077 #define ISC_MSG_FATALERROR      110 /*%< "fatal error" */
00078 #define ISC_MSG_SHUTTINGDOWN    111 /*%< "shutting down" */
00079 #define ISC_MSG_RUNNING         112 /*%< "running" */
00080 #define ISC_MSG_WAIT            113 /*%< "wait" */
00081 #define ISC_MSG_WAITUNTIL       114 /*%< "waituntil" */
00082 
00083 #define ISC_MSG_SIGNALSETUP     201 /*%< "handle_signal() %d setup: %s" */
00084 
00085 #define ISC_MSG_ILLEGALOPT      301 /*%< "illegal option" */
00086 #define ISC_MSG_OPTNEEDARG      302 /*%< "option requires an argument" */
00087 
00088 #define ISC_MSG_ENTROPYSTATS    401 /*%< "Entropy pool %p:  refcnt %u ..." */
00089 
00090 #define ISC_MSG_MAKESCANSOCKET  501 /*%< "making interface scan socket: %s" */
00091 #define ISC_MSG_GETIFCONFIG     502 /*%< "get interface configuration: %s" */
00092 #define ISC_MSG_BUFFERMAX       503 /*%< "... maximum buffer size exceeded" */
00093 #define ISC_MSG_GETDESTADDR     504 /*%< "%s: getting destination address: %s" */
00094 #define ISC_MSG_GETNETMASK      505 /*%< "%s: getting netmask: %s" */
00095 
00096 #define ISC_MSG_GETIFLISTSIZE   601 /*%< "getting interface list size: ..." */
00097 #define ISC_MSG_GETIFLIST       602 /*%< "getting interface list: ..." */
00098 #define ISC_MSG_UNEXPECTEDTYPE  603 /*%< "... unexpected ... message type" */
00099 
00100 #define ISC_MSG_UNEXPECTEDSTATE 701 /*%< "Unexpected state %d" */
00101 
00102 #define ISC_MSG_BADTIME         801 /*%< "Bad 00 99:99:99.999 " */
00103 #define ISC_MSG_LEVEL           802 /*%< "level %d: " */
00104 
00105 #define ISC_MSG_ADDTRACE        901 /*%< "add %p size %u " */
00106 #define ISC_MSG_DELTRACE        902 /*%< "del %p size %u " */
00107 #define ISC_MSG_POOLSTATS       903 /*%< "[Pool statistics]\n" */
00108 #define ISC_MSG_POOLNAME        904 /*%< "name" */
00109 #define ISC_MSG_POOLSIZE        905 /*%< "size" */
00110 #define ISC_MSG_POOLMAXALLOC    906 /*%< "maxalloc" */
00111 #define ISC_MSG_POOLALLOCATED   907 /*%< "allocated" */
00112 #define ISC_MSG_POOLFREECOUNT   908 /*%< "freecount" */
00113 #define ISC_MSG_POOLFREEMAX     909 /*%< "freemax" */
00114 #define ISC_MSG_POOLFILLCOUNT   910 /*%< "fillcount" */
00115 #define ISC_MSG_POOLGETS        911 /*%< "gets" */
00116 #define ISC_MSG_DUMPALLOC       912 /*%< "DUMP OF ALL OUTSTANDING MEMORY ..." */
00117 #define ISC_MSG_NONE            913 /*%< "\tNone.\n" */
00118 #define ISC_MSG_PTRFILELINE     914 /*%< "\tptr %p file %s line %u\n" */
00119 
00120 #define ISC_MSG_UNKNOWNADDR    1001 /*%< "<unknown address, family %u>" */
00121 
00122 #define ISC_MSG_NOLONGDBL      1104 /*%< "long doubles are not supported" */
00123 
00124 #define ISC_MSG_PRINTLOCK      1201 /*%< "rwlock %p thread %lu ..." */
00125 #define ISC_MSG_READ           1202 /*%< "read" */
00126 #define ISC_MSG_WRITE          1203 /*%< "write" */
00127 #define ISC_MSG_READING        1204 /*%< "reading" */
00128 #define ISC_MSG_WRITING        1205 /*%< "writing" */
00129 #define ISC_MSG_PRELOCK        1206 /*%< "prelock" */
00130 #define ISC_MSG_POSTLOCK       1207 /*%< "postlock" */
00131 #define ISC_MSG_PREUNLOCK      1208 /*%< "preunlock" */
00132 #define ISC_MSG_POSTUNLOCK     1209 /*%< "postunlock" */
00133 
00134 #define ISC_MSG_UNKNOWNFAMILY  1301 /*%< "unknown address family: %d" */
00135 
00136 #define ISC_MSG_WRITEFAILED    1401 /*%< "write() failed during watcher ..." */
00137 #define ISC_MSG_READFAILED     1402 /*%< "read() failed during watcher ... " */
00138 #define ISC_MSG_PROCESSCMSG    1403 /*%< "processing cmsg %p" */
00139 #define ISC_MSG_IFRECEIVED     1404 /*%< "interface received on ifindex %u" */
00140 #define ISC_MSG_SENDTODATA     1405 /*%< "sendto pktinfo data, ifindex %u" */
00141 #define ISC_MSG_DOIORECV       1406 /*%< "doio_recv: recvmsg(%d) %d bytes ..." */
00142 #define ISC_MSG_PKTRECV        1407 /*%< "packet received correctly" */
00143 #define ISC_MSG_DESTROYING     1408 /*%< "destroying" */
00144 #define ISC_MSG_CREATED        1409 /*%< "created" */
00145 #define ISC_MSG_ACCEPTLOCK     1410 /*%< "internal_accept called, locked ..." */
00146 #define ISC_MSG_ACCEPTEDCXN    1411 /*%< "accepted connection, new socket %p" */
00147 #define ISC_MSG_INTERNALRECV   1412 /*%< "internal_recv: task %p got event %p" */
00148 #define ISC_MSG_INTERNALSEND   1413 /*%< "internal_send: task %p got event %p" */
00149 #define ISC_MSG_WATCHERMSG     1414 /*%< "watcher got message %d" */
00150 #define ISC_MSG_SOCKETSREMAIN  1415 /*%< "sockets exist" */
00151 #define ISC_MSG_PKTINFOPROVIDED 1416 /*%< "pktinfo structure provided, ..." */
00152 #define ISC_MSG_BOUND          1417 /*%< "bound" */
00153 #define ISC_MSG_ACCEPTRETURNED 1418 /*%< accept() returned %d/%s */
00154 #define ISC_MSG_TOOMANYFDS     1419 /*%< %s: too many open file descriptors */
00155 #define ISC_MSG_ZEROPORT       1420 /*%< dropping source port zero packet */
00156 #define ISC_MSG_FILTER         1421 /*%< setsockopt(SO_ACCEPTFILTER): %s */
00157 
00158 #define ISC_MSG_TOOMANYHANDLES 1422 /*%< %s: too many open WSA event handles: %s */
00159 #define ISC_MSG_POKED          1423 /*%< "poked flags: %d" */
00160 
00161 #define ISC_MSG_AWAKE          1502 /*%< "awake" */
00162 #define ISC_MSG_WORKING        1503 /*%< "working" */
00163 #define ISC_MSG_EXECUTE        1504 /*%< "execute action" */
00164 #define ISC_MSG_EMPTY          1505 /*%< "empty" */
00165 #define ISC_MSG_DONE           1506 /*%< "done" */
00166 #define ISC_MSG_QUANTUM        1507 /*%< "quantum" */
00167 
00168 #define ISC_MSG_SCHEDULE       1601 /*%< "schedule" */
00169 #define ISC_MSG_SIGNALSCHED    1602 /*%< "signal (schedule)" */
00170 #define ISC_MSG_SIGNALDESCHED  1603 /*%< "signal (deschedule)" */
00171 #define ISC_MSG_SIGNALDESTROY  1604 /*%< "signal (destroy)" */
00172 #define ISC_MSG_IDLERESCHED    1605 /*%< "idle reschedule" */
00173 #define ISC_MSG_EVENTNOTALLOC  1606 /*%< "couldn't allocate event" */
00174 #define ISC_MSG_SCHEDFAIL      1607 /*%< "couldn't schedule timer: %u" */
00175 #define ISC_MSG_POSTING        1608 /*%< "posting" */
00176 #define ISC_MSG_WAKEUP         1609 /*%< "wakeup" */
00177 
00178 #define ISC_MSG_LOCK           1701 /*%< "LOCK" */
00179 #define ISC_MSG_LOCKING        1702 /*%< "LOCKING" */
00180 #define ISC_MSG_LOCKED         1703 /*%< "LOCKED" */
00181 #define ISC_MSG_UNLOCKED       1704 /*%< "UNLOCKED" */
00182 #define ISC_MSG_RWLOCK         1705 /*%< "RWLOCK" */
00183 #define ISC_MSG_RWLOCKED       1706 /*%< "RWLOCKED" */
00184 #define ISC_MSG_RWUNLOCK       1707 /*%< "RWUNLOCK" */
00185 #define ISC_MSG_BROADCAST      1708 /*%< "BROADCAST" */
00186 #define ISC_MSG_SIGNAL         1709 /*%< "SIGNAL" */
00187 #define ISC_MSG_UTILWAIT       1710 /*%< "WAIT" */
00188 #define ISC_MSG_WAITED         1711 /*%< "WAITED" */
00189 
00190 #define ISC_MSG_GETIFADDRS     1801 /*%< "getting interface addresses: ..." */
00191 
00192 /*@}*/
00193 
00194 #endif /* ISC_MSGS_H */

Generated on Tue Apr 28 17:41:04 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha