You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Alon Agmon <al...@agmon.co.il> on 2004/12/30 00:36:58 UTC

[users@httpd] loading a C library into a module with dlopen()/ap_os_dso_load()

hi all,

using:
Apache 1.3 on Linux red hat ES 3

i have a C module(DSO) with a handler
that need to call and use a (shared->.so)C library's method to decrypt  
a parameter from a request's header,
now what is the correct to call/load that object :

using C's - dlopen("whatever.so") ?
or Apache's - ap_os_dso_load("whatever.so") as if it was a module ?

and can it access system's env varibels?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org