--On Thursday, December 11, 2008 02:56:09 AM +0100 Alberto Mancini
<[EMAIL PROTECTED]> wrote:
Hi,
I wrote, mostly to understand the difficulties, a tiny php extension
wrapping a couple of pioctl calls.
Actually WHEREIS,GETACL,GETVOLSTAT are in the code and I think that
writing the extension is less problematic than processing 'fs'
output.
The code (that is really a quick-and-dirty test) can be downloaded
at the URL:
http://ununtrio.math.unifi.it/PHP/
where a working test (test.php) is available.
Most of the code is from fs.c.
Any criticism will be apreciated.
I'd like to ear ideas on the general layout of the extension (OO ?) and
on the "operations" that may be useful to implement.
I wonder if you wouldn't be better off implementing only a thin wrapper
around pioctl() in C, and doing the operation-specific parts entirely in
PHP.
_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel