Logo Search packages:      
Sourcecode: gaim-meanwhile version File versions  Download package

const char* gaim_mime_document_get_field ( GaimMimeDocument doc,
const char *  field 
)

Get the value of a specific field in the header of a document

Parameters:
doc the MIME document
field case-insensitive field name
Returns:
value associated with the indicated header field, or NULL if the field doesn't exist

Definition at line 490 of file mime.c.

                                                  {
  g_return_val_if_fail(doc != NULL, NULL);
  return fields_get(&doc->fields, field);
}


Generated by  Doxygen 1.6.0   Back to index