On Fri, 2012-11-02 at 22:58 +0100, Pavel Březina wrote:
+#define SSSDBG_IMPORTANT_INFO 0x0010 /* level 0 */
#define SSSDBG_FATAL_FAILURE 0x0010 /* level 0 */
#define SSSDBG_CRIT_FAILURE 0x0020 /* level 1 */
#define SSSDBG_OP_FAILURE 0x0040 /* level 2 */
Uhm I am not particularly happy with proliferating macros, but I see why
you would like a better name, however if it isn't a fatal failure
shouldn;t we use a higher debug level ?
Also do not define numbers just define an alias to a macro so we do not
risk changing one and not the other.
I propose:
#define SSSDBG_IMPORTANT_INFO SSSDBG_OP_FAILURE
Simo.
--
Simo Sorce * Red Hat, Inc * New York