~ubuntu-branches/ubuntu/karmic/farsight2/karmic

« back to all changes in this revision

Viewing changes to docs/libs/html/farsight2-libs-Network-interfaces-discovery.html

  • Committer: Bazaar Package Importer
  • Author(s): Sjoerd Simons
  • Date: 2009-05-29 12:20:24 UTC
  • mfrom: (1.1.4 upstream) (2.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090529122024-w0uzozcjda8zsul7
Tags: 0.0.12-1
New Upstream Version

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="ch03.html" title="Farsight Utility Functions and Objects">
9
9
<link rel="prev" href="FsElementAddedNotifier.html" title="FsElementAddedNotifier">
10
10
<link rel="next" href="pt02.html" title="Part II. Classes used to implement Farsight plugins">
11
 
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="part" href="pt01.html" title="Part I. User-oriented classes, interfaces and functions">
14
14
<link rel="chapter" href="ch01.html" title="Farsight GStreamer Interfaces">
28
28
<th width="100%" align="center">Farsight2 Reference Manual</th>
29
29
<td><a accesskey="n" href="pt02.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
30
30
</tr>
31
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#farsight2-libs-Network-interfaces-discovery.synopsis" class="shortcut">Top</a>
32
 
                   | 
33
 
                  <a href="#farsight2-libs-Network-interfaces-discovery.description" class="shortcut">Description</a></nobr></td></tr>
 
31
<tr><td colspan="5" class="shortcuts">
 
32
<a href="#farsight2-libs-Network-interfaces-discovery.synopsis" class="shortcut">Top</a>
 
33
                 | 
 
34
                <a href="#farsight2-libs-Network-interfaces-discovery.description" class="shortcut">Description</a>
 
35
</td></tr>
34
36
</table>
35
37
<div class="refentry" lang="en">
36
38
<a name="farsight2-libs-Network-interfaces-discovery"></a><div class="titlepage"></div>
49
51
 
50
52
<a
51
53
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
52
 
>gchar</a>*              <a class="link" href="farsight2-libs-Network-interfaces-discovery.html#fs-interfaces-get-ip-for-interface" title="fs_interfaces_get_ip_for_interface ()">fs_interfaces_get_ip_for_interface</a>  (<a
 
54
>gchar</a> *             <a class="link" href="farsight2-libs-Network-interfaces-discovery.html#fs-interfaces-get-ip-for-interface" title="fs_interfaces_get_ip_for_interface ()">fs_interfaces_get_ip_for_interface</a>  (<a
53
55
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
54
56
>gchar</a> *interface_name);
55
57
<a
56
58
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
57
 
>GList</a>*              <a class="link" href="farsight2-libs-Network-interfaces-discovery.html#fs-interfaces-get-local-interfaces" title="fs_interfaces_get_local_interfaces ()">fs_interfaces_get_local_interfaces</a>  (void);
 
59
>GList</a> *             <a class="link" href="farsight2-libs-Network-interfaces-discovery.html#fs-interfaces-get-local-interfaces" title="fs_interfaces_get_local_interfaces ()">fs_interfaces_get_local_interfaces</a>  (void);
58
60
<a
59
61
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
60
 
>GList</a>*              <a class="link" href="farsight2-libs-Network-interfaces-discovery.html#fs-interfaces-get-local-ips" title="fs_interfaces_get_local_ips ()">fs_interfaces_get_local_ips</a>         (<a
 
62
>GList</a> *             <a class="link" href="farsight2-libs-Network-interfaces-discovery.html#fs-interfaces-get-local-ips" title="fs_interfaces_get_local_ips ()">fs_interfaces_get_local_ips</a>         (<a
61
63
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
62
64
>gboolean</a> include_loopback);
63
65
</pre>
69
71
in a portable manner, they also allow finding the local ip addresses or
70
72
the address allocated to a network interface.</p>
71
73
<p>
72
 
 
73
74
</p>
74
75
</div>
75
76
<div class="refsect1" lang="en">
78
79
<a name="fs-interfaces-get-ip-for-interface"></a><h3>fs_interfaces_get_ip_for_interface ()</h3>
79
80
<pre class="programlisting"><a
80
81
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
81
 
>gchar</a>*              fs_interfaces_get_ip_for_interface  (<a
 
82
>gchar</a> *             fs_interfaces_get_ip_for_interface  (<a
82
83
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
83
84
>gchar</a> *interface_name);</pre>
84
85
<p>
85
86
Retreives the IPv4 address of an interface by its name</p>
86
87
<p>
87
 
 
88
88
</p>
89
89
<div class="variablelist"><table border="0">
90
90
<col align="left" valign="top">
107
107
<a name="fs-interfaces-get-local-interfaces"></a><h3>fs_interfaces_get_local_interfaces ()</h3>
108
108
<pre class="programlisting"><a
109
109
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
110
 
>GList</a>*              fs_interfaces_get_local_interfaces  (void);</pre>
 
110
>GList</a> *             fs_interfaces_get_local_interfaces  (void);</pre>
111
111
<p>
112
112
Get the list of local interfaces</p>
113
113
<p>
114
 
 
115
114
</p>
116
115
<div class="variablelist"><table border="0">
117
116
<col align="left" valign="top">
129
128
<a name="fs-interfaces-get-local-ips"></a><h3>fs_interfaces_get_local_ips ()</h3>
130
129
<pre class="programlisting"><a
131
130
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
132
 
>GList</a>*              fs_interfaces_get_local_ips         (<a
 
131
>GList</a> *             fs_interfaces_get_local_ips         (<a
133
132
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
134
133
>gboolean</a> include_loopback);</pre>
135
134
<p>
136
135
Get a list of local ipv4 interface addresses</p>
137
136
<p>
138
 
 
139
137
</p>
140
138
<div class="variablelist"><table border="0">
141
139
<col align="left" valign="top">
159
157
</div>
160
158
<div class="footer">
161
159
<hr>
162
 
          Generated by GTK-Doc V1.10</div>
 
160
          Generated by GTK-Doc V1.11</div>
163
161
</body>
164
162
</html>