Zgate_save_config_changes_to_persistent – Zilog EZ80F91GA User Manual

Page 99

Advertising
background image

UM024502-1012

ZGATE Logging Page

ZGATE Embedded Security Development Kit

User Manual

87

ZGATE_save_config_changes_to_persistent

Function Prototype

void ZGATE_save_config_changes_to_persistent( void );

Parameters

None.

Return Value

None.

Description

This function saves the current ZGATE configuration to a file named

zg_rules.usr

in

the root folder of the file system. The next time the system is powered on, it will use the
configuration settings in the

zg_rules.usr

file instead of the configuration settings in

the

zg_rules.def

file (located in the root folder of the files system) or the

ZGATE_Conf.c

file that is linked to the ZTP application.

If this file already exists, the previous contents of the file are overwritten with the new
configuration settings. If the ZTP application does not include ZFS support, this function
does nothing.

Advertising