|
Qore Programming Language
0.8.3
|
00001 /* -*- mode: c++; indent-tabs-mode: nil -*- */ 00002 /* 00003 QoreSocket.h 00004 00005 Qore Programming Language 00006 00007 Copyright 2003 - 2011 David Nichols 00008 00009 This library is free software; you can redistribute it and/or 00010 modify it under the terms of the GNU Lesser General Public 00011 License as published by the Free Software Foundation; either 00012 version 2.1 of the License, or (at your option) any later version. 00013 00014 This library is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 Lesser General Public License for more details. 00018 00019 You should have received a copy of the GNU Lesser General Public 00020 License along with this library; if not, write to the Free Software 00021 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00022 */ 00023 00024 #ifndef _QORE_QOREEVENTS_H 00025 00026 #define _QORE_QOREEVENTS_H 00027 00029 #define QORE_SOURCE_SOCKET 1 00030 00031 #define QORE_SOURCE_HTTPCLIENT 2 00032 00033 #define QORE_SOURCE_FTPCLIENT 3 00034 00035 #define QORE_SOURCE_FILE 4 00036 00038 #define QORE_EVENT_PACKET_READ 1 00039 00040 #define QORE_EVENT_PACKET_SENT 2 00041 00042 #define QORE_EVENT_HTTP_CONTENT_LENGTH 3 00043 00044 #define QORE_EVENT_HTTP_CHUNKED_START 4 00045 00046 #define QORE_EVENT_HTTP_CHUNKED_END 5 00047 00048 #define QORE_EVENT_HTTP_REDIRECT 6 00049 00050 #define QORE_EVENT_CHANNEL_CLOSED 7 00051 00052 #define QORE_EVENT_DELETED 8 00053 00054 #define QORE_EVENT_FTP_SEND_MESSAGE 9 00055 00056 #define QORE_EVENT_FTP_MESSAGE_RECEIVED 10 00057 00058 #define QORE_EVENT_HOSTNAME_LOOKUP 11 00059 00060 #define QORE_EVENT_HOSTNAME_RESOLVED 12 00061 00062 #define QORE_EVENT_HTTP_SEND_MESSAGE 13 00063 00064 #define QORE_EVENT_HTTP_MESSAGE_RECEIVED 14 00065 00066 #define QORE_EVENT_HTTP_FOOTERS_RECEIVED 15 00067 00068 #define QORE_EVENT_HTTP_CHUNKED_DATA_RECEIVED 16 00069 00070 #define QORE_EVENT_HTTP_CHUNK_SIZE 17 00071 00072 #define QORE_EVENT_CONNECTING 18 00073 00074 #define QORE_EVENT_CONNECTED 19 00075 00076 #define QORE_EVENT_START_SSL 20 00077 00078 #define QORE_EVENT_SSL_ESTABLISHED 21 00079 00080 #define QORE_EVENT_OPEN_FILE 22 00081 00082 #define QORE_EVENT_FILE_OPENED 23 00083 00084 #define QORE_EVENT_DATA_READ 24 00085 00086 #define QORE_EVENT_DATA_WRITTEN 25 00087 00088 #endif