Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of libMiMic by
core/net/httpd/NyLPC_cHttpdThread.h
- Committer:
- nyatla
- Date:
- 2013-03-27
- Revision:
- 2:b96c1e90d120
- Child:
- 12:efe841863fc8
File content as of revision 2:b96c1e90d120:
/* * NyLPC_TcHttpd_Thread.h * * Created on: 2013/02/07 * Author: nyatla */ #ifndef NYLPC_TCHTTPDTHREAD_H_ #define NYLPC_TCHTTPDTHREAD_H_ #include "NyLPC_stdlib.h" #include "../NyLPC_cNetConfig.h" #include "NyLPC_cHttpdConnection.h" #ifndef DEFINE_NyLPC_TcHttpd_t typedef struct NyLPC_TcHttpd NyLPC_TcHttpd_t; #define DEFINE_NyLPC_TcHttpd_t #endif /** Httpdセッションスレッドのスタックサイズ*/ #define NyLPC_TcHttpdThread_SIZE_OF_THREAD_STACK 1024 typedef struct NyLPC_TcHttpdThread NyLPC_TcHttpdThread_t; /** * このクラスは、httpdのワーカースレッドです。1セッションを担当します。 */ struct NyLPC_TcHttpdThread { NyLPC_TcThread_t _super; /** 関数アドレスを格納したポインタ*/ NyLPC_TcHttpdConnection_t _connection; }; void NyLPC_cHttpdThread_initialize(NyLPC_TcHttpdThread_t* i_inst,NyLPC_TcHttpd_t* i_parent,NyLPC_TInt32 i_prio); void NyLPC_cHttpdThread_finalize(NyLPC_TcHttpdThread_t* i_inst); NyLPC_TBool NyLPC_cHttpdThread_start(NyLPC_TcHttpdThread_t* i_inst,NyLPC_TcTcpListener_t* i_listener); #endif /* NYLPC_TCHTTPDTHREAD_H_ */