Call callback `cb' for each tag in the repository
Repository
Callback function
Pointer to callback data (optional)
0 on success or an error code