Add function npth_is_protected.
authorWerner Koch <wk@gnupg.org>
Tue, 16 May 2017 07:02:05 +0000 (09:02 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 16 May 2017 07:02:05 +0000 (09:02 +0200)
commit8a675d6b1dd19018f2579f8c8ce6a58bc5a20a4e
tree2a7ae96707593ec4043371c4c334dd72c29d91af
parent217bc1c6aabaaebbbb461e2435c2b8f539b271ad
Add function npth_is_protected.

* src/npth.c (got_sceptre): New.
(enter_npth, leave_npth): Set.
(npth_is_protected): New.
* w32/npth.c: (got_sceptre): New.
(enter_npth, leave_npth): Set.
(npth_is_protected): New.
* w32/npth.def, src/libnpth.vers: Add new function.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/libnpth.vers
src/npth.c
src/npth.h.in
w32/npth.c
w32/npth.def
w32/npth.h