AP_GETENV

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!
Post Reply
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

AP_GETENV

Post by Otto »

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

********************************************************************
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: AP_GETENV

Post by Antonio Linares »

Dear Otto,

https://github.com/FiveTechSoft/mod_har ... ource/in.c

Code: Select all

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: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: AP_GETENV

Post by Antonio Linares »

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
Post Reply