~ubuntu-branches/ubuntu/maverick/evolution-data-server/maverick-proposed

« back to all changes in this revision

Viewing changes to camel/camel-mime-part.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-05-17 17:02:06 UTC
  • mfrom: (1.1.79 upstream) (1.6.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20100517170206-4ufr52vwrhh26yh0
Tags: 2.30.1-1ubuntu1
* Merge from debian experimental. Remaining change:
  (LP: #42199, #229669, #173703, #360344, #508494)
  + debian/control:
    - add Vcs-Bzr tag
    - don't use libgnome
    - Use Breaks instead of Conflicts against evolution 2.25 and earlier.
  + debian/evolution-data-server.install,
    debian/patches/45_libcamel_providers_version.patch:
    - use the upstream versioning, not a Debian-specific one 
  + debian/libedata-book1.2-dev.install, debian/libebackend-1.2-dev.install,
    debian/libcamel1.2-dev.install, debian/libedataserverui1.2-dev.install:
    - install html documentation
  + debian/rules:
    - don't build documentation it's shipped with the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
                (gpointer) "Content-Disposition", write_raw);
144
144
        g_hash_table_insert (
145
145
                header_formatted_table,
146
 
                (gpointer) "To", write_raw);
147
 
        g_hash_table_insert (
148
 
                header_formatted_table,
149
146
                (gpointer) "From", write_raw);
150
147
        g_hash_table_insert (
151
148
                header_formatted_table,
152
149
                (gpointer) "Reply-To", write_raw);
153
150
        g_hash_table_insert (
154
151
                header_formatted_table,
155
 
                (gpointer) "Cc", write_raw);
156
 
        g_hash_table_insert (
157
 
                header_formatted_table,
158
 
                (gpointer) "Bcc", write_raw);
159
 
        g_hash_table_insert (
160
 
                header_formatted_table,
161
152
                (gpointer) "Message-ID", write_raw);
162
153
        g_hash_table_insert (
163
154
                header_formatted_table,
444
435
 *
445
436
 * Get the disposition of the MIME part.
446
437
 *
447
 
 * Returns: the dispisition
 
438
 * Returns: the disposition
448
439
 **/
449
440
const gchar *
450
441
camel_mime_part_get_disposition (CamelMimePart *mime_part)
455
446
                return NULL;
456
447
}
457
448
 
 
449
/**
 
450
 * camel_mime_part_get_content_disposition:
 
451
 * @mime_part: a #CamelMimePart object
 
452
 *
 
453
 * Get the disposition of the MIME part as a structure.
 
454
 * Returned pointer is owned by #mime_part.
 
455
 *
 
456
 * Returns: the disposition structure
 
457
 *
 
458
 * Since: 2.30
 
459
 **/
 
460
const CamelContentDisposition *
 
461
camel_mime_part_get_content_disposition (CamelMimePart *mime_part)
 
462
{
 
463
        g_return_val_if_fail (mime_part != NULL, NULL);
 
464
 
 
465
        return mime_part->disposition;
 
466
}
 
467
 
458
468
/* **** Content-Disposition: filename="xxx" */
459
469
 
460
470
/**
1092
1102
 * Get the decoded size of the MIME part's content.
1093
1103
 *
1094
1104
 * Returns: the size of the MIME part's content in bytes.
 
1105
 *
 
1106
 * Since: 2.22
1095
1107
 **/
1096
1108
gsize
1097
1109
camel_mime_part_get_content_size (CamelMimePart *mime_part)