defs to internal.h

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>