PK_ERROR_code_t PK_ENTITY_ask_attribs ( --- received arguments --- PK_ENTITY_t entity, --- entity PK_ATTDEF_t attdef, --- attribute definition --- returned arguments --- int *const n_attribs, --- number of attributes (>=0) PK_ATTRIB_t **const attribs --- array of attributes (optional) ) This function returns all the attributes with the given attribute definition directly attached to the given entity. If the attribute definition is PK_ENTITY_null, then all attributes of any type are returned. The output array attribs is optional. If it is set to NULL, the function will only return the number of such attributes attached to the entity.