glib/win32: introduce private g_win32_handle_is_socket()

Used in following commits, including in some GIO experiments.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau
2022-04-08 14:49:49 +04:00
parent c43472060b
commit 277657eacc
5 changed files with 79 additions and 1 deletions

View File

@@ -175,6 +175,9 @@ typedef struct {
int (* g_win32_reopen_noninherited) (int fd,
int mode,
GError **err);
gboolean (* g_win32_handle_is_socket) (void *handle);
#endif