expose backups information on package
use specific int types to avoid cgo errors when compiling on tip

Conflicts:
	callbacks.c
	callbacks.go