mirror of
https://github.com/php/pecl-file_system-xattr.git
synced 2026-03-23 22:52:09 +01:00
58 lines
1.6 KiB
Plaintext
58 lines
1.6 KiB
Plaintext
Extension [ <persistent> extension #16 xattr version 1.3.0 ] {
|
|
|
|
- Constants [9] {
|
|
Constant [ integer XATTR_CREATE ] { 1 }
|
|
Constant [ integer XATTR_REPLACE ] { 2 }
|
|
Constant [ integer XATTR_DONTFOLLOW ] { 4 }
|
|
Constant [ integer XATTR_USER ] { 8 }
|
|
Constant [ integer XATTR_ROOT ] { 16 }
|
|
Constant [ integer XATTR_TRUSTED ] { 16 }
|
|
Constant [ integer XATTR_SYSTEM ] { 32 }
|
|
Constant [ integer XATTR_SECURITY ] { 64 }
|
|
Constant [ integer XATTR_ALL ] { 128 }
|
|
}
|
|
|
|
- Functions {
|
|
Function [ <internal:xattr> function xattr_set ] {
|
|
|
|
- Parameters [4] {
|
|
Parameter #0 [ <required> $path ]
|
|
Parameter #1 [ <required> $name ]
|
|
Parameter #2 [ <required> $value ]
|
|
Parameter #3 [ <optional> $flags ]
|
|
}
|
|
}
|
|
Function [ <internal:xattr> function xattr_get ] {
|
|
|
|
- Parameters [3] {
|
|
Parameter #0 [ <required> $path ]
|
|
Parameter #1 [ <required> $name ]
|
|
Parameter #2 [ <optional> $flags ]
|
|
}
|
|
}
|
|
Function [ <internal:xattr> function xattr_remove ] {
|
|
|
|
- Parameters [3] {
|
|
Parameter #0 [ <required> $path ]
|
|
Parameter #1 [ <required> $name ]
|
|
Parameter #2 [ <optional> $flags ]
|
|
}
|
|
}
|
|
Function [ <internal:xattr> function xattr_list ] {
|
|
|
|
- Parameters [2] {
|
|
Parameter #0 [ <required> $path ]
|
|
Parameter #1 [ <optional> $flags ]
|
|
}
|
|
}
|
|
Function [ <internal:xattr> function xattr_supported ] {
|
|
|
|
- Parameters [2] {
|
|
Parameter #0 [ <required> $path ]
|
|
Parameter #1 [ <optional> $flags ]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|