Hi,

i'm currently working on adding xmlsec support to the domxml extension. The
main C api call of the xmlsec library is:

xmlSecEncCtxXmlEncrypt(encCtx, encDataNode, nodep);

Which takes a node pointer (nodep), encrypts it and puts the encrypted
result into another node pointer (encDataNode). In the PHP domxml extension these
node pointers are implemented via a resource (which itself is a property of
an object, but that doesn't matter here). While it's possible to retrieve the
pointer of a resource, I didn't find a way to modify it, which I'd need to do
after the xmlSecEncCtxXmlEncrypt() call. So is there actually a way to
modify a resource pointer after the resource has been created? Or should I use a
xmlNode ** as the pointer type for the resource here (which would probably
require a emalloc())?

Cheers, Jonny


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to