2008-12-12 19:13:55 +01:00
|
|
|
/* GIO - GLib Input, Output and Streaming Library
|
|
|
|
*
|
|
|
|
* Copyright (C) 2008 Red Hat, Inc.
|
|
|
|
*
|
2022-05-18 10:12:45 +02:00
|
|
|
* SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
*
|
2008-12-12 19:13:55 +01:00
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
2017-05-27 18:21:30 +02:00
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2008-12-12 19:13:55 +01:00
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General
|
2014-01-23 12:58:29 +01:00
|
|
|
* Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
2008-12-12 19:13:55 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __G_NETWORKINGPRIVATE_H__
|
|
|
|
#define __G_NETWORKINGPRIVATE_H__
|
|
|
|
|
2010-11-11 15:57:25 +01:00
|
|
|
#include "gnetworking.h"
|
2023-08-14 08:57:08 +02:00
|
|
|
#include "gresolver.h"
|
2008-12-12 19:13:55 +01:00
|
|
|
|
2008-12-29 18:53:47 +01:00
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2013-02-19 21:19:22 +01:00
|
|
|
guint64 g_resolver_get_serial (GResolver *resolver);
|
|
|
|
|
2013-01-22 22:39:49 +01:00
|
|
|
gint g_socket (gint domain,
|
|
|
|
gint type,
|
|
|
|
gint protocol,
|
|
|
|
GError **error);
|
|
|
|
|
2023-08-11 12:08:42 +02:00
|
|
|
gboolean g_getservbyname_ntohs (const char *name, const char *proto, guint16 *out_port);
|
|
|
|
|
2008-12-29 18:53:47 +01:00
|
|
|
G_END_DECLS
|
|
|
|
|
2008-12-12 19:13:55 +01:00
|
|
|
#endif /* __G_NETWORKINGPRIVATE_H__ */
|