Update of /cvsroot/mod-c/mod_c/src
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv23452/src
Modified Files:
lib_cache.h mod_c.c
Added Files:
ChangeLog
Log Message:
- added changelog files.
--- NEW FILE: ChangeLog ---
2006-08-23 Matej Urbas <mat...@gm...>
* ChangeLog: Added ChangeLog.
Index: mod_c.c
===================================================================
RCS file: /cvsroot/mod-c/mod_c/src/mod_c.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** mod_c.c 22 Aug 2006 22:26:45 -0000 1.16
--- mod_c.c 23 Aug 2006 10:43:38 -0000 1.17
***************
*** 51,54 ****
--- 51,55 ----
if ( r->handler && strncmp( r->handler, ehtml_handler, sizeof( ehtml_handler ) ) == 0 )
{
+ ap_log_error( __FILE__, __LINE__, LOG_ERR, 0, r->server, "The file to open: '%s'", r->filename );
mod_c_config * config = ( mod_c_config * ) ap_get_module_config( r->server->module_config, &c_module );
mod_c_dir_config* dir_config = (mod_c_dir_config*) ap_get_module_config( r->per_dir_config, &c_module );
Index: lib_cache.h
===================================================================
RCS file: /cvsroot/mod-c/mod_c/src/lib_cache.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** lib_cache.h 22 Jan 2006 12:01:18 -0000 1.2
--- lib_cache.h 23 Aug 2006 10:43:38 -0000 1.3
***************
*** 27,37 ****
#endif
void* CreateEHTMLCache();
! int PutEHTMLIntoCache( void *, const char * );
! void* GetEHTMLEntry( void *, const char * );
! void ReleaseEHTMLEntry( void *, const char * );
#ifdef __cplusplus
--- 27,74 ----
#endif
+ /**
+ * Creates a tree where handles to already opened libraries are stored.
+ *
+ * @return An stl map container (for internal use).
+ */
void* CreateEHTMLCache();
! /**
! * Dinamically loads the EHTML application into memory and stores its handle
! * and the handle to its entry function into the map.
! *
! * @param map
! * The map that was created with and returned by
! * <code>CreateEHTMLCache</code>.
! *
! * @param lib_filename
! * The name of the EHTML file to load.
! */
! int PutEHTMLIntoCache( void * map, const char * lib_filename);
! /**
! * Tries to find the EHTML application in the map. If there is none, it will
! * return <code>null</code>.
! *
! * @param map
! * The map that was created with and returned by
! * <code>CreateEHTMLCache</code>.
! *
! * @param lib_filename
! * The name of the EHTML file to lookup.
! */
! void* GetEHTMLEntry( void * map, const char * lib_filename);
! /**
! * Removes a loaded EHTML file from the map (the cache).
! *
! * @param map
! * The map that was created with and returned by
! * <code>CreateEHTMLCache</code>.
! *
! * @param lib_filename
! * The name of the EHTML file to remove.
! */
! void ReleaseEHTMLEntry( void * map, const char * lib_filename);
#ifdef __cplusplus
|