AP_GETENV

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!

AP_GETENV

Postby Otto » Sun Nov 15, 2020 8:04 am

Dear Antonio,
Where do I find AP_GETENV in source code.
In apache.prg I see: extern HB_VMPROCESSSYMBOLS, HB_VMEXECUTE, AP_GETENV, AP_BODY, HB_URLDECODE
Can you please explain to me what this means.
Thank you so much.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: AP_GETENV

Postby Antonio Linares » Mon Nov 16, 2020 7:39 am

Dear Otto,

https://github.com/FiveTechSoft/mod_harbour/blob/master/source/in.c

Code: Select all  Expand view  RUN
HB_FUNC( AP_GETENV )
{
   hb_retc( apr_table_get( GetRequestRec()->subprocess_env, hb_parc( 1 ) ) );
}  
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42100
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: AP_GETENV

Postby Antonio Linares » Mon Nov 16, 2020 7:40 am

Dear Otto,

> extern HB_VMPROCESSSYMBOLS, HB_VMEXECUTE, AP_GETENV, AP_BODY, HB_URLDECODE

To force the link of those symbols
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42100
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 6 guests