static bool tagscmd(UAContext *ua, const char *cmd)
{
+#ifdef xxx
uint i = 0;
for (const char *p = debug_get_tag(i++, NULL) ; p ; p = debug_get_tag(i++, NULL)) {
ua->send_msg("%s\n", p);
}
+#endif
return true;
}
#define MAX_TAG (sizeof(debug_tags) / sizeof(struct debugtags))
+#ifdef xxx /* Hey what is unit??? it is not defined on all platforms */
const char *debug_get_tag(uint pos, const char **desc)
{
if (pos < MAX_TAG) {
}
return NULL;
}
+#endif
/* Allow +-, */
bool debug_find_tag(const char *tagname, bool add, int64_t *current_level)
#define DT_ASX (1<<16) /* used by Alain for personal debugging */
#define DT_ALL (0x7FFF0000) /* all (up to debug_level 65635, 15 flags available) */
-const char *debug_get_tag(uint pos, const char **desc);
+//const char *debug_get_tag(uint pos, const char **desc);
bool debug_find_tag(const char *tagname, bool add, int64_t *current_level);
bool debug_parse_tags(const char *options, int64_t *current_level);