2007-01-20 [colin] 2.7.1cvs40
[claws.git] / src / mutt.c
index b5dc33b5f2d0def15075e530995e425085a051e4..2f663b7ef73b8013083db770f076d1930bc6db95 100644 (file)
@@ -59,18 +59,6 @@ void mutt_set_file( MuttFile* muttFile, const gchar *value ) {
        g_strstrip( muttFile->path );
 }
 
-/*
-* Register a callback function. When called, the function will be passed
-* the following arguments:
-*      MuttFile object,
-*      File size (long),
-*      Current position (long)
-* This can be used for a progress indicator.
-*/
-void mutt_set_callback( MuttFile *muttFile, void *func ) {
-       muttFile->cbProgress = func;
-}
-
 /*
  * Free key in table.
  */
@@ -108,16 +96,6 @@ void mutt_free( MuttFile *muttFile ) {
        g_free( muttFile );
 }
 
-/*
-* Display object to specified stream.
-*/
-void mutt_print_file( MuttFile *muttFile, FILE *stream ) {
-       g_return_if_fail( muttFile != NULL );
-       fprintf( stream, "MUTT File:\n" );
-       fprintf( stream, "file spec: '%s'\n", muttFile->path );
-       fprintf( stream, "  ret val: %d\n",   muttFile->retVal );
-}
-
 /*
 * Open file for read.
 * return: TRUE if file opened successfully.
@@ -218,14 +196,6 @@ static void mutt_free_rec( Mutt_ParsedRec *rec ) {
        }
 }
 
-/*
- * Print data record.
- * Enter: rec    Data record.
- *        stream File.
- */void mutt_print_rec( Mutt_ParsedRec *rec, FILE *stream ) {
-       fprintf( stream, "\taddr: %s\tname: %s\n", rec->address, rec->name );
-}
-
 /*
 * Parse recipient list for each address.
 * Enter: rcpList   Recipients extracted from file.