* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- * $Id$
+ */
+/** @file
+ * @brief Report configuration lines and other statistics from this server.
+ * @version $Id$
*/
#ifndef INCLUDED_s_stats_h
/** Statistics entry. */
struct StatDesc
{
- char sd_c; /**< stats character (or '\0') */
+ char sd_c; /**< stats character (or '\\0') */
char *sd_name; /**< full name for stats */
unsigned int sd_flags; /**< flags to control the stats */
enum Feature sd_control; /**< feature controlling stats */
#define STAT_FLAG_OPERONLY 0x01 /**< Oper-only stat */
#define STAT_FLAG_OPERFEAT 0x02 /**< Oper-only if the feature is true */
-#define STAT_FLAG_CASESENS 0x04 /**< Flag is case-sensitive */
-#define STAT_FLAG_VARPARAM 0x08 /**< May have an extra parameter */
+#define STAT_FLAG_LOCONLY 0x04 /**< Local user only */
+#define STAT_FLAG_CASESENS 0x08 /**< Flag is case-sensitive */
+#define STAT_FLAG_VARPARAM 0x10 /**< May have an extra parameter */
extern void stats_init(void);
const struct StatDesc *stats_find(const char *name_or_char);