QuickIO  0.2
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions | Variables
config.h File Reference

Every configuration option that QIO has. More...

#include "quickio.h"

Go to the source code of this file.

Functions

void config_init ()
 Registers all configuration options with QEV.
 

Variables

gchar * cfg_bind_address
 Address to bind to for plaintext connections.
 
guint64 cfg_bind_port
 The port to bind to for plaintext connections.
 
gchar * cfg_bind_address_ssl
 Address to bind to for SSL connections.
 
guint64 cfg_bind_port_ssl
 The port to bind to for SSL connections.
 
gchar * cfg_bind_path
 The path to create a unix socket at for listening for connections locally.
 
guint64 cfg_broadcast_threads
 Number of threads used to pump out each broadcasted message. More...
 
guint64 cfg_clients_cb_max_age
 How long a callback should be allowed to live on the server before being killed.
 
guint64 cfg_clients_subs_total
 The total number of event subscriptions that may exist on a server.
 
guint64 cfg_clients_subs_pressure
 After what percent of cfg_clients_subs_total memory pressure should be applied.
 
guint64 cfg_clients_subs_min
 How many subscriptions each client is entitled to, even when under pressure.
 
guint64 cfg_periodic_threads
 Number of threads to use to run periodic tasks.
 
gchar * cfg_public_address
 The hostname of this server on the internet.
 
gboolean cfg_run_app_tests
 If the server should run app tests and exit.
 
gchar * cfg_ssl_cert_path_0
 The first certificate to use for the SSL connection. More...
 
gchar * cfg_ssl_key_path_0
 The key that corresponds to certificate 0.
 
gchar * cfg_ssl_cert_path_1
 Same thing as cfg_ssl_cert_path_0, but for an ECDSA key.
 
gchar * cfg_ssl_key_path_1
 The key that corresponds to certificate 1.
 
guint64 cfg_sub_min_size
 The initial size for subscriptions.
 
gboolean cfg_support_flash
 If the server should listen on port.
 
gchar * cfg_user
 The user the server should run as.
 

Detailed Description

Every configuration option that QIO has.

Author
Andrew Stone andre.nosp@m.w@cl.nosp@m.ovar..nosp@m.com

Variable Documentation

guint64 cfg_broadcast_threads

Number of threads used to pump out each broadcasted message.

These threads come from the qev_pool of threads.

gchar* cfg_ssl_cert_path_0

The first certificate to use for the SSL connection.

This MUST be a full certificate chain in PEM format, starting from your certificate on top, all intermediaries, then the root CA.

Note
Typically RSA.