* 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 <http://www.gnu.org/licenses/>.
*
* Author: Alexander Larsson <alexl@redhat.com>
*/
#include <gio/gio.h>
-G_BEGIN_DECLS
+#ifdef G_OS_WIN32
+#include <windows.h>
+#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