Skip to content

Instantly share code, notes, and snippets.

@fasterthanlime
Last active August 29, 2015 14:17
Show Gist options
  • Save fasterthanlime/6ec836e7748446d32fcc to your computer and use it in GitHub Desktop.
Save fasterthanlime/6ec836e7748446d32fcc to your computer and use it in GitHub Desktop.
MHDFlag: enum from Int {
noFlag: extern(MHD_NO_FLAG)
debug: extern(MHD_USE_DEBUG)
ssl: extern(MHD_USE_SSL)
threadPerConnection: extern(MHD_USE_THREAD_PER_CONNECTION)
selectInternally: extern(MHD_USE_SELECT_INTERNALLY)
ipv6: extern(MHD_USE_IPv6)
pedantic: extern(MHD_USE_PEDANTIC_CHECKS)
poll: extern(MHD_USE_POLL)
pollInternally: extern(MHD_USE_POLL_INTERNALLY)
suppressDateNoClock: extern(MHD_SUPPRESS_DATE_NO_CLOCK)
noListenSocket: extern(MHD_USE_NO_LISTEN_SOCKET)
epoll: extern(MHD_USE_EPOLL_LINUX_ONLY)
epollInternally: extern(MHD_USE_EPOLL_INTERNALLY_LINUX_ONLY)
pipeForShutdown: extern(MHD_USE_PIPE_FOR_SHUTDOWN)
dualStack: extern(MHD_USE_DUAL_STACK)
epollTurbo: extern(MHD_USE_EPOLL_TURBO)
suspendResume: extern(MHD_USE_SUSPEND_RESUME)
tcpFastOpen: extern(MHD_USE_TCP_FASTOPEN)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment