Added the CCIF (Contiki Core InterFace) declarations necessary for a loadable packet driver.

This commit is contained in:
oliverschmidt 2006-09-09 23:24:39 +00:00
parent 253dcb44ce
commit 83561d8963
4 changed files with 9 additions and 9 deletions

View File

@ -60,7 +60,7 @@
* *
* Author: Adam Dunkels <adam@sics.se> * Author: Adam Dunkels <adam@sics.se>
* *
* $Id: tcpip.h,v 1.4 2006/08/26 23:58:45 oliverschmidt Exp $ * $Id: tcpip.h,v 1.5 2006/09/09 23:24:39 oliverschmidt Exp $
*/ */
#ifndef __TCPIP_H__ #ifndef __TCPIP_H__
#define __TCPIP_H__ #define __TCPIP_H__
@ -294,7 +294,7 @@ CCIF extern process_event_t tcpip_event;
* and the length of the packet must be in the global * and the length of the packet must be in the global
* uip_len variable. * uip_len variable.
*/ */
void tcpip_input(void); CCIF void tcpip_input(void);
void tcpip_output(void); void tcpip_output(void);
void tcpip_set_forwarding(unsigned char f); void tcpip_set_forwarding(unsigned char f);

View File

@ -46,7 +46,7 @@
* *
* This file is part of the uIP TCP/IP stack. * This file is part of the uIP TCP/IP stack.
* *
* $Id: uip.h,v 1.4 2006/08/26 23:58:45 oliverschmidt Exp $ * $Id: uip.h,v 1.5 2006/09/09 23:24:39 oliverschmidt Exp $
* *
*/ */
@ -432,7 +432,7 @@ void uip_setipid(u16_t id);
} }
\endcode \endcode
*/ */
extern u8_t uip_buf[UIP_BUFSIZE+2]; CCIF extern u8_t uip_buf[UIP_BUFSIZE+2];
/** @} */ /** @} */

View File

@ -28,7 +28,7 @@
* *
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
* *
* @(#)$Id: process.h,v 1.3 2006/08/26 23:59:39 oliverschmidt Exp $ * @(#)$Id: process.h,v 1.4 2006/09/09 23:25:07 oliverschmidt Exp $
*/ */
/** /**
@ -482,7 +482,7 @@ process_event_t process_alloc_event(void);
* *
* \param p A pointer to the process' process structure. * \param p A pointer to the process' process structure.
*/ */
void process_poll(struct process *p); CCIF void process_poll(struct process *p);
/** @} */ /** @} */

View File

@ -28,7 +28,7 @@
* *
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
* *
* @(#)$Id: service.h,v 1.1 2006/06/17 22:41:20 adamdunkels Exp $ * @(#)$Id: service.h,v 1.2 2006/09/09 23:25:07 oliverschmidt Exp $
*/ */
/** \addtogroup sys /** \addtogroup sys
@ -186,8 +186,8 @@ struct service {
*/ */
#define SERVICE_FIND(service_name) service_find(service_name##_name) #define SERVICE_FIND(service_name) service_find(service_name##_name)
void service_register(struct service *s); CCIF void service_register(struct service *s);
void service_remove(struct service *s); CCIF void service_remove(struct service *s);
struct service *service_find(const char *name); struct service *service_find(const char *name);
#endif /* __SERVICE_H__ */ #endif /* __SERVICE_H__ */