Where are the brush declarations?

How do you specify what proprieties does a brush use/need, I’m trying do make blender register/find my brush.
Added do_test_brush in sculpt.c, added entry in do_brush_action switch, extended BrushSculptTool enum but now I’m stuck.