[svn-commits] eliel: branch group/appdocsxml r148247 - /team/group/appdocsxml/funcs/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Oct 10 08:30:10 CDT 2008


Author: eliel
Date: Fri Oct 10 08:30:10 2008
New Revision: 148247

URL: http://svn.digium.com/view/asterisk?view=rev&rev=148247
Log:
Update VERSION() function to use the <enumlist> tag.
Update STRFTIME() funtion to use the <see-also> tag.

Modified:
    team/group/appdocsxml/funcs/func_strings.c
    team/group/appdocsxml/funcs/func_version.c

Modified: team/group/appdocsxml/funcs/func_strings.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/funcs/func_strings.c?view=diff&rev=148247&r1=148246&r2=148247
==============================================================================
--- team/group/appdocsxml/funcs/func_strings.c (original)
+++ team/group/appdocsxml/funcs/func_strings.c Fri Oct 10 08:30:10 2008
@@ -180,13 +180,16 @@
 		</syntax>
 		<description>
 			<para>STRFTIME supports all of the same formats as the underlying C function
-			<emphasis>strftime(3)</emphasis> - see the man page for details.
+			<emphasis>strftime(3)</emphasis>.
 			It also supports the following format: <literal>%[n]q</literal> - fractions of a second,
 			with leading zeros.</para>
 			<para>Example: <literal>%3q</literal> will give milliseconds and <literal>%1q</literal>
 			will give tenths of a second. The default is set at milliseconds (n=3).
 			The common case is to use it in combination with %S, as in <literal>%S.%3q</literal>.</para>
 		</description>
+		<see-also>
+			<ref type="manpage">strftime(3)</ref>
+		</see-also>
 	</function>
 	<function name="EVAL" language="en_US">
 		<synopsis>

Modified: team/group/appdocsxml/funcs/func_version.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/funcs/func_version.c?view=diff&rev=148247&r1=148246&r2=148247
==============================================================================
--- team/group/appdocsxml/funcs/func_version.c (original)
+++ team/group/appdocsxml/funcs/func_version.c Fri Oct 10 08:30:10 2008
@@ -42,13 +42,31 @@
 		<syntax>
 			<parameter name="info">
 				<para>The possible values are:</para>
-				<para><literal>ASTERISK_VERSION_NUM</literal>, a string of digits is returned (right now fixed at 999999).</para>
-				<para><literal>BUILD_USER</literal>, the string representing the user's name whose account was used to configure Asterisk, is returned.</para>
-				<para><literal>BUILD_HOSTNAME</literal>, the string representing the name of the host on which Asterisk was configured, is returned.</para>
-				<para><literal>BUILD_MACHINE</literal>, the string representing the type of machine on which Asterisk was configured, is returned.</para>
-				<para><literal>BUILD_OS</literal>, the string representing the OS of the machine on which Asterisk was configured, is returned.</para>
-				<para><literal>BUILD_DATE</literal>, the string representing the date on which Asterisk was configured, is returned.</para>
-				<para><literal>BUILD_KERNEL</literal>, the string representing the kernel version of the machine on which Asterisk was configured, is returned.</para>
+				<enumlist>
+					<enum name="ASTERISK_VERSION_NUM">
+						<para>A string of digits is returned (right now fixed at 999999).</para>
+					</enum>
+					<enum name="BUILD_USER">
+						<para>The string representing the user's name whose account
+						was used to configure Asterisk, is returned.</para>
+					</enum>
+					<enum name="BUILD_HOSTNAME">
+						<para>The string representing the name of the host on which Asterisk was configured, is returned.</para>
+					</enum>
+					<enum name="BUILD_MACHINE">
+						<para>The string representing the type of machine on which Asterisk was configured, is returned.</para>
+					</enum>
+					<enum name="BUILD_OS">
+						<para>The string representing the OS of the machine on which Asterisk was configured, is returned.</para>
+					</enum>
+					<enum name="BUILD_DATE">
+						<para>The string representing the date on which Asterisk was configured, is returned.</para>
+					</enum>
+					<enum name="BUILD_KERNEL">
+						<para>The string representing the kernel version of the machine on which Asterisk
+						was configured, is returned.</para>
+					</enum>
+				</enumlist>
 			</parameter>
 		</syntax>
 		<description>




More information about the svn-commits mailing list