API: use gpiod_ctxless_ as prefix for the high-level API
authorBartosz Golaszewski <bartekgola@gmail.com>
Wed, 24 Jan 2018 11:36:14 +0000 (12:36 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Fri, 26 Jan 2018 09:36:04 +0000 (10:36 +0100)
commit7bddc61ae570c04a1e7b6da2a83d9ff8934d53ef
treea3750491b8c51d8b550921e6c11a9b880b41800e
parent633946842011a9e7c7a89809c59cdb981e04ecb2
API: use gpiod_ctxless_ as prefix for the high-level API

As suggested by Linus Walleij: the word 'simple' is generally
subjective and the high-level routines provided by libgpiod are not
necessarily simple, but rather contextless, as they don't require any
resource managemend. Use 'gpiod_ctxless_' as prefix for all high-level
symbols.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
13 files changed:
include/gpiod.h
src/lib/Makefile.am
src/lib/ctxless.c [new file with mode: 0644]
src/lib/simple.c [deleted file]
src/tools/gpiofind.c
src/tools/gpioget.c
src/tools/gpiomon.c
src/tools/gpioset.c
tests/Makefile.am
tests/tests-ctxless.c [new file with mode: 0644]
tests/tests-gpioget.c
tests/tests-gpioset.c
tests/tests-simple-api.c [deleted file]