Main Page | Modules | Data Structures | File List | Data Fields | Globals | Examples

loader.h File Reference


Detailed Description

Default definitions and error values for the Contiki program loader.

Author:
Adam Dunkels <adam@dunkels.com>

#include "loader-arch.h"

Go to the source code of this file.

Defines

#define LOADER_OK   0 /**< No error. */
 No error.

#define LOADER_ERR_READ   1 /**< Read error. */
 Read error.

#define LOADER_ERR_HDR   2 /**< Header error. */
 Header error.

#define LOADER_ERR_OS   3 /**< Wrong OS. */
 Wrong OS.

#define LOADER_ERR_FMT   4 /**< Data format error. */
 Data format error.

#define LOADER_ERR_MEM   5 /**< Not enough memory. */
 Not enough memory.

#define LOADER_ERR_OPEN   6 /**< Could not open file. */
 Could not open file.

#define LOADER_ERR_ARCH   7 /**< Wrong architecture. */
 Wrong architecture.

#define LOADER_ERR_VERSION   8 /**< Wrong OS version. */
 Wrong OS version.

#define LOADER_ERR_NOLOADER   9 /**< Program loading not supported. */
 Program loading not supported.

#define LOADER_LOAD(name, arg)   LOADER_ERR_NOLOADER
 Load and execute a program.

#define LOADER_UNLOAD()
 Unload a program from memory.

#define LOADER_LOAD_DSC(name)   NULL
 Load a DSC (program description).

#define LOADER_UNLOAD_DSC(dsc)
 Unload a DSC (program description).


Generated on Wed Jul 6 01:19:02 2005 for Contiki/ESB by doxygen 1.3.6