Next: Memory management, Up: Embedding API [Contents][Index]
The configure script used to build libserveez takes many options
(see Building and installing).
Some of these are encapsulated by svz_library_features
.
Return a list (length saved to count) of strings representing the features compiled into libserveez.
Here is a table describing the features in detail:
debug
Present when ‘--enable-debug’.
heap-counters
Present when ‘--enable-heap-count’.
interface-list
Present when ‘--enable-iflist’.
poll
Present when ‘--enable-poll’ and you have poll(2).
sendfile
Present when ‘--enable-sendfile’ and you have sendfile(2)
or some workalike (e.g., TransmitFile
).
log-mutex
Present when svz_log
uses a mutex around its internal stdio
operations, implying that you have some kind of thread capability
(perhaps in a separate library). If your system has
fwrite_unlocked
, the configure script assumes that fwrite
et al already operate in a locked fashion, and disables this.
flood-protection
Present when ‘--enable-flood’.
core
The networking core. This is always present.