diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-11-03 07:53:36 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-11-03 07:53:36 +0800 |
commit | d2e6a28e22a2352d4622265693405b3f193c6aee (patch) | |
tree | 4881b7f8f2d4c53f8bc68c20c397b33a474e2599 /camel/camel-data-wrapper.h | |
parent | dc354f10e83c1a1aca64454ef45059af4b69279e (diff) | |
download | gsoc2013-evolution-d2e6a28e22a2352d4622265693405b3f193c6aee.tar.gz gsoc2013-evolution-d2e6a28e22a2352d4622265693405b3f193c6aee.tar.zst gsoc2013-evolution-d2e6a28e22a2352d4622265693405b3f193c6aee.zip |
Initialize our private mutex. (camel_data_wrapper_finalize): Destroy our
2001-11-02 Jeffrey Stedfast <fejj@ximian.com>
* camel-data-wrapper.c (camel_data_wrapper_init): Initialize our
private mutex.
(camel_data_wrapper_finalize): Destroy our private mutex.
(write_to_stream): Lock around camel_stream_write_to_stream() so
that we don't get 2 threads trying to read from our stream at the
same time.
svn path=/trunk/; revision=14573
Diffstat (limited to 'camel/camel-data-wrapper.h')
-rw-r--r-- | camel/camel-data-wrapper.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/camel-data-wrapper.h b/camel/camel-data-wrapper.h index 329304e143..d8c7fbe50b 100644 --- a/camel/camel-data-wrapper.h +++ b/camel/camel-data-wrapper.h @@ -27,7 +27,6 @@ #ifndef CAMEL_DATA_WRAPPER_H #define CAMEL_DATA_WRAPPER_H 1 - #ifdef __cplusplus extern "C" { #pragma } @@ -44,10 +43,11 @@ extern "C" { struct _CamelDataWrapper { CamelObject parent_object; - + struct _CamelDataWrapperPrivate *priv; + CamelContentType *mime_type; CamelStream *stream; - + unsigned int offline:1; unsigned int rawtext:1; }; |