5 #ifndef _SERIALBURNERDATA_H_ 6 #define _SERIALBURNERDATA_H_ 9 extern MonitorRecord monitor_config;
11 #define DEVICE_NAME_LENGTH (15) 22 #define SERIAL_BURNER_CERTIFICATE_SIZE_MAX ((2 * 1024) - 1) 23 #define SERIAL_BURNER_CERTIFICATE_SIZE_MAX_PEM ((3 * 1024) - 1) 26 #define SERIAL_BURNER_LIBRARY_DEFAULT ((uint8_t)0x00) 27 #define SERIAL_BURNER_DEFAULT ((uint8_t)0x01) 28 #define SERIAL_BURNER_USER_INSTALLED ((uint8_t)0x02) 38 #define SERIAL_BURNER_KEY_SIZE_MAX_PEM ((4 * 1024) - 1) 45 #define boot_iprintf(...) \ 47 if (monitor_config.Quiet == 0) \ 49 iprintf("%s : ", NV_Settings.DeviceName); \ 50 iprintf(__VA_ARGS__); \ 60 #define debug_iprintf(...) \ 62 if (bShowDebug == TRUE) \ 64 iprintf("%s : ", NV_Settings.DeviceName); \ 65 iprintf(__VA_ARGS__); \ 98 struct NV_SettingsStruct
101 char DeviceName[(DEVICE_NAME_LENGTH + 1)];
102 char NetBIOSName[(NETBIOS_NAME_SIZE_IN_CHARS + 1)];
105 uint8_t SslCertificateSource;
106 uint16_t SslCertificateLength;
107 uint16_t SslKeyLength;
112 uint32_t STDEFFSVerifyKey;
124 extern NV_SettingsStruct NV_Settings;
127 extern NV_SettingsStruct gNV_SettingsChangeCopy;
130 extern volatile BOOL gChangedUserParameters;
133 extern BOOL bShowDebug;
143 extern void RegisterPost(
void);
146 extern BOOL UserSaveData(
char *dataPtr,
int dataSize,
const char *fileName);
149 extern BOOL UserGetData(
char *dataPtr,
char *fileName,
int dataSize);
153 extern void SetAndSaveDefaults(
void);
156 extern char GetHexByte(
const char *cp);
Configuration object header file.
void CheckNVSettings()
Definition: webif.cpp:40