Declare some more functions as CCIF (Contiki Core Interface) to trigger exporting the symbols from the main binary on Win32.
This commit is contained in:
parent
4192b95ce4
commit
420b06863c
|
@ -53,7 +53,7 @@
|
|||
*
|
||||
* Author: Adam Dunkels <adam@sics.se>
|
||||
*
|
||||
* $Id: clock.h,v 1.3 2007/09/07 10:20:30 fros4943 Exp $
|
||||
* $Id: clock.h,v 1.4 2008/02/07 23:04:35 oliverschmidt Exp $
|
||||
*/
|
||||
#ifndef __CLOCK_H__
|
||||
#define __CLOCK_H__
|
||||
|
@ -78,7 +78,7 @@ void clock_init(void);
|
|||
*
|
||||
* \return The current clock time, measured in system ticks.
|
||||
*/
|
||||
clock_time_t clock_time(void);
|
||||
CCIF clock_time_t clock_time(void);
|
||||
|
||||
void clock_delay(unsigned int);
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
*
|
||||
* Author: Adam Dunkels <adam@sics.se>
|
||||
*
|
||||
* $Id: etimer.h,v 1.2 2006/08/26 23:59:39 oliverschmidt Exp $
|
||||
* $Id: etimer.h,v 1.3 2008/02/07 23:04:35 oliverschmidt Exp $
|
||||
*/
|
||||
#ifndef __ETIMER_H__
|
||||
#define __ETIMER_H__
|
||||
|
@ -113,7 +113,7 @@ CCIF void etimer_set(struct etimer *et, clock_time_t interval);
|
|||
*
|
||||
* \sa etimer_restart()
|
||||
*/
|
||||
void etimer_reset(struct etimer *et);
|
||||
CCIF void etimer_reset(struct etimer *et);
|
||||
|
||||
/**
|
||||
* \brief Restart an event timer from the current point in time
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* @(#)$Id: process.h,v 1.14 2008/02/07 15:43:37 oliverschmidt Exp $
|
||||
* @(#)$Id: process.h,v 1.15 2008/02/07 23:04:35 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -327,7 +327,7 @@ struct process {
|
|||
* process
|
||||
*
|
||||
*/
|
||||
void process_start(struct process *p, const char *arg);
|
||||
CCIF void process_start(struct process *p, const char *arg);
|
||||
|
||||
/**
|
||||
* Post an asynchronous event.
|
||||
|
@ -362,8 +362,8 @@ CCIF int process_post(struct process *p, process_event_t ev, void* data);
|
|||
* \param data A pointer to additional data that is posted together
|
||||
* with the event.
|
||||
*/
|
||||
void process_post_synch(struct process *p,
|
||||
process_event_t ev, void* data);
|
||||
CCIF void process_post_synch(struct process *p,
|
||||
process_event_t ev, void* data);
|
||||
|
||||
/**
|
||||
* \brief Cause a process to exit
|
||||
|
@ -438,7 +438,7 @@ process_current = p
|
|||
* \note There currently is no way to deallocate an allocated event
|
||||
* number.
|
||||
*/
|
||||
process_event_t process_alloc_event(void);
|
||||
CCIF process_event_t process_alloc_event(void);
|
||||
|
||||
/** @} */
|
||||
|
||||
|
@ -497,7 +497,7 @@ int process_run(void);
|
|||
* \retval Non-zero if the process is running.
|
||||
* \retval Zero if the process is not running.
|
||||
*/
|
||||
int process_is_running(struct process *p);
|
||||
CCIF int process_is_running(struct process *p);
|
||||
|
||||
/**
|
||||
* Number of events waiting to be processed.
|
||||
|
|
Loading…
Reference in a new issue