Add generic structure to be passed among callbacks

Change-Id: I2cb35ae6f2dd52127bda2e3b330b55fe5742118d