> Why not just using grep or whatever : > $ grep -r cb_log src/pacman/*.c > src/pacman/callback.c:void cb_log(pmloglevel_t level, char *fmt, va_list args) > src/pacman/pacman.c: alpm_option_set_logcb(cb_log); > > All callbacks (cb) are defined in that callback.c file. thanks, I didn't know about grep -r