Get the names of the attributes this slot has.
a Slot.
location to write number of attributes or null if not required.
a string array of attribute names. Free with strfreev.