Permalink
Browse files

Adding package.xml and tweaking arginfo for send()

  • Loading branch information...
1 parent 48e3f0b commit d1fe7640cc12c3f95bf90aa2499ff458c2a20dac @johnj committed Aug 2, 2012
Showing with 54 additions and 0 deletions.
  1. +52 −0 package.xml
  2. +2 −0 xcom.c
View
52 package.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package packagerversion="1.4.11" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
+http://pear.php.net/dtd/tasks-1.0.xsd
+http://pear.php.net/dtd/package-2.0
+http://pear.php.net/dtd/package-2.0.xsd">
+<name>xcom</name>
+ <channel>pecl.php.net</channel>
+ <summary>X.commerce bindings and helper methods</summary>
+ <description>
+ ext/xcom provides bindings and helper methods for building and consuming API's in the X.commerce ecosystem.
+ </description>
+ <lead>
+ <name>John Jawed</name>
+ <user>jawed</user>
+ <email>jawed@php.net</email>
+ <active>yes</active>
+ </lead>
+ <date>2012-08-02</date>
+ <version>
+ <release>1.0.0</release>
+ <api>1.0.0</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
+ <notes>
+ - First release (yah!)
+ </notes>
+ <contents>
+ <dir name="/">
+ <file name="config.m4" role="src" />
+ <file name="xcom.c" role="src" />
+ <file name="php_xcom.h" role="src" />
+ </dir>
+ </contents>
+ <dependencies>
+ <required>
+ <php>
+ <min>5.1.0</min>
+ </php>
+ <pearinstaller>
+ <min>1.4.0b1</min>
+ </pearinstaller>
+ </required>
+ </dependencies>
+ <providesextension>xcom</providesextension>
+ <extsrcrelease>
+ </extsrcrelease>
+ <changelog />
+</package>
View
2 xcom.c
@@ -878,6 +878,8 @@ XCOM_ARGINFO
ZEND_BEGIN_ARG_INFO_EX(arginfo_xcom_send, 0, 0, 2)
ZEND_ARG_INFO(0, obj)
ZEND_ARG_INFO(0, topic)
+ZEND_ARG_INFO(0, json_schema)
+ZEND_ARG_INFO(0, http_headers)
ZEND_END_ARG_INFO()
XCOM_ARGINFO

0 comments on commit d1fe764

Please sign in to comment.