libacfutils
A general purpose library of utility functions designed to make it easier to develop addons for the X-Plane flight simulator.
Loading...
Searching...
No Matches
Data Fields
chart_prov_info_login_t Struct Reference

#include <chartdb.h>

Data Fields

char * username
 
char * password
 
char * cainfo
 

Detailed Description

Specifies login and security information for chart providers. This data is supplied during a call to chartdb_init() and is mandatory for the Autorouter and Navigraph providers, and optional for the Aeronav provider.

Definition at line 75 of file chartdb.h.

Field Documentation

◆ cainfo

char* cainfo

This is used by all providers to supply a list of trusted CA certificates for HTTPS server host verification. This must point to a file on disk which contains a list of CA certificates generated from the cURL source repository using the "make ca-bundle" command. This generates a file named "ca-bundle.crt", which you should ship with your addon and then provide a path to it in this field.

Definition at line 101 of file chartdb.h.

◆ password

char* password
  • For Navigraph, must contain the client secret supplied to you by Navigraph as part of authorizing API access.
  • For Autorouter, must contain the end user's autorouter account password.
  • For Aeronav, this field is ignored.

Definition at line 91 of file chartdb.h.

◆ username

char* username
  • For Navigraph, must contain the client ID supplied to you by Navigraph as part of authorizing API access.
  • For Autorouter, must contain the end user's autorouter account username.
  • For Aeronav, this field is ignored.

Definition at line 83 of file chartdb.h.


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