change value type to struct
add get_degree function
Merge pull request #1 from zhibo/next

add get extended attribute function