type _C_struct___res_state … func _C_res_ninit(state *_C_struct___res_state) error { … } func _C_res_nclose(state *_C_struct___res_state) { … } func _C_res_nsearch(state *_C_struct___res_state, dname *_C_char, class, typ int, ans *_C_uchar, anslen int) int { … }