Skip to content
Andrew Lambert edited this page Dec 24, 2022 · 4 revisions

libcURL.OptionType

Enumeration

Protected Enum OptionType
  Number
  Bitmask
  LargeNumber
  Ptr
  String
  List
  Opaque
  Blob
  Subroutine
  Unknown
  Boolean

Remarks

Used in the OptionInfo class to indicate the datatype of the option's value.

OptionType Comment
Number A signed integer. Either 32 bits or 64 bits depending on the system word size. Equivalent to a Xojo Integer.
Bitmask A Number being used as a bitmask.
LargeNumber A signed 64-bit integer.
Ptr A pointer to a memory buffer. The data being pointed to typically is not copied by libcurl and must remain valid for the duration of all associated transfers.
String Like Ptr, except the data is copied by libcurl and can be discarded by your app.
List A ListPtr representing a list of string values.
Opaque A magic cookie that libcurl will pass to callback functions.
Subroutine A callback function.
Blob Like Ptr, but internally has extra bounds checking.
Boolean True or False.
Unknown The option is either invalid, too old, or too new.
Clone this wiki locally