add tzplatform_has_users_group() api 29/33429/2
authorCorentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Fri, 9 Jan 2015 11:12:40 +0000 (12:12 +0100)
committerCorentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Fri, 9 Jan 2015 15:17:41 +0000 (16:17 +0100)
commit7cc9610e72221a634efa565162370c60c828254b
treecbdd065d87994f3686dc5782bf370e15d05e5640
parentc4723c50caae087bb639603e1fe4df6bcf541c50
add tzplatform_has_users_group() api

This new api aims to know if a user is a regular one.
In other words, it allows to know if a user belongs to
the 'users' group.

Change-Id: I204e5e80fd9e6d6c2c2dad2402d9edbbefb9e594
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
src/Makefile.am
src/build.sh
src/groups.c [moved from src/isadmin.c with 69% similarity]
src/groups.h [moved from src/isadmin.h with 67% similarity]
src/static-api.c
src/tzplatform_config.h