FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index mod_harbour AP_GETENV
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
AP_GETENV
Posted: Sun Nov 15, 2020 08: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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: AP_GETENV
Posted: Mon Nov 16, 2020 07:39 AM
Dear Otto,

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

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

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: AP_GETENV
Posted: Mon Nov 16, 2020 07: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

Continue the discussion