Blame glib/glib-private.c

Packit ae235b
/* GLIB - Library of useful routines for C programming
Packit ae235b
 * Copyright (C) 2011 Red Hat, Inc.
Packit ae235b
 *
Packit ae235b
 * This library is free software; you can redistribute it and/or
Packit ae235b
 * modify it under the terms of the GNU Lesser General Public
Packit ae235b
 * License as published by the Free Software Foundation; either
Packit ae235b
 * version 2.1 of the License, or (at your option) any later version.
Packit ae235b
 *
Packit ae235b
 * This library is distributed in the hope that it will be useful,
Packit ae235b
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit ae235b
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the GNU
Packit ae235b
 * Lesser General Public License for more details.
Packit ae235b
 *
Packit ae235b
 * You should have received a copy of the GNU Lesser General Public
Packit ae235b
 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
Packit ae235b
 *
Packit ae235b
 * Author: Colin Walters <walters@verbum.org>
Packit ae235b
 */
Packit ae235b
Packit ae235b
#include "config.h"
Packit ae235b
Packit ae235b
#include "glib-private.h"
Packit ae235b
#include "glib-init.h"
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * glib__private__:
Packit ae235b
 * @arg: Do not use this argument
Packit ae235b
 *
Packit ae235b
 * Do not call this function; it is used to share private
Packit ae235b
 * API between glib, gobject, and gio.
Packit ae235b
 */
Packit ae235b
GLibPrivateVTable *
Packit ae235b
glib__private__ (void)
Packit ae235b
{
Packit ae235b
  static GLibPrivateVTable table = {
Packit ae235b
    g_wakeup_new,
Packit ae235b
    g_wakeup_free,
Packit ae235b
    g_wakeup_get_pollfd,
Packit ae235b
    g_wakeup_signal,
Packit ae235b
    g_wakeup_acknowledge,
Packit ae235b
Packit ae235b
    g_get_worker_context,
Packit ae235b
Packit ae235b
    g_check_setuid,
Packit ae235b
    g_main_context_new_with_next_id,
Packit ae235b
Packit ae235b
    g_dir_open_with_errno,
Packit ae235b
    g_dir_new_from_dirp,
Packit ae235b
Packit ae235b
    glib_init,
Packit ae235b
Packit ae235b
#ifdef G_OS_WIN32
Packit ae235b
    g_win32_stat_utf8,
Packit ae235b
    g_win32_lstat_utf8,
Packit ae235b
    g_win32_readlink_utf8,
Packit ae235b
    g_win32_fstat,
Packit ae235b
#endif
Packit ae235b
  };
Packit ae235b
Packit ae235b
  return &table;
Packit ae235b
}
Packit ae235b