// SetGssapiPrincipal sets the gssapi_principal option for the socket func (s *Sock) SetGssapiPrincipal(val string) { C.zsock_set_gssapi_principal(unsafe.Pointer(s.zsockT), C.CString(val)) }
// SetGssapiPrincipal sets the gssapi_principal option for the socket func (s *Sock) SetGssapiPrincipal(val string) { cVal := C.CString(val) defer C.free(unsafe.Pointer(cVal)) C.zsock_set_gssapi_principal(unsafe.Pointer(s.zsockT), cVal) }