Commit Graph

19 Commits

Author SHA1 Message Date
David Lawrence
7efc8c3f69 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

Minor other ISC style cleanups.
2000-06-01 18:49:22 +00:00
David Lawrence
80150fb04a oh good lord. the casting problem is really truly fixed this time. mea culpa. 2000-05-11 15:36:20 +00:00
David Lawrence
24fe57b6da sorry, screwed up the cast in the last revision. cast a pointer to an int,
when i wanted to cast the int to unsigned then make a pointer.
2000-05-11 15:25:05 +00:00
David Lawrence
2ffe094fab fixed argument type mismatch in dns_c_logchan_getversions call 2000-05-10 18:38:21 +00:00
David Lawrence
0cdff5948e file versions needs to be signed int, because ISC_LOG_ROLLNEVER is negative 2000-05-10 01:50:58 +00:00
David Lawrence
8a47ea1dad a few lingering (mem|str)(cmp|cpy|len) missing prototypes 2000-05-09 15:02:20 +00:00
David Lawrence
1a69a1a78c Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
2000-05-08 14:38:29 +00:00
Andreas Gustafsson
a0f6cda5fd the 'default_debug' log channel was not set up when
'category default' was present in the config file
2000-04-28 18:53:45 +00:00
David Lawrence
642c20f6a1 style lint 2000-04-25 23:44:37 +00:00
Bob Halley
acee756e38 lint 2000-03-23 22:51:53 +00:00
Andreas Gustafsson
02fd64a1fc put single quote around logging channel name in error message 2000-03-23 00:51:29 +00:00
David Lawrence
5542df0959 When loading a configuration file, set log defaults if and only if no
"category default" clause was found in a logging statement.

When setting defaults, use ISC_LOGCATEGORY_DEFAULT for the category parameter
instead of NULL.

Don't do the isc_log{category,module}byname lookup every time through the
loop in logconf.c:category_fromconf(); it can be done just once, before
entering the loop.
2000-03-04 16:41:48 +00:00
Andreas Gustafsson
bdc155d8ce look up logging category name using isc_log_categorybyname() 2000-03-04 01:08:05 +00:00
James Brister
b0000a5e0f Temporary change to let things compile. 2000-03-02 03:51:36 +00:00
Andreas Gustafsson
0e7a542683 improved error reporting 2000-03-01 20:40:33 +00:00
Andreas Gustafsson
e02c696ea5 checkpoint: restructured logging configuration code
to enable the default logging configuration to be defined
in one place
2000-03-01 00:40:54 +00:00
Michael Graff
d456800909 formatting nit; no functional change 2000-02-29 20:09:37 +00:00
Bob Halley
21c39a1a83 initialize type in channel_fromconf() 2000-02-28 19:18:13 +00:00
Andreas Gustafsson
353dcaf1cc 'logging' statement partially wired up 2000-02-28 18:38:44 +00:00