[PHP-DEV] Writing extension: aditional library

2008-06-11 Thread Adam Klobukowski
simple library in /lib (/lib/libsomething.a). It does not have fancy autotools macros and stuff. Plese, help me with including it. Adam Klobukowski -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Global structures in extension

2008-06-03 Thread Adam Klobukowski
Antony Dovgal pisze: On 02.06.2008 20:49, Adam Klobukowski wrote: HYAMIAGENT agent; PHP_MINIT_FUNCTION(gra) { yamiNetInitialize(); yamiCreateAgent(&agent, 0, NULL); yamiAgentDomainRegister(agent, SERVER_NAME, SERVER_ADDRES, SERVER_PORT, 2); return SUC

Re: [PHP-DEV] Global structures in extension

2008-06-02 Thread Adam Klobukowski
Antony Dovgal pisze: On 02.06.2008 13:35, Adam Klobukowski wrote: Hello I'm writing a PHP extension where I'm using a custom library. This library uses a structure that needs to be initialized once per server instance. First I initialized it in each of my functions and deinitial

[PHP-DEV] Global structures in extension

2008-06-02 Thread Adam Klobukowski
al PHP APIs. I found excelent Sara's Golemon articles, but thats all, is there anything better? -- Semper Fidelis Adam Klobukowski [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php