2 * NyLPC_TcHttpd_Thread.h
\r
4 * Created on: 2013/02/07
\r
8 #ifndef NYLPC_TCHTTPDTHREAD_H_
\r
9 #define NYLPC_TCHTTPDTHREAD_H_
\r
10 #include "NyLPC_stdlib.h"
\r
11 #include "../NyLPC_cNetConfig.h"
\r
12 #include "NyLPC_cHttpdConnection.h"
\r
13 #ifndef DEFINE_NyLPC_TcHttpd_t
\r
14 typedef struct NyLPC_TcHttpd NyLPC_TcHttpd_t;
\r
15 #define DEFINE_NyLPC_TcHttpd_t
\r
18 /** Httpdセッションスレッドのスタックサイズ*/
\r
19 #define NyLPC_TcHttpdThread_SIZE_OF_THREAD_STACK 1024
\r
21 typedef struct NyLPC_TcHttpdThread NyLPC_TcHttpdThread_t;
\r
23 * このクラスは、httpdのワーカースレッドです。1セッションを担当します。
\r
25 struct NyLPC_TcHttpdThread
\r
27 NyLPC_TcThread_t _super;
\r
28 /** 関数アドレスを格納したポインタ*/
\r
29 NyLPC_TcHttpdConnection_t _connection;
\r
33 void NyLPC_cHttpdThread_initialize(NyLPC_TcHttpdThread_t* i_inst,NyLPC_TcHttpd_t* i_parent,NyLPC_TInt32 i_prio);
\r
34 void NyLPC_cHttpdThread_finalize(NyLPC_TcHttpdThread_t* i_inst);
\r
35 NyLPC_TBool NyLPC_cHttpdThread_start(NyLPC_TcHttpdThread_t* i_inst,NyLPC_TcTcpListener_t* i_listener);
\r
37 #endif /* NYLPC_TCHTTPDTHREAD_H_ */
\r