QuickIO  0.2
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
config.h
Go to the documentation of this file.
1 
12 #pragma once
13 #include "quickio.h"
14 
19 
23 guint64 cfg_bind_port;
24 
29 
34 
39 
45 
51 
56 
62 
68 
73 
78 
83 
92 
97 
102 
107 
112 
117 
121 gchar *cfg_user;
122 
126 void config_init();
gchar * cfg_ssl_key_path_1
The key that corresponds to certificate 1.
Definition: config.h:106
guint64 cfg_bind_port_ssl
The port to bind to for SSL connections.
Definition: config.h:33
guint64 cfg_bind_port
The port to bind to for plaintext connections.
Definition: config.h:23
gboolean cfg_run_app_tests
If the server should run app tests and exit.
Definition: config.h:82
gchar * cfg_user
The user the server should run as.
Definition: config.h:121
guint64 cfg_clients_subs_min
How many subscriptions each client is entitled to, even when under pressure.
Definition: config.h:67
gchar * cfg_public_address
The hostname of this server on the internet.
Definition: config.h:77
gchar * cfg_ssl_cert_path_1
Same thing as cfg_ssl_cert_path_0, but for an ECDSA key.
Definition: config.h:101
guint64 cfg_periodic_threads
Number of threads to use to run periodic tasks.
Definition: config.h:72
guint64 cfg_broadcast_threads
Number of threads used to pump out each broadcasted message.
Definition: config.h:44
void config_init()
Registers all configuration options with QEV.
guint64 cfg_clients_cb_max_age
How long a callback should be allowed to live on the server before being killed.
Definition: config.h:50
gchar * cfg_ssl_cert_path_0
The first certificate to use for the SSL connection.
Definition: config.h:91
gchar * cfg_ssl_key_path_0
The key that corresponds to certificate 0.
Definition: config.h:96
gchar * cfg_bind_address
Address to bind to for plaintext connections.
Definition: config.h:18
guint64 cfg_clients_subs_pressure
After what percent of cfg_clients_subs_total memory pressure should be applied.
Definition: config.h:61
Every header, definition, and whatnot QuickIO needs to run.
gchar * cfg_bind_path
The path to create a unix socket at for listening for connections locally.
Definition: config.h:38
gboolean cfg_support_flash
If the server should listen on port.
Definition: config.h:116
guint64 cfg_sub_min_size
The initial size for subscriptions.
Definition: config.h:111
gchar * cfg_bind_address_ssl
Address to bind to for SSL connections.
Definition: config.h:28
guint64 cfg_clients_subs_total
The total number of event subscriptions that may exist on a server.
Definition: config.h:55