beautypg.com

Zgate_use_default_config – Zilog EZ80F91GA User Manual

Page 98

background image

ZGATE API Reference

UM024502-1012

86

ZGATE Embedded Security Development Kit
User Manual

ZGATE_use_default_config

Function Prototype

void ZGATE_use_default_config( void );

Parameters

None.

Return Value

None.

Description

This function deletes the user configuration file named

zg_rules.usr

(if present) from

the root folder of the file system. If the ZTP application does not include ZFS support, this
function does nothing.

The next time the system is powered on, ZGATE will read its initial configuration settings
from the

zg_rules.def

file located in the root folder of the file system. If

zg_rules.usr

does not exist or ZFS support is not included in the ZTP application,

ZGATE will read its start-up configuration settings from the

ZGATE_Conf.c

file that is

linked to the ZTP application.