From e5de0d61491b83eb081e3ed1261d606595f90b22 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 17 May 2014 17:19:42 +0200 Subject: php-pecl-*: add Reflection file --- REFLECTION | 280 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 280 insertions(+) create mode 100644 REFLECTION (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..04616b6 --- /dev/null +++ b/REFLECTION @@ -0,0 +1,280 @@ +Extension [ extension #126 selinux version ] { + + - Functions { + Function [ function selinux_is_enabled ] { + + - Parameters [0] { + } + } + Function [ function selinux_mls_is_enabled ] { + + - Parameters [0] { + } + } + Function [ function selinux_getenforce ] { + + - Parameters [0] { + } + } + Function [ function selinux_setenforce ] { + + - Parameters [1] { + Parameter #0 [ $mode ] + } + } + Function [ function selinux_policyvers ] { + + - Parameters [0] { + } + } + Function [ function selinux_deny_unknown ] { + + - Parameters [0] { + } + } + Function [ function selinux_getcon ] { + + - Parameters [0] { + } + } + Function [ function selinux_setcon ] { + + - Parameters [1] { + Parameter #0 [ $context ] + } + } + Function [ function selinux_getpidcon ] { + + - Parameters [1] { + Parameter #0 [ $pid ] + } + } + Function [ function selinux_getprevcon ] { + + - Parameters [0] { + } + } + Function [ function selinux_getexeccon ] { + + - Parameters [0] { + } + } + Function [ function selinux_setexeccon ] { + + - Parameters [1] { + Parameter #0 [ $context ] + } + } + Function [ function selinux_getfscreatecon ] { + + - Parameters [0] { + } + } + Function [ function selinux_setfscreatecon ] { + + - Parameters [1] { + Parameter #0 [ $context ] + } + } + Function [ function selinux_getkeycreatecon ] { + + - Parameters [0] { + } + } + Function [ function selinux_setkeycreatecon ] { + + - Parameters [1] { + Parameter #0 [ $context ] + } + } + Function [ function selinux_getsockcreatecon ] { + + - Parameters [0] { + } + } + Function [ function selinux_setsockcreatecon ] { + + - Parameters [1] { + Parameter #0 [ $context ] + } + } + Function [ function selinux_getfilecon ] { + + - Parameters [1] { + Parameter #0 [ $filename ] + } + } + Function [ function selinux_lgetfilecon ] { + + - Parameters [1] { + Parameter #0 [ $filename ] + } + } + Function [ function selinux_fgetfilecon ] { + + - Parameters [1] { + Parameter #0 [ $stream ] + } + } + Function [ function selinux_setfilecon ] { + + - Parameters [2] { + Parameter #0 [ $filename ] + Parameter #1 [ $context ] + } + } + Function [ function selinux_lsetfilecon ] { + + - Parameters [2] { + Parameter #0 [ $filename ] + Parameter #1 [ $context ] + } + } + Function [ function selinux_fsetfilecon ] { + + - Parameters [2] { + Parameter #0 [ $stream ] + Parameter #1 [ $context ] + } + } + Function [ function selinux_getpeercon ] { + + - Parameters [1] { + Parameter #0 [ $stream ] + } + } + Function [ function selinux_compute_av ] { + + - Parameters [3] { + Parameter #0 [ $scontext ] + Parameter #1 [ $tcontext ] + Parameter #2 [ $tclass ] + } + } + Function [ function selinux_compute_create ] { + + - Parameters [3] { + Parameter #0 [ $scontext ] + Parameter #1 [ $tcontext ] + Parameter #2 [ $tclass ] + } + } + Function [ function selinux_compute_relabel ] { + + - Parameters [3] { + Parameter #0 [ $scontext ] + Parameter #1 [ $tcontext ] + Parameter #2 [ $tclass ] + } + } + Function [ function selinux_compute_member ] { + + - Parameters [3] { + Parameter #0 [ $scontext ] + Parameter #1 [ $tcontext ] + Parameter #2 [ $tclass ] + } + } + Function [ function selinux_compute_user ] { + + - Parameters [2] { + Parameter #0 [ $scontext ] + Parameter #1 [ $username ] + } + } + Function [ function selinux_get_initial_context ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + Function [ function selinux_check_context ] { + + - Parameters [1] { + Parameter #0 [ $context ] + } + } + Function [ function selinux_canonicalize_context ] { + + - Parameters [1] { + Parameter #0 [ $context ] + } + } + Function [ function selinux_get_boolean_names ] { + + - Parameters [0] { + } + } + Function [ function selinux_get_boolean_pending ] { + + - Parameters [1] { + Parameter #0 [ $bool_name ] + } + } + Function [ function selinux_get_boolean_active ] { + + - Parameters [1] { + Parameter #0 [ $bool_name ] + } + } + Function [ function selinux_set_boolean ] { + + - Parameters [2] { + Parameter #0 [ $bool_name ] + Parameter #1 [ $bool_value ] + } + } + Function [ function selinux_commit_booleans ] { + + - Parameters [0] { + } + } + Function [ function selinux_trans_to_raw_context ] { + + - Parameters [1] { + Parameter #0 [ $context ] + } + } + Function [ function selinux_raw_to_trans_context ] { + + - Parameters [1] { + Parameter #0 [ $context ] + } + } + Function [ function selinux_file_label_lookup ] { + + - Parameters [6] { + Parameter #0 [ $pathname ] + Parameter #1 [ $mode ] + Parameter #2 [ $validate ] + Parameter #3 [ $baseonly ] + Parameter #4 [ $subset ] + Parameter #5 [ $specfile ] + } + } + Function [ function selinux_media_label_lookup ] { + + - Parameters [3] { + Parameter #0 [ $device_name ] + Parameter #1 [ $validate ] + Parameter #2 [ $specfile ] + } + } + Function [ function selinux_getenforcemode ] { + + - Parameters [0] { + } + } + Function [ function selinux_getpolicytype ] { + + - Parameters [0] { + } + } + Function [ function selinux_policy_root ] { + + - Parameters [0] { + } + } + } +} + -- cgit