Sha256: b8a6cd57e2a0096ad32cb0eae47b11e0742461bf01960020326f505e6c95562c
Contents?: true
Size: 751 Bytes
Versions: 69
Compression:
Stored size: 751 Bytes
Contents
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright (C) 2012 Igalia S.L. */ #ifndef __SOUP_TLD_H__ #define __SOUP_TLD_H__ #include <libsoup/soup-types.h> G_BEGIN_DECLS SOUP_AVAILABLE_IN_2_40 const char *soup_tld_get_base_domain (const char *hostname, GError **error); SOUP_AVAILABLE_IN_2_40 gboolean soup_tld_domain_is_public_suffix (const char *domain); /* Errors */ SOUP_AVAILABLE_IN_2_40 GQuark soup_tld_error_quark (void); #define SOUP_TLD_ERROR soup_tld_error_quark() typedef enum { SOUP_TLD_ERROR_INVALID_HOSTNAME, SOUP_TLD_ERROR_IS_IP_ADDRESS, SOUP_TLD_ERROR_NOT_ENOUGH_DOMAINS, SOUP_TLD_ERROR_NO_BASE_DOMAIN } SoupTLDError; G_END_DECLS #endif /* __SOUP_TLD_H__ */
Version data entries
69 entries across 69 versions & 1 rubygems