Make NSMShutdownType a flags type rather than an enum type
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Thu, 26 Jul 2012 12:41:33 +0000 (13:41 +0100)
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Thu, 26 Jul 2012 12:45:32 +0000 (13:45 +0100)
commite0f4fbfe118840c81d9464dc651bc2be38427718
treed39f33da0f4380153cecf55de801002a93bdaf62
parentbdc7aa66fc88d1ebbe4e8b910845fec053e76f8f
Make NSMShutdownType a flags type rather than an enum type

This makes more sense because enums are not supposed to be combined
using bitwise operators. Flags, however, exist exactly for this
purpose.
common/nsm-enum-types.c
common/nsm-enum-types.h
common/shutdown-client.c