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

Every header, definition, and whatnot QuickIO needs to run. More...

#include "quick-event/qev.h"
#include <gmodule.h>
#include "compat.h"
#include "atomic.h"
#include "evs.h"
#include "apps.h"
#include "client.h"
#include "config.h"
#include "evs_qio.h"
#include "evs_query.h"
#include "periodic.h"
#include "sub.h"
#include "protocols.h"
#include "protocols_flash.h"
#include "protocols_http.h"
#include "protocols_raw.h"
#include "protocols_rfc6455.h"
#include "protocols_util.h"

Go to the source code of this file.

Macros

#define G_LOG_DOMAIN   "quickio"
 We log to quickio. More...
 
#define QEV_CLIENT   client
 Our client is of type struct client
 

Enumerations

enum  quickio_close_reasons {
  QIO_CLOSE_NOT_SUPPORTED = QEV_CLOSE_LEN + 1, QIO_CLOSE_UNKNOWN_ERROR, QIO_CLOSE_INVALID_HANDSHAKE, QIO_CLOSE_MOVED,
  QIO_CLOSE_DONE
}
 Extends the reasons for closing a client. More...
 

Functions

void qio_main (int argc, char **argv)
 Run the server from anywhere.
 

Detailed Description

Every header, definition, and whatnot QuickIO needs to run.

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

Macro Definition Documentation

#define G_LOG_DOMAIN   "quickio"

We log to quickio.

Apps should override to log to their own names.

Enumeration Type Documentation

Extends the reasons for closing a client.

Enumerator
QIO_CLOSE_NOT_SUPPORTED 

This client doesn't speak any language we know.

QIO_CLOSE_UNKNOWN_ERROR 

The error that happens when a protocol returns FATAL on a client and didn't close the client before returning.

QIO_CLOSE_INVALID_HANDSHAKE 

This client didn't finish his handshake properly.

QIO_CLOSE_MOVED 

The client was moved to another server.

QIO_CLOSE_DONE 

Our interactions with this client are complete.

Nothing remains to be said