Module: Cups::Http

Extended by:
FFI::Library
Defined in:
lib/ffi-cups/ffi/http.rb

Instance Method Summary collapse

Instance Method Details

#httpAddrGetList(string, int, string) ⇒ Pointer

Get a list of addresses for a hostname.



25
# File 'lib/ffi-cups/ffi/http.rb', line 25

attach_function 'httpAddrGetList', [:string, :int, :string], :pointer, blocking: true

#httpClose(pointer) ⇒ Object



17
# File 'lib/ffi-cups/ffi/http.rb', line 17

attach_function 'httpClose', [ :pointer ], :void, blocking: true

#httpConnect2(string, int, pointer, int, int, int, int, pointer) ⇒ Pointer

Connect to a HTTP server.



38
# File 'lib/ffi-cups/ffi/http.rb', line 38

attach_function 'httpConnect2', [:string, :int, :pointer, :int, :int, :int, :int, :pointer], :pointer, blocking: true

#httpConnectEncrypt(string, int, int) ⇒ Pointer

Deprecated.

Please use httpConnect2 instead



13
# File 'lib/ffi-cups/ffi/http.rb', line 13

attach_function 'httpConnectEncrypt', [ :string, :int, :int], :pointer, blocking: true