diff options
author | Pavel Březina <pbrezina@redhat.com> | 2011-08-09 10:19:03 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-08-25 15:46:11 -0400 |
commit | a32ae272bb0ae0a47ab80d3a2fcc535fd5260754 (patch) | |
tree | 3e06169af97e8c8d27f3ea6debe1c0925e7cdc2e /src/krb5_plugin | |
parent | 24a5dc6614f3bd834d1b82c19cca8d3adc6a7653 (diff) | |
download | sssd-a32ae272bb0ae0a47ab80d3a2fcc535fd5260754.tar.gz sssd-a32ae272bb0ae0a47ab80d3a2fcc535fd5260754.tar.bz2 sssd-a32ae272bb0ae0a47ab80d3a2fcc535fd5260754.zip |
New DEBUG facility - new levels
https://fedorahosted.org/sssd/ticket/925
Added functions:
- debug_convert_old_level() to convert levels 0-9 to appropriate bitmask
debug_convert_old_level(5) returns 0x03F0 (= 0 | 1 | 2 | 3 | 4 | 5)
- debug_get_level() to convert old level number to its new value
debug_get_level(5) returns 0x0200 (= 5)
There are several new macros in util/util.h:
- SSSDBG_* to reflect a debug level (same names as in the ticket) - please,
don't use magic numbers anymore
Diffstat (limited to 'src/krb5_plugin')
0 files changed, 0 insertions, 0 deletions