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
NyLPC_cHttpdThread.h
00001 /* 00002 * NyLPC_TcHttpd_Thread.h 00003 * 00004 * Created on: 2013/02/07 00005 * Author: nyatla 00006 */ 00007 00008 #ifndef NYLPC_TCHTTPDTHREAD_H_ 00009 #define NYLPC_TCHTTPDTHREAD_H_ 00010 #include "NyLPC_stdlib.h" 00011 #include "../NyLPC_cNetConfig.h" 00012 #include "NyLPC_cHttpdConnection.h" 00013 00014 #ifdef __cplusplus 00015 extern "C" { 00016 #endif /* __cplusplus */ 00017 00018 #ifndef DEFINE_NyLPC_TcHttpd_t 00019 typedef struct NyLPC_TcHttpd NyLPC_TcHttpd_t; 00020 #define DEFINE_NyLPC_TcHttpd_t 00021 #endif 00022 00023 /** Httpdセッションスレッドのスタックサイズ*/ 00024 #ifndef NyLPC_cHttpdThread_SIZE_OF_THREAD_STACK 00025 # define NyLPC_cHttpdThread_SIZE_OF_THREAD_STACK 1024 00026 #endif 00027 00028 typedef struct NyLPC_TcHttpdThread NyLPC_TcHttpdThread_t; 00029 /** 00030 * このクラスは、httpdのワーカースレッドです。1セッションを担当します。 00031 */ 00032 struct NyLPC_TcHttpdThread 00033 { 00034 NyLPC_TcThread_t _super; 00035 /** 関数アドレスを格納したポインタ*/ 00036 NyLPC_TcHttpdConnection_t _connection; 00037 }; 00038 00039 00040 NyLPC_TBool NyLPC_cHttpdThread_initialize(NyLPC_TcHttpdThread_t* i_inst,NyLPC_TcHttpd_t* i_parent,NyLPC_TInt32 i_prio); 00041 void NyLPC_cHttpdThread_finalize(NyLPC_TcHttpdThread_t* i_inst); 00042 NyLPC_TBool NyLPC_cHttpdThread_start(NyLPC_TcHttpdThread_t* i_inst,NyLPC_TiTcpListener_t* i_listener); 00043 00044 #ifdef __cplusplus 00045 } 00046 #endif /* __cplusplus */ 00047 #endif /* NYLPC_TCHTTPDTHREAD_H_ */
Generated on Tue Jul 12 2022 16:22:57 by
