SNMP set info

Is there an simple way to tell what the OID is that’s being accessed when an SNMP SET is made externally?

I want to have a single callback function that gets executed by several (8) different OIDs.

…eight different identical functions seems silly.

Current work-around is eight different “wrappers” calling a single function.