Lines Matching refs:resp_ptr
51 tsalarm_resp_t *resp_ptr = NULL;
101 if ((resp_ptr = (tsalarm_resp_t *)recv_msg.msg_data) == NULL)
112 if (resp_ptr->status == TSALARM_ERROR) {
117 if (resp_ptr->alarm_state == TSALARM_STATE_UNKNOWN) {
122 *alarm_state = resp_ptr->alarm_state;
129 if (resp_ptr != NULL)
130 free(resp_ptr);
143 tsalarm_resp_t *resp_ptr = NULL;
196 if ((resp_ptr = (tsalarm_resp_t *)recv_msg.msg_data) == NULL)
207 if (resp_ptr->status == TSALARM_ERROR) {
216 (resp_ptr->alarm_state != TSALARM_STATE_OFF)) {
220 (resp_ptr->alarm_state != TSALARM_STATE_ON)) {
223 } else if (resp_ptr->alarm_state == TSALARM_STATE_UNKNOWN) {
233 if (resp_ptr != NULL)
234 free(resp_ptr);