Example #1
0
bool Event_control_env_set_var_name_process(
        General_state* global_state, Channel* channel, const Value* value)
{
    rassert(global_state != NULL);
    rassert(channel != NULL);
    rassert(value != NULL);
    rassert(value->type == VALUE_TYPE_STRING);

    return set_active_name(&channel->parent, ACTIVE_CAT_ENV, value);
}
Example #2
0
bool Event_control_env_set_var_name_process(
        General_state* global_state, Channel* channel, const Event_params* params)
{
    rassert(global_state != NULL);
    rassert(channel != NULL);
    rassert(params != NULL);
    rassert(params->arg != NULL);
    rassert(params->arg->type == VALUE_TYPE_STRING);

    return set_active_name(&channel->parent, ACTIVE_CAT_ENV, params->arg);
}
Example #3
0
bool Event_channel_set_cv_name_process(
        Channel* ch,
        Device_states* dstates,
        const Master_params* master_params,
        const Value* value)
{
    rassert(ch != NULL);
    rassert(dstates != NULL);
    rassert(master_params != NULL);
    rassert(value != NULL);
    rassert(value->type == VALUE_TYPE_STRING);

    return set_active_name(&ch->parent, ACTIVE_CAT_CONTROL_VAR, value);
}