netutils/websocket: separate state
authorbossjisu <jisuu.kim@samsung.com>
Thu, 6 Jul 2017 09:21:39 +0000 (02:21 -0700)
committerEunBong Song <eunb.song@samsung.com>
Wed, 30 Aug 2017 04:15:44 +0000 (21:15 -0700)
commit2ec32b66374469b77f1ad601913d411ff7385a7b
treecacb0379cf80edec7e53a7b9e1853822bad3039c
parentd32bd8584ab8c0a4df098145188b9f18cab2e2a2
netutils/websocket: separate state

running state is splitted to run_client state and run_server state.
it's because mbed_tls function varies between client and server.
TLS code will be separated with websocket code in next update.

Change-Id: I0a7c2cff335a6b92e18cb0d1b52c1f28d4811f16
Signed-off-by: bossjisu <jisuu.kim@samsung.com>
apps/examples/websocket/websocket_main.c
apps/include/netutils/websocket.h
apps/netutils/websocket/websocket.c