[Nut-upsdev] drivers/Doxyfile

Arjen de Korte nut+devel at de-korte.org
Mon Oct 1 12:36:37 UTC 2007


Charles Lepple wrote:

>> You seem to be the author of the drivers/Doxyfile. Is this file still
>> used somewhere, or is just slowly rotting in the tree? The 'hid-usb.h'
>> file mentioned in it was renamed to 'libusb.h' more than two years ago
>> and meanwhile, tripplite_usb doesn't depend/use libhid and the hidparser
>> anymore either. Time for an update I suppose... :-)
> 
> It can be removed. (I thought it was already gone - someone asked
> about this a while ago.)

It is gone now.

> Doxygen works best when you have one main() function, and I was trying
> to use it to document all of the drivers at once.

Essentially, we have one main() function (in main.c), but the problem
probably is that this uses many upsdrv_(initups|initinfo|<whatever>)
subroutines and therefor you can't document what is happening, without
branching out for each and every driver that uses it.

Best regards, Arjen



More information about the Nut-upsdev mailing list