EVE 1.0
toc-app.h File Reference

TOC application API. More...

#include <stdint.h>
#include <stdbool.h>
#include <toc/types.h>
Include dependency graph for toc-app.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  min_max_t
 minimal and maximal possible values for the INTEGER parameters. More...
 
struct  toc_t
 Applikasjon-spesifikk parameter beskrivelse. More...
 

Macros

#define TOC_SYSTEM_SEGMENT_DESCRIPTORS()
 System TOC segments definition.
 
#define BIND_SEGMENT(type, tag)
 The utility macro binds a segment structure "type" with tag "tag". See toc-instance.h for defails.
 
#define TOC_ACL_PUBLIC   (0)
 
#define TOC_ACL_PROTECTED   (1)
 
#define TOC_ACL_PRIVATE   (2)
 
#define TOC_ACL_DENIED   (3)
 
#define TOC_POLICY_PRE_CB   (1 << 0)
 
#define TOC_POLICY_POST_CB   (1 << 1)
 
#define TOC_FLAG_ACL(x)    (((x) & 3) << 0)
 
#define TOC_FLAG_READ_POLICY(x)    (((x) & 3) << 2)
 
#define TOC_FLAG_WRITE_POLICY(x)    (((x) & 3) << 4)
 
#define TOC_FLAG_READ   (1 << 6)
 
#define TOC_FLAG_WRITE   (1 << 7)
 
#define TOC_FLAG_BINARY   (1 << 8)
 
#define TOC_FLAG_VIRTUAL   (1 << 9)
 
#define TOC_FLAG_EXTERN_LIMITS   (1 << 10)
 
#define TOC_FLAG_V_SIZE   (1 << 11)
 
#define TOC_FLAG_BLE_BROADCAST   (1 << 13)
 
#define TOC_FLAG_BLE_NOTIFICATION   (1 << 14)
 
#define TOC_FLAG_BLE_INDICATION   (1 << 15)
 
#define TOC_POLICY_MASK   (3)
 
#define TOC_FLAG_ACL_MASK   TOC_FLAG_ACL(3)
 
#define TOC_FLAG_READ_POLICY_MASK   TOC_FLAG_READ_POLICY(3)
 
#define TOC_FLAG_WRITE_POLICY_MASK   TOC_FLAG_WRITE_POLICY(3)
 

Enumerations

Functions

void TocGetMinMax (const struct toc_blob_t *Ptr, const struct toc_t *Var, struct min_max_t *MinMax)
 
void TocAppGetToc (struct toc_blob_t *Ptr)
 Gir "table of content" (TOC). More...
 

Detailed Description

TOC application API.

Author
DT, Jetro AS

Definition in file toc-app.h.