New binding Help

Hello i want to add a new binding but i am a little confused because is struct.
I want to add the following from AP_Notify.h → struct notify_flags_and_values_type
For example i want to read from a script if there is a failsafe_gcs.
Can anyone help me or can i read a documentation somewhere?
Thank’s for your time.