|
pianod2
multisource multiuser scriptable networked music player
|
Service options are passed to a new service, defining its behavior. More...
#include <fb_public.h>

Public Attributes | |
| int | line_port |
| Line-oriented port, or 0 to disable. More... | |
| int | http_port |
| HTTP (or combo depending on service mode) port, or 0 to disable. More... | |
| int | https_port |
| HTTP Secure port, or combo, or 0 to disable. More... | |
| int | queue_size |
| Listen queue size before connections are rejected. More... | |
| size_t | context_size |
| Size of user context allocated for new connections. More... | |
| char * | greeting |
| Default HELO. More... | |
| char * | name |
| Name of service, for URL processing and hosts_access lookups. More... | |
| char * | serve_directory |
| Location of files to be served by HTTP. More... | |
| char * | locale_directory |
| Subdirectory with internationalization files for HTTP. More... | |
| 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. More... | |
Service options are passed to a new service, defining its behavior.
| size_t fb_service_options_t::context_size |
Size of user context allocated for new connections.
| char* fb_service_options_t::greeting |
Default HELO.
| FB_GREETING_MODE fb_service_options_t::greeting_mode |
Whether to accept/require greeting.
See FB_GREETING_MODE
| int fb_service_options_t::http_port |
HTTP (or combo depending on service mode) port, or 0 to disable.
| int fb_service_options_t::https_port |
HTTP Secure port, or combo, or 0 to disable.
| 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
| int fb_service_options_t::line_port |
Line-oriented port, or 0 to disable.
| char* fb_service_options_t::locale_directory |
Subdirectory with internationalization files for HTTP.
| char* fb_service_options_t::name |
Name of service, for URL processing and hosts_access lookups.
| struct fb_service_t* fb_service_options_t::parent |
Service will accept transfers; no ports required.
| int fb_service_options_t::queue_size |
Listen queue size before connections are rejected.
| char* fb_service_options_t::serve_directory |
Location of files to be served by HTTP.
| bool fb_service_options_t::transfer_only |
| time_t fb_service_options_t::websocket_ping_interval |