Contiki 2.6

loader.h File Reference

Default definitions and error values for the Contiki program loader. More...

Go to the source code of this file.

Defines

#define LOADER_OK   0
 No error.
#define LOADER_ERR_READ   1
 Read error.
#define LOADER_ERR_HDR   2
 Header error.
#define LOADER_ERR_OS   3
 Wrong OS.
#define LOADER_ERR_FMT   4
 Data format error.
#define LOADER_ERR_MEM   5
 Not enough memory.
#define LOADER_ERR_OPEN   6
 Could not open file.
#define LOADER_ERR_ARCH   7
 Wrong architecture.
#define LOADER_ERR_VERSION   8
 Wrong OS version.
#define LOADER_ERR_NOLOADER   9
 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).

Detailed Description

Default definitions and error values for the Contiki program loader.

Author:
Adam Dunkels <adam@dunkels.com>

Definition in file loader.h.