libdrmconf  0.10.4
A library to program DMR radios.
Public Member Functions | Public Attributes | List of all members
GD77CallsignDB::userdb_t Struct Reference

Represents the binary call-sign database header. More...

#include <gd77_callsigndb.hh>

Public Member Functions

 userdb_t ()
 Constructor.
 
void clear ()
 Resets the header.
 
void setSize (uint32_t n)
 Sets the number of entries in the call-sign DB.
 

Public Attributes

char magic [8]
 Fixed string 'ID-V001\0'.
 
uint32_t count
 Number of contacts in DB, 32bit little-endian.
 

Detailed Description

Represents the binary call-sign database header.

Memory representation of the call-sign DB header (size: 0x0c bytes):

0                               8
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ ... +
|'I' 'D' '-' 'V' '0' '0' '1'  0 | # entries, LE | Entries     ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ ... +

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