/* vim: ts=4 sw=4 sts=4 ff=unix fenc=utf-8 :
* =====================================================================
* sc_stream_socket.h
* Copyright (c) 2003 - 2011 sys0tem
* LICENSE :
* LGPL (GNU Lesser General Public License - Version 3,29 June 2007)
* http://www.gnu.org/copyleft/lesser.html
* or
* EPL (Eclipse Public License - v1.0)
* http://www.eclipse.org/legal/epl-v10.html
* =====================================================================
*/
#ifndef __SC_STREAM_SOCKET_H__
#define __SC_STREAM_SOCKET_H__
#include <sc_socket.h>
#include <sc_stream.h>
#ifdef __cplusplus
extern "C" {
#endif
/* ストリーム生成 */
SC_Stream* SC_Stream_newSocketStream(socket_t sockfd, size_t buffSize);
#ifdef __cplusplus
}
#endif
#endif /* __SC_STREAM_SOCKET_H__ */