a little bit of Doxygen here and there
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
#include "shared/LL.h"
|
#include "shared/LL.h"
|
||||||
|
|
||||||
#ifndef LOADAVG_NSTATS
|
#ifndef LOADAVG_NSTATS
|
||||||
# define LOADAVG_NSTATS 3 /** size of loadavg[] parameter to getloadavg() */
|
# define LOADAVG_NSTATS 3 /**< size of loadavg[] parameter to getloadavg() */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef LOADAVG_1MIN
|
#ifndef LOADAVG_1MIN
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
/** \file drivers.c
|
/** \file drivers.c
|
||||||
* This code manages the lists of loaded drivers and does actions on all drivers.
|
* Manage the lists of loaded drivers and perform actions on all drivers.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* This file is part of LCDd, the lcdproc server.
|
/* This file is part of LCDd, the lcdproc server.
|
||||||
|
|||||||
@@ -102,7 +102,8 @@ static void CFontz_raw_chr(Driver *drvthis, int x, int y, unsigned char c);
|
|||||||
/**
|
/**
|
||||||
* Initialize the driver.
|
* Initialize the driver.
|
||||||
* \param drvthis Pointer to driver structure.
|
* \param drvthis Pointer to driver structure.
|
||||||
* \return Information of success (0) or failure (non-0).
|
* \retval 0 Success.
|
||||||
|
* \retval <0 Error.
|
||||||
*/
|
*/
|
||||||
MODULE_EXPORT int
|
MODULE_EXPORT int
|
||||||
CFontz_init(Driver *drvthis)
|
CFontz_init(Driver *drvthis)
|
||||||
@@ -745,7 +746,7 @@ int do_init = 0;
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get number of custom characters available.
|
* Get total number of custom characters available.
|
||||||
* \param drvthis Pointer to driver structure.
|
* \param drvthis Pointer to driver structure.
|
||||||
* \return Number of custom characters (always NUM_CCs).
|
* \return Number of custom characters (always NUM_CCs).
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -129,7 +129,8 @@ static void CFontz633_hardware_clear (Driver *drvthis);
|
|||||||
/**
|
/**
|
||||||
* Initialize the driver.
|
* Initialize the driver.
|
||||||
* \param drvthis Pointer to driver structure.
|
* \param drvthis Pointer to driver structure.
|
||||||
* \return Information of success (0) or failure (non-0).
|
* \retval 0 Success.
|
||||||
|
* \retval <0 Error.
|
||||||
*/
|
*/
|
||||||
MODULE_EXPORT int
|
MODULE_EXPORT int
|
||||||
CFontz633_init (Driver *drvthis)
|
CFontz633_init (Driver *drvthis)
|
||||||
@@ -789,7 +790,7 @@ int do_init = 0;
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get number of custom characters available.
|
* Get total number of custom characters available.
|
||||||
* \param drvthis Pointer to driver structure.
|
* \param drvthis Pointer to driver structure.
|
||||||
* \return Number of custom characters (always NUM_CCs).
|
* \return Number of custom characters (always NUM_CCs).
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -162,7 +162,8 @@ static void CFontzPacket_hardware_clear (Driver *drvthis);
|
|||||||
/**
|
/**
|
||||||
* Initialize the driver.
|
* Initialize the driver.
|
||||||
* \param drvthis Pointer to driver structure.
|
* \param drvthis Pointer to driver structure.
|
||||||
* \return Information of success (0) or failure (non-0).
|
* \retval 0 Success.
|
||||||
|
* \retval <0 Error.
|
||||||
*/
|
*/
|
||||||
MODULE_EXPORT int
|
MODULE_EXPORT int
|
||||||
CFontzPacket_init (Driver *drvthis)
|
CFontzPacket_init (Driver *drvthis)
|
||||||
@@ -956,7 +957,7 @@ int do_init = 0;
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get number of custom characters available.
|
* Get total number of custom characters available.
|
||||||
* \param drvthis Pointer to driver structure.
|
* \param drvthis Pointer to driver structure.
|
||||||
* \return Number of custom characters (always NUM_CCs).
|
* \return Number of custom characters (always NUM_CCs).
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -404,7 +404,8 @@ CwLnx_hidecursor(int fd)
|
|||||||
/**
|
/**
|
||||||
* Initialize the driver.
|
* Initialize the driver.
|
||||||
* \param drvthis Pointer to driver structure.
|
* \param drvthis Pointer to driver structure.
|
||||||
* \return Information of success (0) or failure (non-0).
|
* \retval 0 Success.
|
||||||
|
* \retval <0 Error.
|
||||||
*/
|
*/
|
||||||
MODULE_EXPORT int
|
MODULE_EXPORT int
|
||||||
CwLnx_init(Driver *drvthis)
|
CwLnx_init(Driver *drvthis)
|
||||||
@@ -945,7 +946,7 @@ CwLnx_num(Driver *drvthis, int x, int num)
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get number of custom characters available.
|
* Get total number of custom characters available.
|
||||||
* \param drvthis Pointer to driver structure.
|
* \param drvthis Pointer to driver structure.
|
||||||
* \return Number of custom characters (always NUM_CCs).
|
* \return Number of custom characters (always NUM_CCs).
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -209,7 +209,8 @@ static int iowled_on_off(usb_dev_handle *udh,int type, unsigned int pattern)
|
|||||||
/**
|
/**
|
||||||
* Initialize the driver.
|
* Initialize the driver.
|
||||||
* \param drvthis Pointer to driver structure.
|
* \param drvthis Pointer to driver structure.
|
||||||
* \return Information of success (0) or failure (non-0).
|
* \retval 0 Success.
|
||||||
|
* \retval <0 Error.
|
||||||
*/
|
*/
|
||||||
MODULE_EXPORT int
|
MODULE_EXPORT int
|
||||||
IOWarrior_init(Driver *drvthis)
|
IOWarrior_init(Driver *drvthis)
|
||||||
@@ -816,7 +817,7 @@ PrivateData *p = drvthis->private_data;
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get number of custom characters available.
|
* Get total number of custom characters available.
|
||||||
* \param drvthis Pointer to driver structure.
|
* \param drvthis Pointer to driver structure.
|
||||||
* \return Number of custom characters (always NUM_CCs).
|
* \return Number of custom characters (always NUM_CCs).
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -180,7 +180,8 @@ MtxOrb_parse_keypad_setting (Driver *drvthis, char *keyname, char default_value)
|
|||||||
/**
|
/**
|
||||||
* Initialize the driver.
|
* Initialize the driver.
|
||||||
* \param drvthis Pointer to driver structure.
|
* \param drvthis Pointer to driver structure.
|
||||||
* \return Information of success (0) or failure (non-0).
|
* \retval 0 Success.
|
||||||
|
* \retval <0 Error.
|
||||||
*/
|
*/
|
||||||
MODULE_EXPORT int
|
MODULE_EXPORT int
|
||||||
MtxOrb_init (Driver *drvthis)
|
MtxOrb_init (Driver *drvthis)
|
||||||
@@ -1166,7 +1167,7 @@ MtxOrb_num (Driver *drvthis, int x, int num)
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get number of custom characters available.
|
* Get total number of custom characters available.
|
||||||
* \param drvthis Pointer to driver structure.
|
* \param drvthis Pointer to driver structure.
|
||||||
* \return Number of custom characters (always NUM_CCs).
|
* \return Number of custom characters (always NUM_CCs).
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -580,7 +580,7 @@ IOWarrior_num(Driver *drvthis, int x, int num)
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get number of custom characters available.
|
* Get total number of custom characters available.
|
||||||
* \param drvthis Pointer to driver structure.
|
* \param drvthis Pointer to driver structure.
|
||||||
* \return Number of custom characters (always 0).
|
* \return Number of custom characters (always 0).
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -746,7 +746,7 @@ HD44780_num(Driver *drvthis, int x, int num)
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get number of custom characters available.
|
* Get total number of custom characters available.
|
||||||
* \param drvthis Pointer to driver structure.
|
* \param drvthis Pointer to driver structure.
|
||||||
* \return Number of custom characters (always NUM_CCs).
|
* \return Number of custom characters (always NUM_CCs).
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -200,7 +200,8 @@ serialPOS_parse_keypad_setting (Driver *drvthis, char *keyname, char default_val
|
|||||||
/**
|
/**
|
||||||
* Initialize the driver.
|
* Initialize the driver.
|
||||||
* \param drvthis Pointer to driver structure.
|
* \param drvthis Pointer to driver structure.
|
||||||
* \return Information of success (0) or failure (non-0).
|
* \retval 0 Success.
|
||||||
|
* \retval <0 Error.
|
||||||
*/
|
*/
|
||||||
MODULE_EXPORT int
|
MODULE_EXPORT int
|
||||||
serialPOS_init (Driver *drvthis)
|
serialPOS_init (Driver *drvthis)
|
||||||
@@ -838,7 +839,7 @@ serialPOS_num (Driver *drvthis, int x, int num)
|
|||||||
|
|
||||||
#ifdef NOTUSED
|
#ifdef NOTUSED
|
||||||
/**
|
/**
|
||||||
* Get number of custom characters available.
|
* Get total number of custom characters available.
|
||||||
* \param drvthis Pointer to driver structure.
|
* \param drvthis Pointer to driver structure.
|
||||||
* \return Number of custom characters (always NUM_CCs).
|
* \return Number of custom characters (always NUM_CCs).
|
||||||
*/
|
*/
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
/** \file configfile.h
|
/** \file configfile.h
|
||||||
* Declares routines to read INI-file like files.
|
* Declare routines to read INI-file like files.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* This file is part of LCDd, the lcdproc server.
|
/* This file is part of LCDd, the lcdproc server.
|
||||||
|
|||||||
Reference in New Issue
Block a user