Changeset 349c167bbadcb290e400ca15bf6fd8f2c9c96773

Show
Ignore:
Timestamp:
07/04/08 22:41:07 (6 months ago)
Author:
Rémi Duraffort <ivoire@videolan.org>
git-committer:
Rémi Duraffort <ivoire@videolan.org> 1207600867 +0200
git-parent:

[ca2549646561205b9e3a08e890fdbf459507a365]

git-author:
Rémi Duraffort <ivoire@videolan.org> 1207599089 +0200
Message:

Remove playlist_NodeDump as nobody is using this debuging function.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • include/vlc_playlist.h

    r719f576 r349c167  
    381381 * Tree management 
    382382 ********************************************************/ 
    383 VLC_EXPORT(void, playlist_NodeDump, ( playlist_t *p_playlist, playlist_item_t *p_item, int i_level ) ); 
    384383VLC_EXPORT( int, playlist_NodeChildrenCount, (playlist_t *,playlist_item_t* ) ); 
    385384 
  • src/libvlc.sym

    rab121fd r349c167  
    242242playlist_NodeCreate 
    243243playlist_NodeDelete 
    244 playlist_NodeDump 
    245244playlist_NodeEmpty 
    246245playlist_NodeInsert 
  • src/playlist/tree.c

    r99fab90 r349c167  
    4949 * 
    5050 * \param p_playlist the playlist 
    51  * \paam psz_name the name of the node 
     51 * \param psz_name the name of the node 
    5252 * \param p_parent the parent node to attach to or NULL if no attach 
    5353 * \param p_flags miscellaneous flags 
     
    667667    return NULL; 
    668668} 
    669  
    670 /* Dump the contents of a node */ 
    671 void playlist_NodeDump( playlist_t *p_playlist, playlist_item_t *p_item, 
    672                         int i_level ) 
    673 { 
    674     char str[512]; 
    675     int i; 
    676  
    677     if( i_level == 1 ) 
    678     { 
    679         msg_Dbg( p_playlist, "%s (%i)", 
    680                         p_item->p_input->psz_name, p_item->i_children ); 
    681     } 
    682  
    683     if( p_item->i_children == -1 ) 
    684     { 
    685         return; 
    686     } 
    687  
    688     for( i = 0; i< p_item->i_children; i++ ) 
    689     { 
    690         memset( str, 32, 512 ); 
    691         sprintf( str + 2 * i_level , "%s (%i)", 
    692                                 p_item->pp_children[i]->p_input->psz_name, 
    693                                 p_item->pp_children[i]->i_children ); 
    694         msg_Dbg( p_playlist, "%s",str ); 
    695         if( p_item->pp_children[i]->i_children >= 0 ) 
    696         { 
    697             playlist_NodeDump( p_playlist, p_item->pp_children[i], 
    698                               i_level + 1 ); 
    699         } 
    700     } 
    701     return; 
    702 }