File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / ntp / include / debug-opt.def
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:08:38 2012 UTC (12 years, 5 months ago) by misho
Branches: ntp, MAIN
CVS tags: v4_2_6p5p0, v4_2_6p5, HEAD
ntp 4.2.6p5

    1: 
    2: include        = <<- _EOF_
    3: 	#ifdef __windows
    4: 	  extern int atoi(const char*);
    5: 	#else
    6: 	# include <stdlib.h>
    7: 	#endif
    8: 	_EOF_;
    9: 
   10: flag = {
   11:     name      = debug-level;
   12:     value     = d;
   13:     max       = NOLIMIT;
   14:     nopreset;
   15:     descrip   = "Increase output debug message level";
   16:     doc = <<-  _EndOfDoc_
   17: 	Increase the debugging message output level.
   18: 	_EndOfDoc_;
   19: };
   20: 
   21: flag = {
   22:     name      = set-debug-level;
   23:     value     = D;
   24:     max       = NOLIMIT;
   25:     descrip   = "Set the output debug message level";
   26:     arg-type  = string;
   27:     flag-code = 'DESC(DEBUG_LEVEL).optOccCt = atoi( pOptDesc->pzLastArg );';
   28:     doc = <<-  _EndOfDoc_
   29: 	Set the output debugging level.  Can be supplied multiple times,
   30: 	but each overrides the previous value(s).
   31: 	_EndOfDoc_;
   32: };

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>