/*********************************************************************************
 * PROJECT: MiMic
 * --------------------------------------------------------------------------------
 *
 * This file is part of MiMic
 * Copyright (C)2011 Ryo Iizuka
 *
 * MiMic is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published
 * by　the Free Software Foundation, either version 3 of the　License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * For further information please contact.
 *	http://nyatla.jp/
 *	<airmail(at)ebony.plala.or.jp> or <nyatla(at)nyatla.jp>
 *
 *********************************************************************************/
#ifndef NYLPC_CTCPLISTENER_PROTECTED_H_
#define NYLPC_CTCPLISTENER_PROTECTED_H_
#include "NyLPC_cTcpListener.h"
#include "NyLPC_cUipService_protected.h"
/*protected*/

/**********************************************************************
 * ステータス値の定義
 **********************************************************************/

/**アイドル状態*/
#define NyLPC_TcTcpListener_STATUS_NULL     0x00
/**アイドル状態*/
#define NyLPC_TcTcpListener_STATUS_IDLE     0x01
/**uipコアタスクに対して、バインド機会を求めている.*/
#define NyLPC_TcTcpListener_STATUS_REQ_BIND 0x02




NyLPC_TcTcpSocket_t* NyLPC_cTcpListener_makeSynRcvdSocket(NyLPC_TcTcpListener_t* i_inst,const NyLPC_TcIPv4Config_t* i_config,const NyLPC_TcIPv4Payload_t* i_payload);



#endif /* NYLPC_CTCPLISTENER_PROTECTED_H_ */
