extension.h 592 B

123456789101112
  1. #ifndef _PHPGO_EXTENSION_H_
  2. #define _PHPGO_EXTENSION_H_
  3. extern void* phpgo_get_module(char *name, char *version);
  4. extern int phpgo_get_module_number();
  5. void phpgo_register_init_functions(void *module_startup_func, void *module_shutdown_func,
  6. void *request_startup_func, void *request_shutdown_func);
  7. extern int zend_add_function(int cidx, int fidx, int cbid, char *name, char *atys, int rety);
  8. extern int zend_add_class(int cidx, char *name);
  9. extern int zend_add_method(int cidx, int fidx, int cbid, char *name, char *mname, char *atys, int rety);
  10. #endif