Sha256: d070c5d5348ab27e658317e9b4181575ea72741967560cdf8c4f7fafe1ce6c12

Contents?: true

Size: 588 Bytes

Versions: 4

Compression:

Stored size: 588 Bytes

Contents

module MTLibcouchbase::Ext
  # (Not documented)
  #
  # ## Fields:
  # :type ::
  #   (KVBUFTYPE) The type of key to provide. This can currently be LCB_KV_COPY (Default)
  #   to copy the key into the pipeline buffers, or LCB_KV_HEADER_AND_KEY
  #   to provide a buffer with the header storage and the key.
  #
  #   TODO:
  #   Currently only LCB_KV_COPY should be used. LCB_KV_HEADER_AND_KEY is used
  #   internally but may be exposed later on
  # :contig ::
  #   (CONTIGBUF)
  class KEYBUF < FFI::Struct
    layout :type, KVBUFTYPE,
           :contig, CONTIGBUF.by_value
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mt-libcouchbase-1.4.03 lib/mt-libcouchbase/ext/mt-libcouchbase/keybuf.rb
mt-libcouchbase-1.4.02 lib/mt-libcouchbase/ext/mt-libcouchbase/keybuf.rb
mt-libcouchbase-1.4.01 lib/mt-libcouchbase/ext/mt-libcouchbase/keybuf.rb
mt-libcouchbase-1.4.0 lib/mt-libcouchbase/ext/mt-libcouchbase/keybuf.rb