source: trunk/xcache/xc_extension.h @ 1026

Last change on this file since 1026 was 1026, checked in by moo, 2 years ago

refactor: split extension init to sub module. TODO: compatibility regression

  • Property svn:eol-style set to native
File size: 664 bytes
Line 
1#ifndef XC_EXTENSION_H_9885D3A6DE7C469D13E34AF331E02BB8
2#define XC_EXTENSION_H_9885D3A6DE7C469D13E34AF331E02BB8
3
4#if _MSC_VER > 1000
5#pragma once
6#endif // _MSC_VER > 1000
7
8#include "zend_extensions.h"
9int xcache_zend_extension_register(zend_extension *new_extension, zend_bool prepend);
10int xcache_zend_extension_unregister(zend_extension *extension);
11
12zend_llist_element *xcache_llist_get_element_by_zend_extension(zend_llist *l, const char *extension_name);
13void xcache_llist_prepend(zend_llist *l, zend_llist_element *element);
14void xcache_llist_unlink(zend_llist *l, zend_llist_element *element);
15
16#endif /* XC_EXTENSION_H_9885D3A6DE7C469D13E34AF331E02BB8 */
Note: See TracBrowser for help on using the repository browser.