2006-07-27 01:51:18 +00:00
|
|
|
#ifndef MISC_H
|
|
|
|
#define MISC_H
|
|
|
|
|
2006-08-22 20:07:42 +00:00
|
|
|
#include "opal/event/event.h"
|
|
|
|
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2006-07-27 01:51:18 +00:00
|
|
|
int gettimeofday(struct timeval *,struct timezone *);
|
|
|
|
|
2006-08-24 05:08:40 +00:00
|
|
|
OPAL_DECLSPEC extern void *win32_init (void);
|
|
|
|
OPAL_DECLSPEC extern int win32_insert(struct win32op *win32op, struct opal_event *ev);
|
|
|
|
OPAL_DECLSPEC extern int win32_del(struct win32op *win32op, struct opal_event *ev);
|
|
|
|
OPAL_DECLSPEC extern int win32_dispatch(struct event_base *base, struct win32op *win32op,
|
|
|
|
struct timeval *tv);
|
|
|
|
OPAL_DECLSPEC extern int win32_recalc (struct event_base *base, void *, int);
|
2006-08-22 20:07:42 +00:00
|
|
|
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2006-07-27 01:51:18 +00:00
|
|
|
#endif
|