X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgasynchelper.h;h=5f7f5a3c079bdf75f2a7459f886454c9e55d667d;hb=356a3987cee7ceddcb3fe623edf0bd2881895add;hp=cd6d282950148b4672af05a02a575f41dcc7ded9;hpb=631d0c3534661e549f7df18fbb9832bdf19c5eaf;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gasynchelper.h b/gio/gasynchelper.h index cd6d282..5f7f5a3 100644 --- a/gio/gasynchelper.h +++ b/gio/gasynchelper.h @@ -13,9 +13,7 @@ * 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 . * * Author: Alexander Larsson */ @@ -25,15 +23,18 @@ #include -G_BEGIN_DECLS +#ifdef G_OS_WIN32 +#include +#endif -typedef gboolean (*GFDSourceFunc) (int fd, - GIOCondition condition, - gpointer user_data); +G_BEGIN_DECLS -GSource *_g_fd_source_new (int fd, - gushort events, - GCancellable *cancellable); +#ifdef G_OS_WIN32 +gboolean _g_win32_overlap_wait_result (HANDLE hfile, + OVERLAPPED *overlap, + DWORD *transferred, + GCancellable *cancellable); +#endif G_END_DECLS