netsurf/amiga/schedule.h
John Mark Bell 625b59f61a First pass of AmigaOS 3 compatibility
svn path=/trunk/netsurf/; revision=11155
2010-12-30 00:53:11 +00:00

41 lines
1.1 KiB
C
Executable File

/*
* Copyright 2008 Chris Young <chris@unsatisfactorysoftware.co.uk>
*
* This file is part of NetSurf, http://www.netsurf-browser.org/
*
* NetSurf is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* NetSurf is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef AMIGA_SCHEDULE_H
#define AMIGA_SCHEDULE_H
#include <exec/lists.h>
#include <proto/timer.h>
#include "amiga/os3support.h"
struct MinList *schedule_list;
struct TimeRequest *tioreq;
struct MsgPort *msgport;
struct nscallback
{
struct TimeVal tv;
void *callback;
void *p;
struct TimeRequest *treq;
};
void ami_remove_timer_event(struct nscallback *nscb);
BOOL schedule_run(void);
#endif