Changeset 140 for eaccelerator/trunk/eaccelerator.h
- Timestamp:
- 11/29/05 18:19:18 (3 years ago)
- Files:
-
- eaccelerator/trunk/eaccelerator.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
eaccelerator/trunk/eaccelerator.h
r124 r140 167 167 #define MAX_DUP_STR_LEN 256 168 168 169 /******************************************************************************/ 170 171 #endif /* HAVE_EACCELERATOR_STANDALONE_LOADER */ 172 169 173 #ifndef offsetof 170 174 # define offsetof(str,fld) ((size_t)&(((str*)NULL)->fld)) 171 175 #endif 172 173 /******************************************************************************/174 176 175 177 typedef struct _eaccelerator_op_array { … … 255 257 char htabkey[1]; /* must be last element */ 256 258 } mm_fc_entry; 259 260 #ifndef HAVE_EACCELERATOR_STANDALONE_LOADER 257 261 258 262 /* … … 382 386 int eaccelerator_md5 (char *s, const char *prefix, const char *key TSRMLS_DC); 383 387 384 void restore_zval (zval * TSRMLS_DC);385 388 void calc_zval (zval * z TSRMLS_DC); 386 389 void store_zval (zval * z TSRMLS_DC); 387 390 void fixup_zval (zval * z TSRMLS_DC); 391 void restore_zval (zval * TSRMLS_DC); 388 392 389 393 unsigned int hash_mm(const char *data, int len); 390 391 # ifdef WITH_EACCELERATOR_EXECUTOR392 ZEND_DLEXPORT void eaccelerator_execute (zend_op_array * op_array TSRMLS_DC);393 # endif394 394 395 395 # ifdef WITH_EACCELERATOR_OPTIMIZER … … 400 400 PHP_FUNCTION (eaccelerator_encode); 401 401 #endif 402 #endif /* HAVE_EACCELERATOR_ LOADER_STANDALONE*/402 #endif /* HAVE_EACCELERATOR_STANDALONE_LOADER */ 403 403 404 404 #ifdef ZTS … … 407 407 # define EAG(v) (eaccelerator_globals.v) 408 408 #endif 409 410 #define MMCG(v) EAG(v)411 409 412 410 /*