rem: subs_state_t s;
add: ss_reason_t reason;
context: static inline int create_headers(struct watcher* _w){	time_t t;	subs_state_t s;	headers.len = 0;		if (add_event_hf(&headers, BUF_LEN, _w->preferred_mimetype) < 0) {		LOG(L_ERR, "create_headers(): Error while adding Event header field\n");		return -1;	}	if (add_cont_type_hf(&headers, BUF_LEN - headers.len, _w->preferred_mimetype)  < 0) {		LOG(L_ERR, "create_headers(): Error while adding Content-Type header field\n");		return -2;	}	/* if (add_contact_hf(&headers, BUF_LEN - headers.len, &_w->uri) < 0) { */	if (add_contact_hf(&headers, BUF_LEN - headers.len, &_w->server_contact) < 0) {		LOG(L_ERR, "create_headers(): Error while adding Contact header field\n");		return -3;	}	if (_w && _w->expires) t = _w->expires - time(0);	else t = 0;	if (t == 0) {		s = SS_TERMINATED;	} else {		s = SS_ACTIVE;	}	if (add_subs_state_hf(&headers, BUF_LEN - headers.len, s, SR_TIMEOUT, t) < 0) {		LOG(L_ERR, "create_headers(): Error while adding Subscription-State\n");		return -3;	}	return 0;}