lib/ffi-rxs/libxs.rb in ffi-rxs-1.1.0 vs lib/ffi-rxs/libxs.rb in ffi-rxs-1.2.0
- old
+ new
@@ -43,9 +43,11 @@
@blocking = true
attach_function :xs_init, [], :pointer
@blocking = true
attach_function :xs_setctxopt, [:pointer, :int, :pointer, :int], :int
@blocking = true
+ attach_function :xs_shutdown, [:pointer, :int], :int
+ @blocking = true
attach_function :xs_socket, [:pointer, :int], :pointer
@blocking = true
attach_function :xs_strerror, [:int], :pointer
@blocking = true
attach_function :xs_term, [:pointer], :int