/* ** playlist_dispatch.h */ typedef struct { int each_counter; /* Counter used for each */ const char *playlist; /* Playlist we will open with the connection */ DB *dbh; /* Open database */ DBC *cursor; /* cursor for each seperators */ int total; /* Current number of songs in the playlist */ int *seen; /* Current number of songs in the playlist */ } playlist_context;