Fawkes API  Fawkes Development Version
fawkes::interface_header_t Struct Reference

This struct is used as header for interfaces in memory chunks. More...

#include <interface_mem_header.h>

Public Attributes

char type [__INTERFACE_TYPE_SIZE]
 interface type More...
 
char id [__INTERFACE_ID_SIZE]
 interface identifier More...
 
unsigned char hash [__INTERFACE_HASH_SIZE]
 interface type version hash More...
 
uint16_t flag_writer_active: 1
 1 if there is a writer, 0 otherwise More...
 
uint16_t flag_reserved: 15
 reserved for future use More...
 
uint16_t num_readers
 number of active readers More...
 
uint32_t refcount
 reference count More...
 
uint32_t serial
 memory serial More...
 

Detailed Description

This struct is used as header for interfaces in memory chunks.

This header is stored at the beginning of each allocated memory chunk.

Definition at line 36 of file interface_mem_header.h.

Member Data Documentation

◆ flag_reserved

uint16_t fawkes::interface_header_t::flag_reserved

reserved for future use

Definition at line 41 of file interface_mem_header.h.

◆ flag_writer_active

◆ hash

◆ id

◆ num_readers

◆ refcount

◆ serial

◆ type


The documentation for this struct was generated from the following file: