X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgnetworkingprivate.h;h=b28ff4417e2a07a60bbe46374d89c06728f3d8e7;hb=e608ec7b2e47d29fa189fca6e97f484f41c115a4;hp=a90d2645d40e275871f8a809b5eb1735d9a57d86;hpb=68fc0556275edf6e63a3242841f2981a42ee11cb;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gnetworkingprivate.h b/gio/gnetworkingprivate.h index a90d264..b28ff44 100644 --- a/gio/gnetworkingprivate.h +++ b/gio/gnetworkingprivate.h @@ -13,41 +13,32 @@ * 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 . */ #ifndef __G_NETWORKINGPRIVATE_H__ #define __G_NETWORKINGPRIVATE_H__ -#ifdef G_OS_WIN32 +#include "gnetworking.h" -#define WINVER 0x0501 // FIXME? -#include -#undef interface -#include -#include +G_BEGIN_DECLS -#else /* !G_OS_WIN32 */ +gboolean _g_uri_parse_authority (const char *uri, + char **host, + guint16 *port, + char **userinfo); +gchar * _g_uri_from_authority (const gchar *protocol, + const gchar *host, + guint port, + const gchar *userinfo); -#define BIND_4_COMPAT +guint64 g_resolver_get_serial (GResolver *resolver); -#include -#include -/* We're supposed to define _GNU_SOURCE to get EAI_NODATA, but that - * won't actually work since has already been included at - * this point. So we define __USE_GNU instead. - */ -#define __USE_GNU -#include -#undef __USE_GNU -#include -#include -#include -#include -#include - -#endif +gint g_socket (gint domain, + gint type, + gint protocol, + GError **error); + +G_END_DECLS #endif /* __G_NETWORKINGPRIVATE_H__ */