Update of /cvsroot/mod-c/mod_c/include
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv5622/include
Modified Files:
mod_c.h
Log Message:
Forgot to commit this file:
* cosmetic change: define RDEBUG & SDEBUG macros.
* cosmetic change: cached_ehtml is renamed to ehtml_rec.
* ehtml_rec has two new fields: mtime & size (used for auto-reloading).
Index: mod_c.h
===================================================================
RCS file: /cvsroot/mod-c/mod_c/include/mod_c.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** mod_c.h 1 Feb 2006 21:37:58 -0000 1.3
--- mod_c.h 25 Aug 2006 14:08:38 -0000 1.4
***************
*** 56,60 ****
--- 56,95 ----
*/
int disable_session_server;
+ /**
+ * On demand application loading.
+ */
+ int allow_on_demand;
+ /**
+ * On demand application reloading.
+ */
+ int allow_auto_refresh;
};
+ typedef struct ehtml_rec
+ {
+ /**
+ * File handle
+ */
+ void* fileh;
+ /**
+ * Entry function
+ */
+ void* entryf;
+ /**
+ * Application's file modification time.
+ * This is used for auto-reloading.
+ */
+ time_t mtime;
+ /**
+ * Application's file size.
+ * This is used for auto-reloading.
+ */
+ off_t size;
+ } ehtml_rec;
+
+ #define RDEBUG(level,request,msg,...) \
+ SDEBUG(level, (request)->server, msg, ## __VA_ARGS__)
+ #define SDEBUG(level,server,msg,...) \
+ ap_log_error(__FILE__, __LINE__, level, 0, server, msg, ## __VA_ARGS__)
+
#endif
|