httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: mod isapi
Date Tue, 15 Jul 2003 19:23:23 GMT
Eduardo,

  thank you for making my day yesterday with your post :-)  And your
great retort to Cliff ;->  I specifically redesigned isapi for exactly the
case you are describing.

  Yes, that's a problem, I'll commit a patch as soon as I am sure I'm
happy with the choice of return type, later this afternoon.

Bill



At 07:02 PM 7/14/2003, Eduardo Franco wrote:
>I think the better question would be: Since when I can't use mod_isapi under
>Linux?
>
>If I can compile it as a shared object... why not use it?!
>
>I perfect use case for this would be:
>
>I've a product for WIN + IIS it's a ISAPI extension/filter, now I've to
>por it to Linux + Apache... to don't split my product into two components...
>I decided to port the ISAPI extension/filter to linux and run it on mod_isapi
>+ mod_filter (module I'd created to emulate the ISAPI filter).
>
>Now it's just one Project for two plataforms... it's wonderful to manage!
>:)
>
>Ok! I'm a lunatic... but it save me a lot of time... But try it out with
>gcc + Windows... you'll see the same error. It's a problem o language standard
>not OS specific!
>
>And the signature of the function in mod_isapi.h is different from the ISAPI
>specification! Wich require a return type of int!
>
>Best,
>
>Eduardo Franco
>
>>On Mon, 14 Jul 2003, Eduardo Franco wrote:
>>
>>> When I was trying to compile an ISAPI extendion under linux (with gcc
>2.9.6
>>> and apache 2.4.43, using the mod_isapi) I got the following error message.
>>I
>>> was mixing C++ with C (using extern "C" directive).
>>>
>>> /usr/src/apache/httpd-2.0.39/modules/arch/win32/mod_isapi.h:77: ISO C++
>>> forbids declaration of
>>> `PFN_GETEXTENSIONVERSION' with no type
>>
>>Since when can you use mod_isapi on Linux?  It's in modules/arch/win32/
>>because it's only intended for use on Windows platforms.
>>
>>--Cliff
>>



Mime
View raw message