<?xml version="1.0"?>
<extension name="myext">
<summary>My Cool Extension</summary>
<logo src="myext.png" mimetype="image/png" />
<maintainers>
<maintainer>
<user>rasmus</user>
<name>Rasmus Lerdorf</name>
<email>rasmus@php.net</email>
<role>lead</role>
</maintainer>
</maintainers>
<release>
<version>0.1</version>
<date>2005-04-01</date>
<state>alpha</state>
<license>php</license>
<notes>
- This is cool
</notes>
</release>
<deps language="c" platform="unix">
<header name="math.h"/>
<lib name="m" function="floor"/>
</deps>
<constant name="MYMODE" type="int" value="1" />
<global name="foo" type="long" value="42"/>
<function role="internal" name="MINIT">
<code>init();</code>
</function>
<function name="get_foo">
<proto>int get_foo(void)</proto>
<code>
RETURN_LONG(MYEXT_G(foo));
</code>
</function>
<function name="foobar">
<proto>string foobar(void)</proto>
<summary>A dummy function</summary>
<description>
This function returns a static string.
</description>
<code>
RETURN_STRING("foobar", 1);
</code>
</function>
</extension>