diff options
| author | 2001-08-01 12:30:48 +0000 | |
|---|---|---|
| committer | 2001-08-01 12:30:48 +0000 | |
| commit | 4c165f62dbd1d7bb882eea3f1dfa1f43df62701c (patch) | |
| tree | 9a4709004f95c8a3ecab797b6256a9786fb59f8e /doc | |
| parent | Reworked some paragraphs. (diff) | |
Add raw1394_get_local_id, _irm_id, _nodecount refentry.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@73 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/libraw1394.sgml | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/doc/libraw1394.sgml b/doc/libraw1394.sgml index 7c7033f..1f7e78e 100644 --- a/doc/libraw1394.sgml +++ b/doc/libraw1394.sgml @@ -893,6 +893,73 @@ struct <structname>raw1394_portinfo</structname> { </para> </refsect1> </refentry> + + <refentry> + <refmeta> + <refentrytitle>raw1394_get_(local_id|irm_id|nodecount)</refentrytitle> + <manvolnum>3</manvolnum> + </refmeta> + + <refnamediv> + <refname>raw1394_get_local_id</refname> + <refname>raw1394_get_irm_id</refname> + <refname>raw1394_get_nodecount</refname> + <refpurpose>return basic information about the bus</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <funcsynopsis> + <funcprototype> + <funcdef>nodeid_t <function>raw1394_get_local_id</function></funcdef> + <paramdef>raw1394handle_t <parameter>handle</parameter></paramdef> + </funcprototype> + <funcprototype> + <funcdef>nodeid_t <function>raw1394_get_irm_id</function></funcdef> + <paramdef>raw1394handle_t <parameter>handle</parameter></paramdef> + </funcprototype> + <funcprototype> + <funcdef>int <function>raw1394_get_nodecount</function></funcdef> + <paramdef>raw1394handle_t <parameter>handle</parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + + <refsect1> + <title>Arguments</title> + + <variablelist> + <varlistentry> + <term><parameter>handle</parameter></term> + <listitem> + <para>handle associated with a 1394 bus</para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + + <refsect1> + <title>Description</title> + + <para> + These functions return information about the 1394 bus the handle is + associated with. The values that can be queried through these + functions can change with every bus reset. + </para> + </refsect1> + + <refsect1> + <title>Return Value</title> + + <para> + <function>raw1394_get_local_id()</function> returns the node ID of the + local node (i.e. the hardware the driver is controlling directly). + <function>raw1394_get_irm_id()</function> returns the node ID of the + node that has become isochronous resource manager. + <function>raw1394_get_nodecount</function> returns the number of nodes + currently on the bus (including the local node). + </para> + </refsect1> + </refentry> </chapter> </book> |
