Lines Matching defs:headers
227 if (strcasecmp(secreq->headers[i].name,
235 secreq->headers[i].name, secreq->headers[i].value);
238 secreq->headers[i].name,
239 secreq->headers[i].value);
242 "Couldn't append header %s\n", secreq->headers[i].name);
288 DEBUG(SSSDBG_CRIT_FAILURE, "Couldn't map headers\n");
330 struct sec_kvp *headers;
712 if (!reply->headers) {
713 reply->headers = talloc_zero_array(reply, struct sec_kvp, 10);
715 (reply->headers[n - 1].value)) {
716 reply->headers = talloc_realloc(reply, reply->headers,
718 if (reply->headers) {
719 memset(&reply->headers[n], 0, sizeof(struct sec_kvp) * 10);
722 if (!reply->headers) {
724 "Failed to store headers, aborting client!\n");
728 if (!n || reply->headers[n - 1].value) {
732 ph_append_string(reply->headers, &reply->headers[n - 1].name, at, length);
733 if (!reply->headers[n - 1].name) {
751 if (!reply->headers) {
753 "Invalid headers pointer, aborting client!\n");
757 if (reply->headers[n].name && !reply->headers[n].value) {
762 ph_append_string(reply->headers, &reply->headers[n - 1].value, at, length);
763 if (!reply->headers[n - 1].value) {
1003 reply->headers, reply->num_headers,