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