[pacman-dev] alpm_option_set_logcb(), an example of usage

Imanol Celaya archye at pycut.com.ar
Wed Aug 13 05:17:26 EDT 2008

> 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

More information about the pacman-dev mailing list