Next: Memory management, Up: Embedding API [Contents][Index]
The configure script used to build libserveez takes many options
(see Build and install).
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:
debugPresent when ‘--enable-debug’.
heap-countersPresent when ‘--enable-heap-count’.
interface-listPresent when ‘--enable-iflist’.
pollPresent when ‘--enable-poll’ and you have poll(2).
sendfilePresent when ‘--enable-sendfile’ and you have sendfile(2)
or some workalike (e.g., TransmitFile).
log-mutexPresent 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-protectionPresent when ‘--enable-flood’.
coreThe networking core. This is always present.