This file is indexed.

/usr/lib/ruby/vendor_ruby/ffi-rzmq-core/libzmq4.rb is in ruby-ffi-rzmq-core 1.0.4-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
# Wraps the new API methods available in ZeroMQ 4
#
module LibZMQ

  attach_function :zmq_ctx_term,     [:pointer], :void, :blocking => true
  attach_function :zmq_ctx_shutdown, [:pointer], :void, :blocking => true

  attach_function :zmq_send_const,   [:pointer, :pointer, :size_t], :int, :blocking => true

  attach_function :zmq_z85_encode,   [:pointer, :pointer, :size_t], :string, :blocking => true
  attach_function :zmq_z85_decode,   [:pointer, :string],           :pointer, :blocking => true

  # Requires ZMQ compiled with libsodium
  # Will return -1 with errno set to ENOSUP otherwise
  attach_function :zmq_curve_keypair, [:pointer, :pointer], :int, :blocking => true

end