aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@inria.fr>1999-05-31 04:02:42 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-05-31 04:02:42 +0800
commitb3cdb41a122e797572b834fac6d5e11ddd579d5e (patch)
tree812923c019457ce8a7ea32e0e8504b51cb14cf05 /tests
parentd32ba2a70aebd94d176f73a64bc83ed59038e835 (diff)
downloadgsoc2013-evolution-b3cdb41a122e797572b834fac6d5e11ddd579d5e.tar
gsoc2013-evolution-b3cdb41a122e797572b834fac6d5e11ddd579d5e.tar.gz
gsoc2013-evolution-b3cdb41a122e797572b834fac6d5e11ddd579d5e.tar.bz2
gsoc2013-evolution-b3cdb41a122e797572b834fac6d5e11ddd579d5e.tar.lz
gsoc2013-evolution-b3cdb41a122e797572b834fac6d5e11ddd579d5e.tar.xz
gsoc2013-evolution-b3cdb41a122e797572b834fac6d5e11ddd579d5e.tar.zst
gsoc2013-evolution-b3cdb41a122e797572b834fac6d5e11ddd579d5e.zip
new class. Represents an abstract stream object.
1999-05-30 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-stream.h: new class. Represents an abstract stream object. svn path=/trunk/; revision=960
Diffstat (limited to 'tests')
-rw-r--r--tests/test2.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/test2.c b/tests/test2.c
index 538ae14345..91e2fa0f2d 100644
--- a/tests/test2.c
+++ b/tests/test2.c
@@ -5,6 +5,7 @@
#include "camel-log.h"
#include "camel-mime-message.h"
#include "camel-mime-part.h"
+#include "camel-stream.h"
void print_header_pair (gpointer key, gpointer value, gpointer user_data)
{
@@ -32,16 +33,14 @@ main (int argc, char**argv)
FILE *output_file;
GHashTable *header_table;
CamelMimeMessage *message;
- GnomeStream *stream;
-
-
+ CamelStream *stream;
gtk_init (&argc, &argv);
camel_debug_level = FULL_DEBUG;
message = camel_mime_message_new_with_session( (CamelSession *)NULL);
input_file = fopen ("mail.test", "r");
- stream = gnome_stream_fs_open (NULL, "/tmp/a.png", GNOME_Storage_READ);
+ /*stream = gnome_stream_fs_open (NULL, "mail.test", GNOME_Storage_READ);*/
if (!input_file) {
perror("could not open input file");
exit(2);