open_channel
if (open_channel() == NULL) {
static sysevent_handle_t *open_channel(void);
if (open_channel(kchannel) != 0) {