So I don’t forget, cck::content.module
/**
* Return a list of all fields.
*
* @param $field_name
* If set, return information on just this field.
* @param $content_type_name
* If set, return information of the field within the context of this content
* type.
*/
function content_fields($field_name = NULL, $content_type_name [...]