| 300 | } |
| 301 | |
| 302 | int list_is_sublist( LIST * sub, LIST * l ) |
| 303 | { |
| 304 | LISTITER iter = list_begin( sub ); |
| 305 | LISTITER const end = list_end( sub ); |
| 306 | for ( ; iter != end; iter = list_next( iter ) ) |
| 307 | if ( !list_in( l, list_item( iter ) ) ) |
| 308 | return 0; |
| 309 | return 1; |
| 310 | } |
| 311 | |
| 312 | /* |
| 313 | * list_print() - print a list of strings to stdout |
no test coverage detected