ecore_con: clean up, refactor and unpdate documentation.
authorSrivardhan Hebbar <sri.hebbar@samsung.com>
Mon, 23 Mar 2015 18:44:03 +0000 (19:44 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Mon, 23 Mar 2015 18:44:27 +0000 (19:44 +0100)
commit9c03e3e728f07c4aa9c401646cdbca3127342944
treebe13bc3be9b971821df2791c21ce5608da1acd30
parent1c3dbc3267caef2169dbf1e7c21dec288bf91c5c
ecore_con: clean up, refactor and unpdate documentation.

Summary:
1. Have refactored code in ecore_con_local.c
2. Changed env variable from "TMP" to "TMPDIR".
3. Added check for negetive port number when type is ECORE_CON_LOCAL_USER.
4. Added check to check TMPDIR before assuming /tmp as temp directory.
5. Updated documentation in Ecore_Con.h explaining about local socket and port number.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2194

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/ecore_con/Ecore_Con.h
src/lib/ecore_con/ecore_con_local.c