summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2003-02-19 14:50:43 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2003-02-19 14:50:43 +0000
commitf7d6212b9ccd81ada41d885023a2c643fee2c96e (patch)
treeead8d0a6a97d6e9c7d033b92c0c89705e4bad342
parent714a6d727eb1f961bfbaf0d1a90f523b1681dc62 (diff)
downloadphp-git-f7d6212b9ccd81ada41d885023a2c643fee2c96e.tar.gz
test specifications for MINIT and friends
-rw-r--r--scripts/ext_skel_ng/extension.xml79
1 files changed, 65 insertions, 14 deletions
diff --git a/scripts/ext_skel_ng/extension.xml b/scripts/ext_skel_ng/extension.xml
index f9b485d452..67adaf7a65 100644
--- a/scripts/ext_skel_ng/extension.xml
+++ b/scripts/ext_skel_ng/extension.xml
@@ -55,28 +55,79 @@
</globals>
<functions>
+
+ <function role='internal' name='MINIT'>
+ <code>
+<![CDATA[
+ int dummy = 42;
+
+ dummy = dummy;
+]]>
+ </code>
+ </function>
+
+ <function role='internal' name='MSHUTDOWN'>
+ <code>
+<![CDATA[
+ int dummy = 42;
+
+ dummy = dummy;
+]]>
+ </code>
+ </function>
+
+ <function role='internal' name='RINIT'>
+ <code>
+<![CDATA[
+ int dummy = 42;
+
+ dummy = dummy;
+]]>
+ </code>
+ </function>
- <function name='dummy_int'>
- <summary>dummy integer conversion</summary>
- <proto>int dummy_int(int bar)</proto>
- <description>
+ <function role='internal' name='RSHUTDOWN'>
+ <code>
+<![CDATA[
+ int dummy = 42;
+
+ dummy = dummy;
+]]>
+ </code>
+ </function>
+
+ <function role='internal' name='MINFO'>
+ <code>
+<![CDATA[
+ php_info_print_table_start();
+ php_info_print_table_header(2, "test", "table");
+ php_info_print_table_end();
+]]>
+ </code>
+ </function>
+
+
+ <function role='public' name='dummy_int'>
+ <summary>dummy integer conversion</summary>
+ <proto>int dummy_int(int bar)</proto>
+ <description>
some funcy longer description
foo
bar
- </description>
- </function>
-
- <function name='dummy_string'>
- <summary>dummy string conversion</summary>
- <proto>string dummy_string(string bar) foobar</proto>
- <code>
+ </description>
+ </function>
+
+ <function name='dummy_string'>
+ <summary>dummy string conversion</summary>
+ <proto>string dummy_string(string bar) foobar</proto>
+ <code>
<![CDATA[
RETURN_STRINGL(bar, bar_len, 1);
]]>
- </code>
- </function>
-
+ </code>
+ </function>
+
</functions>
</extension> \ No newline at end of file