PageRenderTime 35ms CodeModel.GetById 22ms app.highlight 9ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/bind9/bin/named/bind9.xsl.h

https://bitbucket.org/freebsd/freebsd-head/
C++ Header | 497 lines | 493 code | 0 blank | 4 comment | 0 complexity | 15c9c0ecee96f665b4dd8a9ae9ea8704 MD5 | raw file
  1/*
  2 * Generated by convertxsl.pl 1.14 2008/07/17 23:43:26 jinmei Exp  
  3 * From bind9.xsl 1.21 2009/01/27 23:47:54 tbox Exp 
  4 */
  5static char xslmsg[] =
  6	"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
  7	"<!--\n"
  8	" - Copyright (C) 2006-2009 Internet Systems Consortium, Inc. (\"ISC\")\n"
  9	" -\n"
 10	" - Permission to use, copy, modify, and/or distribute this software for any\n"
 11	" - purpose with or without fee is hereby granted, provided that the above\n"
 12	" - copyright notice and this permission notice appear in all copies.\n"
 13	" -\n"
 14	" - THE SOFTWARE IS PROVIDED \"AS IS\" AND ISC DISCLAIMS ALL WARRANTIES WITH\n"
 15	" - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n"
 16	" - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,\n"
 17	" - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n"
 18	" - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE\n"
 19	" - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n"
 20	" - PERFORMANCE OF THIS SOFTWARE.\n"
 21	"-->\n"
 22	"\n"
 23	"<!-- \045Id: bind9.xsl,v 1.21 2009/01/27 23:47:54 tbox Exp \045 -->\n"
 24	"\n"
 25	"<xsl:stylesheet version=\"1.0\"\n"
 26	" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"\n"
 27	" xmlns=\"http://www.w3.org/1999/xhtml\">\n"
 28	" <xsl:template match=\"isc/bind/statistics\">\n"
 29	" <html>\n"
 30	" <head>\n"
 31	" <style type=\"text/css\">\n"
 32	"body {\n"
 33	" font-family: sans-serif;\n"
 34	" background-color: #ffffff;\n"
 35	" color: #000000;\n"
 36	"}\n"
 37	"\n"
 38	"table {\n"
 39	" border-collapse: collapse;\n"
 40	"}\n"
 41	"\n"
 42	"tr.rowh {\n"
 43	" text-align: center;\n"
 44	" border: 1px solid #000000;\n"
 45	" background-color: #8080ff;\n"
 46	" color: #ffffff;\n"
 47	"}\n"
 48	"\n"
 49	"tr.row {\n"
 50	" text-align: right;\n"
 51	" border: 1px solid #000000;\n"
 52	" background-color: teal;\n"
 53	" color: #ffffff;\n"
 54	"}\n"
 55	"\n"
 56	"tr.lrow {\n"
 57	" text-align: left;\n"
 58	" border: 1px solid #000000;\n"
 59	" background-color: teal;\n"
 60	" color: #ffffff;\n"
 61	"}\n"
 62	"\n"
 63	"td, th {\n"
 64	" padding-right: 5px;\n"
 65	" padding-left: 5px;\n"
 66	"}\n"
 67	"\n"
 68	".header h1 {\n"
 69	" background-color: teal;\n"
 70	" color: #ffffff;\n"
 71	" padding: 4px;\n"
 72	"}\n"
 73	"\n"
 74	".content {\n"
 75	" background-color: #ffffff;\n"
 76	" color: #000000;\n"
 77	" padding: 4px;\n"
 78	"}\n"
 79	"\n"
 80	".item {\n"
 81	" padding: 4px;\n"
 82	" align: right;\n"
 83	"}\n"
 84	"\n"
 85	".value {\n"
 86	" padding: 4px;\n"
 87	" font-weight: bold;\n"
 88	"}\n"
 89	"\n"
 90	"div.statcounter h2 {\n"
 91	" text-align: center;\n"
 92	" font-size: large;\n"
 93	" border: 1px solid #000000;\n"
 94	" background-color: #8080ff;\n"
 95	" color: #ffffff;\n"
 96	"}\n"
 97	"\n"
 98	"div.statcounter dl {\n"
 99	" float: left;\n"
100	" margin-top: 0;\n"
101	" margin-bottom: 0;\n"
102	" margin-left: 0;\n"
103	" margin-right: 0;\n"
104	"}\n"
105	"\n"
106	"div.statcounter dt {\n"
107	" width: 200px;\n"
108	" text-align: center;\n"
109	" font-weight: bold;\n"
110	" border: 0.5px solid #000000;\n"
111	" background-color: #8080ff;\n"
112	" color: #ffffff;\n"
113	"}\n"
114	"\n"
115	"div.statcounter dd {\n"
116	" width: 200px;\n"
117	" text-align: right;\n"
118	" border: 0.5px solid #000000;\n"
119	" background-color: teal;\n"
120	" color: #ffffff;\n"
121	" margin-left: 0;\n"
122	" margin-right: 0;\n"
123	"}\n"
124	"\n"
125	"div.statcounter br {\n"
126	" clear: left;\n"
127	"}\n"
128	" </style>\n"
129	" <title>BIND 9 Statistics</title>\n"
130	" </head>\n"
131	" <body>\n"
132	" <div class=\"header\">\n"
133	" <h1>Bind 9 Configuration and Statistics</h1>\n"
134	" </div>\n"
135	"\n"
136	" <br/>\n"
137	"\n"
138	" <table>\n"
139	" <tr class=\"rowh\"><th colspan=\"2\">Times</th></tr>\n"
140	" <tr class=\"lrow\">\n"
141	" <td>boot-time</td>\n"
142	" <td><xsl:value-of select=\"server/boot-time\"/></td>\n"
143	" </tr>\n"
144	" <tr class=\"lrow\">\n"
145	" <td>current-time</td>\n"
146	" <td><xsl:value-of select=\"server/current-time\"/></td>\n"
147	" </tr>\n"
148	" </table>\n"
149	"\n"
150	" <br/>\n"
151	"\n"
152	" <table>\n"
153	" <tr class=\"rowh\"><th colspan=\"2\">Incoming Requests</th></tr>\n"
154	" <xsl:for-each select=\"server/requests/opcode\">\n"
155	" <tr class=\"lrow\">\n"
156	" <td><xsl:value-of select=\"name\"/></td>\n"
157	" <td><xsl:value-of select=\"counter\"/></td>\n"
158	" </tr>\n"
159	" </xsl:for-each>\n"
160	" </table>\n"
161	"\n"
162	" <br/>\n"
163	"\n"
164	" <table>\n"
165	" <tr class=\"rowh\"><th colspan=\"2\">Incoming Queries</th></tr>\n"
166	" <xsl:for-each select=\"server/queries-in/rdtype\">\n"
167	" <tr class=\"lrow\">\n"
168	" <td><xsl:value-of select=\"name\"/></td>\n"
169	" <td><xsl:value-of select=\"counter\"/></td>\n"
170	" </tr>\n"
171	" </xsl:for-each>\n"
172	" </table>\n"
173	"\n"
174	" <br/>\n"
175	"\n"
176	" <xsl:for-each select=\"views/view\">\n"
177	" <table>\n"
178	" <tr class=\"rowh\">\n"
179	" <th colspan=\"2\">Outgoing Queries from View <xsl:value-of select=\"name\"/></th>\n"
180	" </tr>\n"
181	" <xsl:for-each select=\"rdtype\">\n"
182	" <tr class=\"lrow\">\n"
183	" <td><xsl:value-of select=\"name\"/></td>\n"
184	" <td><xsl:value-of select=\"counter\"/></td>\n"
185	" </tr>\n"
186	" </xsl:for-each>\n"
187	" </table>\n"
188	" <br/>\n"
189	" </xsl:for-each>\n"
190	"\n"
191	" <br/>\n"
192	"\n"
193	" <div class=\"statcounter\">\n"
194	" <h2>Server Statistics</h2>\n"
195	" <xsl:for-each select=\"server/nsstat\">\n"
196	" <dl>\n"
197	" <dt><xsl:value-of select=\"name\"/></dt>\n"
198	" <dd><xsl:value-of select=\"counter\"/></dd>\n"
199	" </dl>\n"
200	" </xsl:for-each>\n"
201	" <br/>\n"
202	" </div>\n"
203	"\n"
204	" <div class=\"statcounter\">\n"
205	" <h2>Zone Maintenance Statistics</h2>\n"
206	" <xsl:for-each select=\"server/zonestat\">\n"
207	" <dl>\n"
208	" <dt><xsl:value-of select=\"name\"/></dt>\n"
209	" <dd><xsl:value-of select=\"counter\"/></dd>\n"
210	" </dl>\n"
211	" </xsl:for-each>\n"
212	" <br />\n"
213	" </div>\n"
214	"\n"
215	" <div class=\"statcounter\">\n"
216	" <h2>Resolver Statistics (Common)</h2>\n"
217	" <xsl:for-each select=\"server/resstat\">\n"
218	" <dl>\n"
219	" <dt><xsl:value-of select=\"name\"/></dt>\n"
220	" <dd><xsl:value-of select=\"counter\"/></dd>\n"
221	" </dl>\n"
222	" </xsl:for-each>\n"
223	" <br />\n"
224	" </div>\n"
225	"\n"
226	" <xsl:for-each select=\"views/view\">\n"
227	" <div class=\"statcounter\">\n"
228	" <h2>Resolver Statistics for View <xsl:value-of select=\"name\"/></h2>\n"
229	" <xsl:for-each select=\"resstat\">\n"
230	" <dl>\n"
231	" <dt><xsl:value-of select=\"name\"/></dt>\n"
232	" <dd><xsl:value-of select=\"counter\"/></dd>\n"
233	" </dl>\n"
234	" </xsl:for-each>\n"
235	" <br />\n"
236	" </div>\n"
237	" </xsl:for-each>\n"
238	"\n"
239	" <br />\n"
240	"\n"
241	" <xsl:for-each select=\"views/view\">\n"
242	" <table>\n"
243	" <tr class=\"rowh\">\n"
244	" <th colspan=\"2\">Cache DB RRsets for View <xsl:value-of select=\"name\"/></th>\n"
245	" </tr>\n"
246	" <xsl:for-each select=\"cache/rrset\">\n"
247	" <tr class=\"lrow\">\n"
248	" <td><xsl:value-of select=\"name\"/></td>\n"
249	" <td><xsl:value-of select=\"counter\"/></td>\n"
250	" </tr>\n"
251	" </xsl:for-each>\n"
252	" </table>\n"
253	" <br/>\n"
254	" </xsl:for-each>\n"
255	"\n"
256	" <div class=\"statcounter\">\n"
257	" <h2>Socket I/O Statistics</h2>\n"
258	" <xsl:for-each select=\"server/sockstat\">\n"
259	" <dl>\n"
260	" <dt><xsl:value-of select=\"name\"/></dt>\n"
261	" <dd><xsl:value-of select=\"counter\"/></dd>\n"
262	" </dl>\n"
263	" </xsl:for-each>\n"
264	" <br/>\n"
265	" </div>\n"
266	"\n"
267	" <br/>\n"
268	"\n"
269	" <xsl:for-each select=\"views/view\">\n"
270	" <table>\n"
271	" <tr class=\"rowh\">\n"
272	" <th colspan=\"10\">Zones for View <xsl:value-of select=\"name\"/></th>\n"
273	" </tr>\n"
274	" <tr class=\"rowh\">\n"
275	" <th>Name</th>\n"
276	" <th>Class</th>\n"
277	" <th>Serial</th>\n"
278	" <th>Success</th>\n"
279	" <th>Referral</th>\n"
280	" <th>NXRRSET</th>\n"
281	" <th>NXDOMAIN</th>\n"
282	" <th>Failure</th>\n"
283	" <th>XfrReqDone</th>\n"
284	" <th>XfrRej</th>\n"
285	" </tr>\n"
286	" <xsl:for-each select=\"zones/zone\">\n"
287	" <tr class=\"lrow\">\n"
288	" <td>\n"
289	" <xsl:value-of select=\"name\"/>\n"
290	" </td>\n"
291	" <td>\n"
292	" <xsl:value-of select=\"rdataclass\"/>\n"
293	" </td>\n"
294	" <td>\n"
295	" <xsl:value-of select=\"serial\"/>\n"
296	" </td>\n"
297	" <td>\n"
298	" <xsl:value-of select=\"counters/QrySuccess\"/>\n"
299	" </td>\n"
300	" <td>\n"
301	" <xsl:value-of select=\"counters/QryReferral\"/>\n"
302	" </td>\n"
303	" <td>\n"
304	" <xsl:value-of select=\"counters/QryNxrrset\"/>\n"
305	" </td>\n"
306	" <td>\n"
307	" <xsl:value-of select=\"counters/QryNXDOMAIN\"/>\n"
308	" </td>\n"
309	" <td>\n"
310	" <xsl:value-of select=\"counters/QryFailure\"/>\n"
311	" </td>\n"
312	" <td>\n"
313	" <xsl:value-of select=\"counters/XfrReqDone\"/>\n"
314	" </td>\n"
315	" <td>\n"
316	" <xsl:value-of select=\"counters/XfrRej\"/>\n"
317	" </td>\n"
318	" </tr>\n"
319	" </xsl:for-each>\n"
320	" </table>\n"
321	" <br/>\n"
322	" </xsl:for-each>\n"
323	"\n"
324	" <br/>\n"
325	"\n"
326	" <table>\n"
327	" <tr class=\"rowh\">\n"
328	" <th colspan=\"7\">Network Status</th>\n"
329	" </tr>\n"
330	" <tr class=\"rowh\">\n"
331	" <th>ID</th>\n"
332	" <th>Name</th>\n"
333	" <th>Type</th>\n"
334	" <th>References</th>\n"
335	" <th>LocalAddress</th>\n"
336	" <th>PeerAddress</th>\n"
337	" <th>State</th>\n"
338	" </tr>\n"
339	" <xsl:for-each select=\"socketmgr/sockets/socket\">\n"
340	" <tr class=\"lrow\">\n"
341	" <td>\n"
342	" <xsl:value-of select=\"id\"/>\n"
343	" </td>\n"
344	" <td>\n"
345	" <xsl:value-of select=\"name\"/>\n"
346	" </td>\n"
347	" <td>\n"
348	" <xsl:value-of select=\"type\"/>\n"
349	" </td>\n"
350	" <td>\n"
351	" <xsl:value-of select=\"references\"/>\n"
352	" </td>\n"
353	" <td>\n"
354	" <xsl:value-of select=\"local-address\"/>\n"
355	" </td>\n"
356	" <td>\n"
357	" <xsl:value-of select=\"peer-address\"/>\n"
358	" </td>\n"
359	" <td>\n"
360	" <xsl:for-each select=\"states\">\n"
361	" <xsl:value-of select=\".\"/>\n"
362	" </xsl:for-each>\n"
363	" </td>\n"
364	" </tr>\n"
365	" </xsl:for-each>\n"
366	" </table>\n"
367	" <br/>\n"
368	" <table>\n"
369	" <tr class=\"rowh\">\n"
370	" <th colspan=\"2\">Task Manager Configuration</th>\n"
371	" </tr>\n"
372	" <tr class=\"lrow\">\n"
373	" <td>Thread-Model</td>\n"
374	" <td>\n"
375	" <xsl:value-of select=\"taskmgr/thread-model/type\"/>\n"
376	" </td>\n"
377	" </tr>\n"
378	" <tr class=\"lrow\">\n"
379	" <td>Worker Threads</td>\n"
380	" <td>\n"
381	" <xsl:value-of select=\"taskmgr/thread-model/worker-threads\"/>\n"
382	" </td>\n"
383	" </tr>\n"
384	" <tr class=\"lrow\">\n"
385	" <td>Default Quantum</td>\n"
386	" <td>\n"
387	" <xsl:value-of select=\"taskmgr/thread-model/default-quantum\"/>\n"
388	" </td>\n"
389	" </tr>\n"
390	" <tr class=\"lrow\">\n"
391	" <td>Tasks Running</td>\n"
392	" <td>\n"
393	" <xsl:value-of select=\"taskmgr/thread-model/tasks-running\"/>\n"
394	" </td>\n"
395	" </tr>\n"
396	" </table>\n"
397	" <br/>\n"
398	" <table>\n"
399	" <tr class=\"rowh\">\n"
400	" <th colspan=\"5\">Tasks</th>\n"
401	" </tr>\n"
402	" <tr class=\"rowh\">\n"
403	" <th>ID</th>\n"
404	" <th>Name</th>\n"
405	" <th>References</th>\n"
406	" <th>State</th>\n"
407	" <th>Quantum</th>\n"
408	" </tr>\n"
409	" <xsl:for-each select=\"taskmgr/tasks/task\">\n"
410	" <tr class=\"lrow\">\n"
411	" <td>\n"
412	" <xsl:value-of select=\"id\"/>\n"
413	" </td>\n"
414	" <td>\n"
415	" <xsl:value-of select=\"name\"/>\n"
416	" </td>\n"
417	" <td>\n"
418	" <xsl:value-of select=\"references\"/>\n"
419	" </td>\n"
420	" <td>\n"
421	" <xsl:value-of select=\"state\"/>\n"
422	" </td>\n"
423	" <td>\n"
424	" <xsl:value-of select=\"quantum\"/>\n"
425	" </td>\n"
426	" </tr>\n"
427	" </xsl:for-each>\n"
428	" </table>\n"
429	" <br />\n"
430	" <table>\n"
431	" <tr class=\"rowh\">\n"
432	" <th colspan=\"4\">Memory Usage Summary</th>\n"
433	" </tr>\n"
434	" <xsl:for-each select=\"memory/summary/*\">\n"
435	" <tr class=\"lrow\">\n"
436	" <td><xsl:value-of select=\"name()\"/></td>\n"
437	" <td><xsl:value-of select=\".\"/></td>\n"
438	" </tr>\n"
439	" </xsl:for-each>\n"
440	" </table>\n"
441	" <br />\n"
442	" <table>\n"
443	" <tr class=\"rowh\">\n"
444	" <th colspan=\"10\">Memory Contexts</th>\n"
445	" </tr>\n"
446	" <tr class=\"rowh\">\n"
447	" <th>ID</th>\n"
448	" <th>Name</th>\n"
449	" <th>References</th>\n"
450	" <th>TotalUse</th>\n"
451	" <th>InUse</th>\n"
452	" <th>MaxUse</th>\n"
453	" <th>BlockSize</th>\n"
454	" <th>Pools</th>\n"
455	" <th>HiWater</th>\n"
456	" <th>LoWater</th>\n"
457	" </tr>\n"
458	" <xsl:for-each select=\"memory/contexts/context\">\n"
459	" <tr class=\"lrow\">\n"
460	" <td>\n"
461	" <xsl:value-of select=\"id\"/>\n"
462	" </td>\n"
463	" <td>\n"
464	" <xsl:value-of select=\"name\"/>\n"
465	" </td>\n"
466	" <td>\n"
467	" <xsl:value-of select=\"references\"/>\n"
468	" </td>\n"
469	" <td>\n"
470	" <xsl:value-of select=\"total\"/>\n"
471	" </td>\n"
472	" <td>\n"
473	" <xsl:value-of select=\"inuse\"/>\n"
474	" </td>\n"
475	" <td>\n"
476	" <xsl:value-of select=\"maxinuse\"/>\n"
477	" </td>\n"
478	" <td>\n"
479	" <xsl:value-of select=\"blocksize\"/>\n"
480	" </td>\n"
481	" <td>\n"
482	" <xsl:value-of select=\"pools\"/>\n"
483	" </td>\n"
484	" <td>\n"
485	" <xsl:value-of select=\"hiwater\"/>\n"
486	" </td>\n"
487	" <td>\n"
488	" <xsl:value-of select=\"lowater\"/>\n"
489	" </td>\n"
490	" </tr>\n"
491	" </xsl:for-each>\n"
492	" </table>\n"
493	"\n"
494	" </body>\n"
495	" </html>\n"
496	" </xsl:template>\n"
497	"</xsl:stylesheet>\n";