i half understand this code, just wondering if anybody could give me helpful tips/hints about understanding the difference between these two functions
extern status traverse( list L, status ( *p_func_f )() ){
if( empty_list ( L ) ) return ( OK ) ;
if( ( *p_func_f ) ( DATA( L ) ) == ERROR ) return ERROR ;
else
return( traverse( NEXT(L), p_func_f ) );
}
extern list list_iterator( list L, list lastreturn ) {
return ( lastreturn == NULL ) ? L : NEXT( lastreturn );
}