src/timeRoutinesOsx.c File Reference

#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>
#include <mach/mach_port.h>
#include <mach/mach_interface.h>
#include <mach/mach_init.h>
#include <IOKit/pwr_mgt/IOPMLib.h>
#include <IOKit/IOMessage.h>
#include "schedule.h"
#include "timeRoutines.h"

Functions

void installTimer (scheduledExec *task)
void powerCallBack (void *refCon, io_service_t service, natural_t messageType, void *messageArgument)
int waitForTask (scheduledExec *task)

Variables

io_connect_t root_port
CFRunLoopTimerRef timerRef

Function Documentation

void installTimer ( scheduledExec task  ) 
void powerCallBack ( void *  refCon,
io_service_t  service,
natural_t  messageType,
void *  messageArgument 
)
int waitForTask ( scheduledExec task  ) 

Main entry point for setting up the timer.


Variable Documentation

io_connect_t root_port
CFRunLoopTimerRef timerRef
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines
Generated on Fri Mar 23 07:16:08 2012 for schedule by  doxygen 1.6.3