static inline void database_check_profile(const char **pprofile) { if( xisempty(*pprofile) ) *pprofile = database_current; }
int alarm_action_is_button(const alarm_action_t *self) { return !xisempty(self->label) && (self->flags & ALARM_ACTION_WHEN_RESPONDED); }