g_application_add_main_option: fix type signature
[platform/upstream/glib.git] / gio / gnetworkaddress.h
index 281271d..a9800f4 100644 (file)
@@ -13,9 +13,7 @@
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General
- * Public License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef __G_NETWORK_ADDRESS_H__
@@ -53,18 +51,25 @@ struct _GNetworkAddressClass
 
 };
 
+GLIB_AVAILABLE_IN_ALL
 GType               g_network_address_get_type     (void) G_GNUC_CONST;
 
+GLIB_AVAILABLE_IN_ALL
 GSocketConnectable *g_network_address_new          (const gchar      *hostname,
                                                    guint16           port);
+GLIB_AVAILABLE_IN_ALL
 GSocketConnectable *g_network_address_parse        (const gchar      *host_and_port,
                                                    guint16           default_port,
                                                    GError          **error);
+GLIB_AVAILABLE_IN_ALL
 GSocketConnectable *g_network_address_parse_uri    (const gchar      *uri,
                                                    guint16           default_port,
                                                    GError          **error);
+GLIB_AVAILABLE_IN_ALL
 const gchar        *g_network_address_get_hostname (GNetworkAddress  *addr);
+GLIB_AVAILABLE_IN_ALL
 guint16             g_network_address_get_port     (GNetworkAddress  *addr);
+GLIB_AVAILABLE_IN_ALL
 const gchar        *g_network_address_get_scheme   (GNetworkAddress  *addr);