Simulated product dispenser

Dependencies:   HTS221

Fork of mbed-cloud-workshop-connect-HTS221 by Jim Carver

Embed: (wiki syntax)

« Back to documentation index

cn_cbor_context Struct Reference

cn_cbor_context Struct Reference

The allocation context. More...

#include <cn-cbor.h>

Data Fields

cn_calloc_func calloc_func
 The pool `calloc` routine.
cn_free_func free_func
 The pool `free` routine.
void * context
 Typically, the pool object, to be used when calling `calloc_func` and `free_func`.

Detailed Description

The allocation context.

Definition at line 206 of file cn-cbor.h.


Field Documentation

The pool `calloc` routine.

Must allocate and zero.

Definition at line 208 of file cn-cbor.h.

void* context

Typically, the pool object, to be used when calling `calloc_func` and `free_func`.

Definition at line 213 of file cn-cbor.h.

The pool `free` routine.

Often a no-op, but required.

Definition at line 210 of file cn-cbor.h.