football
socket abstraction layer
|
Service options are passed to a new service, defining its behavior. More...
#include <fb_public.h>
Data Fields | |
int | line_port |
Line-oriented port, or 0 to disable. | |
int | http_port |
HTTP (or combo depending on service mode) port, or 0 to disable. | |
int | https_port |
HTTP Secure port, or combo, or 0 to disable. | |
int | queue_size |
Listen queue size before connections are rejected. | |
size_t | context_size |
Size of user context allocated for new connections. | |
char * | greeting |
Default HELO. | |
int | greeting_timeout |
Limit greeting and/or TLS negotiation, 0 to disable. | |
char * | name |
Name of service, for URL processing and hosts_access lookups. | |
char * | serve_directory |
Location of files to be served by HTTP. | |
char * | locale_directory |
Subdirectory with internationalization files for HTTP. | |
time_t | websocket_ping_interval |
FB_I18N_MODE | internationalization |
How often to send a ping on websocket; 0 = never. More... | |
FB_GREETING_MODE | greeting_mode |
Whether to accept/require greeting. More... | |
bool | transfer_only |
struct fb_service_t * | parent |
Service will accept transfers; no ports required. | |
Service options are passed to a new service, defining its behavior.
FB_GREETING_MODE fb_service_options_t::greeting_mode |
Whether to accept/require greeting.
See FB_GREETING_MODE
FB_I18N_MODE fb_service_options_t::internationalization |
How often to send a ping on websocket; 0 = never.
Mode for locating localized files for HTTP