Lines Matching defs:value
34 char *param_value; /* Param value e.g. "sha1" */
39 char *value; /* Value of line e.g. "text/plain" */
48 static MIME_HEADER *mime_hdr_new(const char *name, const char *value);
49 static int mime_hdr_addparam(MIME_HEADER *mhdr, const char *name, const char *value);
418 || hdr->value == NULL) {
426 if (strcmp(hdr->value, "multipart/signed") == 0) {
454 || hdr->value == NULL) {
461 if (strcmp(hdr->value, "application/x-pkcs7-signature") &&
462 strcmp(hdr->value, "application/pkcs7-signature")) {
464 "type: %s", hdr->value);
489 if (strcmp(hdr->value, "application/x-pkcs7-mime") &&
490 strcmp(hdr->value, "application/pkcs7-mime")) {
492 "type: %s", hdr->value);
578 || hdr->value == NULL) {
583 if (strcmp(hdr->value, "text/plain")) {
585 "type: %s", hdr->value);
843 static MIME_HEADER *mime_hdr_new(const char *name, const char *value)
854 if (value) {
855 if ((tmpval = OPENSSL_strdup(value)) == NULL)
864 mhdr->value = tmpval;
876 static int mime_hdr_addparam(MIME_HEADER *mhdr, const char *name, const char *value)
888 if (value) {
889 tmpval = OPENSSL_strdup(value);
934 htmp.value = NULL;
957 OPENSSL_free(hdr->value);