Parameter position reversed in documentation
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 30 Jan 2009 18:36:56 +0000 (18:36 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 30 Jan 2009 18:36:56 +0000 (18:36 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@172548 65c4cc65-6c06-0410-ace0-fbb531ad65f3

funcs/func_aes.c

index 40dafab..87319fa 100644 (file)
@@ -40,12 +40,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
                        Encrypt a string with AES given a 16 character key.
                </synopsis>
                <syntax>
-                       <parameter name="string" required="true">
-                               <para>Input string</para>
-                       </parameter>
                        <parameter name="key" required="true">
                                <para>AES Key</para>
                        </parameter>
+                       <parameter name="string" required="true">
+                               <para>Input string</para>
+                       </parameter>
                </syntax>
                <description>
                        <para>Returns an AES encrypted string encoded in base64.</para>
@@ -56,13 +56,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
                        Decrypt a string encoded in base64 with AES given a 16 character key.
                </synopsis>
                <syntax>
-                       <parameter name="string" required="true">
-                               <para>Input string.</para>
-                       </parameter>
                        <parameter name="key" required="true">
                                <para>AES Key</para>
                        </parameter>
-
+                       <parameter name="string" required="true">
+                               <para>Input string.</para>
+                       </parameter>
                </syntax>
                <description>
                        <para>Returns the plain text string.</para>