Blame glib/gwakeup.h

Packit 84794d
/*
Packit 84794d
 * Copyright © 2011 Canonical Limited
Packit 84794d
 *
Packit 84794d
 * This library is free software; you can redistribute it and/or
Packit 84794d
 * modify it under the terms of the GNU Lesser General Public
Packit 84794d
 * License as published by the Free Software Foundation; either
Packit 84794d
 * version 2.1 of the License, or (at your option) any later version.
Packit 84794d
 *
Packit 84794d
 * This library is distributed in the hope that it will be useful,
Packit 84794d
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 84794d
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 84794d
 * Lesser General Public License for more details.
Packit 84794d
 *
Packit 84794d
 * You should have received a copy of the GNU Lesser General Public
Packit 84794d
 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
Packit 84794d
 *
Packit 84794d
 * Author: Ryan Lortie <desrt@desrt.ca>
Packit 84794d
 */
Packit 84794d
Packit 84794d
#ifndef __G_WAKEUP_H__
Packit 84794d
#define __G_WAKEUP_H__
Packit 84794d
Packit 84794d
#include <glib/gpoll.h>
Packit 84794d
Packit 84794d
typedef struct _GWakeup GWakeup;
Packit 84794d
Packit 84794d
GWakeup *       g_wakeup_new            (void);
Packit 84794d
void            g_wakeup_free           (GWakeup *wakeup);
Packit 84794d
Packit 84794d
void            g_wakeup_get_pollfd     (GWakeup *wakeup,
Packit 84794d
                                         GPollFD *poll_fd);
Packit 84794d
void            g_wakeup_signal         (GWakeup *wakeup);
Packit 84794d
void            g_wakeup_acknowledge    (GWakeup *wakeup);
Packit 84794d
Packit 84794d
#endif