mbgtools-lx  4.2.8
MBG_DATABASE_SETTINGS Struct Reference

#include <gpsdefs.h>

Data Fields

uint16_t flags
 See MBG_DATABASE_SETTINGS_FLAG_MSKS. More...
 
uint16_t port
 Remote host port. More...
 
uint32_t reserved_2 [7]
 
char user [32]
 Database username. More...
 
char password [32]
 Database password. More...
 
char host [256]
 
char dbname [32]
 Database name. More...
 
char reserved_3 [32]
 
char reserved_4 [32]
 

Detailed Description

Definition at line 23461 of file gpsdefs.h.

Field Documentation

◆ dbname

char MBG_DATABASE_SETTINGS::dbname[32]

Database name.

Definition at line 23477 of file gpsdefs.h.

◆ flags

uint16_t MBG_DATABASE_SETTINGS::flags

See MBG_DATABASE_SETTINGS_FLAG_MSKS.

Definition at line 23463 of file gpsdefs.h.

◆ host

char MBG_DATABASE_SETTINGS::host[256]

MBG_DATABASE_SETTINGS::host can be set to a remote database server (MySQL, PostgreSQL, etc...) or even to a local file path in case of a SQLite database. In case of a local file database MBG_DATABASE_INFO_FLAG_MSK_LOCAL_FILE should be set in MBG_DATABASE_INFO::flags to announce its path. Thus, a capable piece of software can fetch it via TLV API.

Definition at line 23475 of file gpsdefs.h.

◆ password

char MBG_DATABASE_SETTINGS::password[32]

Database password.

Definition at line 23467 of file gpsdefs.h.

◆ port

uint16_t MBG_DATABASE_SETTINGS::port

Remote host port.

Definition at line 23464 of file gpsdefs.h.

◆ reserved_2

uint32_t MBG_DATABASE_SETTINGS::reserved_2[7]

Definition at line 23465 of file gpsdefs.h.

◆ reserved_3

char MBG_DATABASE_SETTINGS::reserved_3[32]

Definition at line 23478 of file gpsdefs.h.

◆ reserved_4

char MBG_DATABASE_SETTINGS::reserved_4[32]

Definition at line 23479 of file gpsdefs.h.

◆ user

char MBG_DATABASE_SETTINGS::user[32]

Database username.

Definition at line 23466 of file gpsdefs.h.


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