1443 lines
61 KiB
C
1443 lines
61 KiB
C
/* Solidification of autoconf_module.h */
|
|
/********************************************************************\
|
|
* Generated code, don't edit *
|
|
\********************************************************************/
|
|
#include "be_constobj.h"
|
|
|
|
extern const bclass be_class_Autoconf;
|
|
|
|
/********************************************************************
|
|
** Solidified function: page_autoconf_ctl
|
|
********************************************************************/
|
|
be_local_closure(class_Autoconf_page_autoconf_ctl, /* name */
|
|
be_nested_proto(
|
|
11, /* nstack */
|
|
1, /* argc */
|
|
2, /* varg */
|
|
0, /* has upvals */
|
|
NULL, /* no upvals */
|
|
0, /* has sup protos */
|
|
NULL, /* no sub protos */
|
|
1, /* has constants */
|
|
( &(const bvalue[39]) { /* constants */
|
|
/* K0 */ be_nested_str(webserver),
|
|
/* K1 */ be_nested_str(path),
|
|
/* K2 */ be_nested_str(check_privileged_access),
|
|
/* K3 */ be_nested_str(has_arg),
|
|
/* K4 */ be_nested_str(reapply),
|
|
/* K5 */ be_nested_str(tasmota),
|
|
/* K6 */ be_nested_str(log),
|
|
/* K7 */ be_nested_str(CFG_X3A_X20removing_X20first_X20time_X20marker),
|
|
/* K8 */ be_const_int(2),
|
|
/* K9 */ be_nested_str(clear_first_time),
|
|
/* K10 */ be_nested_str(redirect),
|
|
/* K11 */ be_nested_str(_X2F_X3Frst_X3D),
|
|
/* K12 */ be_nested_str(zip),
|
|
/* K13 */ be_nested_str(CFG_X3A_X20removing_X20autoconf_X20files),
|
|
/* K14 */ be_nested_str(delete_all_configs),
|
|
/* K15 */ be_nested_str(arg),
|
|
/* K16 */ be_nested_str(reset),
|
|
/* K17 */ be_nested_str(https_X3A_X2F_X2Fraw_X2Egithubusercontent_X2Ecom_X2Ftasmota_X2Fautoconf_X2Fmain_X2F_X25s_X2F_X25s_X2Eautoconf),
|
|
/* K18 */ be_nested_str(arch),
|
|
/* K19 */ be_nested_str(CFG_X3A_X20downloading_X20_X27_X25s_X27),
|
|
/* K20 */ be_nested_str(_X25s_X2Eautoconf),
|
|
/* K21 */ be_nested_str(webclient),
|
|
/* K22 */ be_nested_str(begin),
|
|
/* K23 */ be_nested_str(GET),
|
|
/* K24 */ be_nested_str(return_X20code_X3D_X25i),
|
|
/* K25 */ be_nested_str(connection_error),
|
|
/* K26 */ be_nested_str(write_file),
|
|
/* K27 */ be_nested_str(close),
|
|
/* K28 */ be_nested_str(value_error),
|
|
/* K29 */ be_nested_str(Unknown_X20command),
|
|
/* K30 */ be_nested_str(CFG_X3A_X20Exception_X3E_X20_X27_X25s_X27_X20_X2D_X20_X25s),
|
|
/* K31 */ be_nested_str(content_start),
|
|
/* K32 */ be_nested_str(Parameter_X20error),
|
|
/* K33 */ be_nested_str(content_send_style),
|
|
/* K34 */ be_nested_str(content_send),
|
|
/* K35 */ be_nested_str(_X3Cp_X20style_X3D_X27width_X3A340px_X3B_X27_X3E_X3Cb_X3EException_X3A_X3C_X2Fb_X3E_X3Cbr_X3E_X27_X25s_X27_X3Cbr_X3E_X25s_X3C_X2Fp_X3E),
|
|
/* K36 */ be_nested_str(content_button),
|
|
/* K37 */ be_nested_str(BUTTON_CONFIGURATION),
|
|
/* K38 */ be_nested_str(content_stop),
|
|
}),
|
|
&be_const_str_page_autoconf_ctl,
|
|
&be_const_str_solidified,
|
|
( &(const binstruction[116]) { /* code */
|
|
0xA4060000, // 0000 IMPORT R1 K0
|
|
0xA40A0200, // 0001 IMPORT R2 K1
|
|
0x8C0C0302, // 0002 GETMET R3 R1 K2
|
|
0x7C0C0200, // 0003 CALL R3 1
|
|
0x740E0001, // 0004 JMPT R3 #0007
|
|
0x4C0C0000, // 0005 LDNIL R3
|
|
0x80040600, // 0006 RET 1 R3
|
|
0xA802004E, // 0007 EXBLK 0 #0057
|
|
0x8C0C0303, // 0008 GETMET R3 R1 K3
|
|
0x58140004, // 0009 LDCONST R5 K4
|
|
0x7C0C0400, // 000A CALL R3 2
|
|
0x780E000A, // 000B JMPF R3 #0017
|
|
0xB80E0A00, // 000C GETNGBL R3 K5
|
|
0x8C0C0706, // 000D GETMET R3 R3 K6
|
|
0x58140007, // 000E LDCONST R5 K7
|
|
0x58180008, // 000F LDCONST R6 K8
|
|
0x7C0C0600, // 0010 CALL R3 3
|
|
0x8C0C0109, // 0011 GETMET R3 R0 K9
|
|
0x7C0C0200, // 0012 CALL R3 1
|
|
0x8C0C030A, // 0013 GETMET R3 R1 K10
|
|
0x5814000B, // 0014 LDCONST R5 K11
|
|
0x7C0C0400, // 0015 CALL R3 2
|
|
0x7002003D, // 0016 JMP #0055
|
|
0x8C0C0303, // 0017 GETMET R3 R1 K3
|
|
0x5814000C, // 0018 LDCONST R5 K12
|
|
0x7C0C0400, // 0019 CALL R3 2
|
|
0x780E0038, // 001A JMPF R3 #0054
|
|
0xB80E0A00, // 001B GETNGBL R3 K5
|
|
0x8C0C0706, // 001C GETMET R3 R3 K6
|
|
0x5814000D, // 001D LDCONST R5 K13
|
|
0x58180008, // 001E LDCONST R6 K8
|
|
0x7C0C0600, // 001F CALL R3 3
|
|
0x8C0C010E, // 0020 GETMET R3 R0 K14
|
|
0x7C0C0200, // 0021 CALL R3 1
|
|
0x8C0C030F, // 0022 GETMET R3 R1 K15
|
|
0x5814000C, // 0023 LDCONST R5 K12
|
|
0x7C0C0400, // 0024 CALL R3 2
|
|
0x20100710, // 0025 NE R4 R3 K16
|
|
0x78120026, // 0026 JMPF R4 #004E
|
|
0x60100018, // 0027 GETGBL R4 G24
|
|
0x58140011, // 0028 LDCONST R5 K17
|
|
0xB81A0A00, // 0029 GETNGBL R6 K5
|
|
0x8C180D12, // 002A GETMET R6 R6 K18
|
|
0x7C180200, // 002B CALL R6 1
|
|
0x5C1C0600, // 002C MOVE R7 R3
|
|
0x7C100600, // 002D CALL R4 3
|
|
0xB8160A00, // 002E GETNGBL R5 K5
|
|
0x8C140B06, // 002F GETMET R5 R5 K6
|
|
0x601C0018, // 0030 GETGBL R7 G24
|
|
0x58200013, // 0031 LDCONST R8 K19
|
|
0x5C240800, // 0032 MOVE R9 R4
|
|
0x7C1C0400, // 0033 CALL R7 2
|
|
0x58200008, // 0034 LDCONST R8 K8
|
|
0x7C140600, // 0035 CALL R5 3
|
|
0x60140018, // 0036 GETGBL R5 G24
|
|
0x58180014, // 0037 LDCONST R6 K20
|
|
0x5C1C0600, // 0038 MOVE R7 R3
|
|
0x7C140400, // 0039 CALL R5 2
|
|
0xB81A2A00, // 003A GETNGBL R6 K21
|
|
0x7C180000, // 003B CALL R6 0
|
|
0x8C1C0D16, // 003C GETMET R7 R6 K22
|
|
0x5C240800, // 003D MOVE R9 R4
|
|
0x7C1C0400, // 003E CALL R7 2
|
|
0x8C1C0D17, // 003F GETMET R7 R6 K23
|
|
0x7C1C0200, // 0040 CALL R7 1
|
|
0x542200C7, // 0041 LDINT R8 200
|
|
0x20200E08, // 0042 NE R8 R7 R8
|
|
0x78220004, // 0043 JMPF R8 #0049
|
|
0x60200018, // 0044 GETGBL R8 G24
|
|
0x58240018, // 0045 LDCONST R9 K24
|
|
0x5C280E00, // 0046 MOVE R10 R7
|
|
0x7C200400, // 0047 CALL R8 2
|
|
0xB0063208, // 0048 RAISE 1 K25 R8
|
|
0x8C200D1A, // 0049 GETMET R8 R6 K26
|
|
0x5C280A00, // 004A MOVE R10 R5
|
|
0x7C200400, // 004B CALL R8 2
|
|
0x8C200D1B, // 004C GETMET R8 R6 K27
|
|
0x7C200200, // 004D CALL R8 1
|
|
0x8C100109, // 004E GETMET R4 R0 K9
|
|
0x7C100200, // 004F CALL R4 1
|
|
0x8C10030A, // 0050 GETMET R4 R1 K10
|
|
0x5818000B, // 0051 LDCONST R6 K11
|
|
0x7C100400, // 0052 CALL R4 2
|
|
0x70020000, // 0053 JMP #0055
|
|
0xB006391D, // 0054 RAISE 1 K28 K29
|
|
0xA8040001, // 0055 EXBLK 1 1
|
|
0x7002001B, // 0056 JMP #0073
|
|
0xAC0C0002, // 0057 CATCH R3 0 2
|
|
0x70020018, // 0058 JMP #0072
|
|
0x60140001, // 0059 GETGBL R5 G1
|
|
0x60180018, // 005A GETGBL R6 G24
|
|
0x581C001E, // 005B LDCONST R7 K30
|
|
0x5C200600, // 005C MOVE R8 R3
|
|
0x5C240800, // 005D MOVE R9 R4
|
|
0x7C180600, // 005E CALL R6 3
|
|
0x7C140200, // 005F CALL R5 1
|
|
0x8C14031F, // 0060 GETMET R5 R1 K31
|
|
0x581C0020, // 0061 LDCONST R7 K32
|
|
0x7C140400, // 0062 CALL R5 2
|
|
0x8C140321, // 0063 GETMET R5 R1 K33
|
|
0x7C140200, // 0064 CALL R5 1
|
|
0x8C140322, // 0065 GETMET R5 R1 K34
|
|
0x601C0018, // 0066 GETGBL R7 G24
|
|
0x58200023, // 0067 LDCONST R8 K35
|
|
0x5C240600, // 0068 MOVE R9 R3
|
|
0x5C280800, // 0069 MOVE R10 R4
|
|
0x7C1C0600, // 006A CALL R7 3
|
|
0x7C140400, // 006B CALL R5 2
|
|
0x8C140324, // 006C GETMET R5 R1 K36
|
|
0x881C0325, // 006D GETMBR R7 R1 K37
|
|
0x7C140400, // 006E CALL R5 2
|
|
0x8C140326, // 006F GETMET R5 R1 K38
|
|
0x7C140200, // 0070 CALL R5 1
|
|
0x70020000, // 0071 JMP #0073
|
|
0xB0080000, // 0072 RAISE 2 R0 R0
|
|
0x80000000, // 0073 RET 0
|
|
})
|
|
)
|
|
);
|
|
/*******************************************************************/
|
|
|
|
|
|
/********************************************************************
|
|
** Solidified function: autoexec
|
|
********************************************************************/
|
|
be_local_closure(class_Autoconf_autoexec, /* name */
|
|
be_nested_proto(
|
|
13, /* nstack */
|
|
1, /* argc */
|
|
2, /* varg */
|
|
0, /* has upvals */
|
|
NULL, /* no upvals */
|
|
0, /* has sup protos */
|
|
NULL, /* no sub protos */
|
|
1, /* has constants */
|
|
( &(const bvalue[30]) { /* constants */
|
|
/* K0 */ be_nested_str(_archive),
|
|
/* K1 */ be_nested_str(path),
|
|
/* K2 */ be_nested_str(_X23init_X2Ebat),
|
|
/* K3 */ be_nested_str(is_first_time),
|
|
/* K4 */ be_nested_str(exists),
|
|
/* K5 */ be_nested_str(set_first_time),
|
|
/* K6 */ be_nested_str(run_bat),
|
|
/* K7 */ be_nested_str(tasmota),
|
|
/* K8 */ be_nested_str(log),
|
|
/* K9 */ be_nested_str(CFG_X3A_X20_X27init_X2Ebat_X27_X20done_X2C_X20restarting),
|
|
/* K10 */ be_const_int(2),
|
|
/* K11 */ be_nested_str(_X23display_X2Eini),
|
|
/* K12 */ be_nested_str(display_X2Eini),
|
|
/* K13 */ be_nested_str(r),
|
|
/* K14 */ be_nested_str(w),
|
|
/* K15 */ be_nested_str(readbytes),
|
|
/* K16 */ be_nested_str(write),
|
|
/* K17 */ be_nested_str(close),
|
|
/* K18 */ be_nested_str(CFG_X3A_X20_X27display_X2Eini_X27_X20extracted_X2C_X20restarting),
|
|
/* K19 */ be_nested_str(CFG_X3A_X20could_X20not_X20copy_X20_X27display_X2Eini_X27_X20_X28_X25s_X20_X2D_X20_X25s_X29_X27),
|
|
/* K20 */ be_nested_str(cmd),
|
|
/* K21 */ be_nested_str(Restart_X201),
|
|
/* K22 */ be_nested_str(_X23autoexec_X2Ebat),
|
|
/* K23 */ be_nested_str(CFG_X3A_X20running_X20),
|
|
/* K24 */ be_const_int(3),
|
|
/* K25 */ be_nested_str(CFG_X3A_X20ran_X20_X20),
|
|
/* K26 */ be_nested_str(_X23autoexec_X2Ebe),
|
|
/* K27 */ be_nested_str(CFG_X3A_X20loading_X20),
|
|
/* K28 */ be_nested_str(load),
|
|
/* K29 */ be_nested_str(CFG_X3A_X20loaded_X20_X20),
|
|
}),
|
|
&be_const_str_autoexec,
|
|
&be_const_str_solidified,
|
|
( &(const binstruction[147]) { /* code */
|
|
0x88040100, // 0000 GETMBR R1 R0 K0
|
|
0x4C080000, // 0001 LDNIL R2
|
|
0x1C040202, // 0002 EQ R1 R1 R2
|
|
0x78060000, // 0003 JMPF R1 #0005
|
|
0x80000200, // 0004 RET 0
|
|
0xA4060200, // 0005 IMPORT R1 K1
|
|
0x50080000, // 0006 LDBOOL R2 0 0
|
|
0x880C0100, // 0007 GETMBR R3 R0 K0
|
|
0x000C0702, // 0008 ADD R3 R3 K2
|
|
0x8C100103, // 0009 GETMET R4 R0 K3
|
|
0x7C100200, // 000A CALL R4 1
|
|
0x7812000F, // 000B JMPF R4 #001C
|
|
0x8C100304, // 000C GETMET R4 R1 K4
|
|
0x5C180600, // 000D MOVE R6 R3
|
|
0x7C100400, // 000E CALL R4 2
|
|
0x7812000B, // 000F JMPF R4 #001C
|
|
0x8C100105, // 0010 GETMET R4 R0 K5
|
|
0x7C100200, // 0011 CALL R4 1
|
|
0x8C100106, // 0012 GETMET R4 R0 K6
|
|
0x5C180600, // 0013 MOVE R6 R3
|
|
0x7C100400, // 0014 CALL R4 2
|
|
0xB8120E00, // 0015 GETNGBL R4 K7
|
|
0x8C100908, // 0016 GETMET R4 R4 K8
|
|
0x58180009, // 0017 LDCONST R6 K9
|
|
0x581C000A, // 0018 LDCONST R7 K10
|
|
0x7C100600, // 0019 CALL R4 3
|
|
0x50080200, // 001A LDBOOL R2 1 0
|
|
0x80000800, // 001B RET 0
|
|
0x88100100, // 001C GETMBR R4 R0 K0
|
|
0x0010090B, // 001D ADD R4 R4 K11
|
|
0x5C0C0800, // 001E MOVE R3 R4
|
|
0x8C100304, // 001F GETMET R4 R1 K4
|
|
0x5C180600, // 0020 MOVE R6 R3
|
|
0x7C100400, // 0021 CALL R4 2
|
|
0x78120040, // 0022 JMPF R4 #0064
|
|
0x8C100103, // 0023 GETMET R4 R0 K3
|
|
0x7C100200, // 0024 CALL R4 1
|
|
0x74120003, // 0025 JMPT R4 #002A
|
|
0x8C100304, // 0026 GETMET R4 R1 K4
|
|
0x5818000C, // 0027 LDCONST R6 K12
|
|
0x7C100400, // 0028 CALL R4 2
|
|
0x74120039, // 0029 JMPT R4 #0064
|
|
0x8C100103, // 002A GETMET R4 R0 K3
|
|
0x7C100200, // 002B CALL R4 1
|
|
0x78120003, // 002C JMPF R4 #0031
|
|
0x5C100400, // 002D MOVE R4 R2
|
|
0x74120001, // 002E JMPT R4 #0031
|
|
0x8C100105, // 002F GETMET R4 R0 K5
|
|
0x7C100200, // 0030 CALL R4 1
|
|
0x4C100000, // 0031 LDNIL R4
|
|
0x4C140000, // 0032 LDNIL R5
|
|
0xA802001A, // 0033 EXBLK 0 #004F
|
|
0x60180011, // 0034 GETGBL R6 G17
|
|
0x5C1C0600, // 0035 MOVE R7 R3
|
|
0x5820000D, // 0036 LDCONST R8 K13
|
|
0x7C180400, // 0037 CALL R6 2
|
|
0x5C100C00, // 0038 MOVE R4 R6
|
|
0x60180011, // 0039 GETGBL R6 G17
|
|
0x581C000C, // 003A LDCONST R7 K12
|
|
0x5820000E, // 003B LDCONST R8 K14
|
|
0x7C180400, // 003C CALL R6 2
|
|
0x5C140C00, // 003D MOVE R5 R6
|
|
0x8C18090F, // 003E GETMET R6 R4 K15
|
|
0x7C180200, // 003F CALL R6 1
|
|
0x8C1C0B10, // 0040 GETMET R7 R5 K16
|
|
0x5C240C00, // 0041 MOVE R9 R6
|
|
0x7C1C0400, // 0042 CALL R7 2
|
|
0x8C1C0911, // 0043 GETMET R7 R4 K17
|
|
0x7C1C0200, // 0044 CALL R7 1
|
|
0x8C1C0B11, // 0045 GETMET R7 R5 K17
|
|
0x7C1C0200, // 0046 CALL R7 1
|
|
0x50080200, // 0047 LDBOOL R2 1 0
|
|
0xB81E0E00, // 0048 GETNGBL R7 K7
|
|
0x8C1C0F08, // 0049 GETMET R7 R7 K8
|
|
0x58240012, // 004A LDCONST R9 K18
|
|
0x5828000A, // 004B LDCONST R10 K10
|
|
0x7C1C0600, // 004C CALL R7 3
|
|
0xA8040001, // 004D EXBLK 1 1
|
|
0x70020014, // 004E JMP #0064
|
|
0xAC180002, // 004F CATCH R6 0 2
|
|
0x70020011, // 0050 JMP #0063
|
|
0x60200001, // 0051 GETGBL R8 G1
|
|
0x60240018, // 0052 GETGBL R9 G24
|
|
0x58280013, // 0053 LDCONST R10 K19
|
|
0x5C2C0C00, // 0054 MOVE R11 R6
|
|
0x5C300E00, // 0055 MOVE R12 R7
|
|
0x7C240600, // 0056 CALL R9 3
|
|
0x7C200200, // 0057 CALL R8 1
|
|
0x4C200000, // 0058 LDNIL R8
|
|
0x20200808, // 0059 NE R8 R4 R8
|
|
0x78220001, // 005A JMPF R8 #005D
|
|
0x8C200911, // 005B GETMET R8 R4 K17
|
|
0x7C200200, // 005C CALL R8 1
|
|
0x4C200000, // 005D LDNIL R8
|
|
0x20200A08, // 005E NE R8 R5 R8
|
|
0x78220001, // 005F JMPF R8 #0062
|
|
0x8C200B11, // 0060 GETMET R8 R5 K17
|
|
0x7C200200, // 0061 CALL R8 1
|
|
0x70020000, // 0062 JMP #0064
|
|
0xB0080000, // 0063 RAISE 2 R0 R0
|
|
0x780A0004, // 0064 JMPF R2 #006A
|
|
0xB8120E00, // 0065 GETNGBL R4 K7
|
|
0x8C100914, // 0066 GETMET R4 R4 K20
|
|
0x58180015, // 0067 LDCONST R6 K21
|
|
0x7C100400, // 0068 CALL R4 2
|
|
0x80000800, // 0069 RET 0
|
|
0x88100100, // 006A GETMBR R4 R0 K0
|
|
0x00100916, // 006B ADD R4 R4 K22
|
|
0x5C0C0800, // 006C MOVE R3 R4
|
|
0x8C100304, // 006D GETMET R4 R1 K4
|
|
0x5C180600, // 006E MOVE R6 R3
|
|
0x7C100400, // 006F CALL R4 2
|
|
0x7812000C, // 0070 JMPF R4 #007E
|
|
0xB8120E00, // 0071 GETNGBL R4 K7
|
|
0x8C100908, // 0072 GETMET R4 R4 K8
|
|
0x001A2E03, // 0073 ADD R6 K23 R3
|
|
0x581C0018, // 0074 LDCONST R7 K24
|
|
0x7C100600, // 0075 CALL R4 3
|
|
0x8C100106, // 0076 GETMET R4 R0 K6
|
|
0x5C180600, // 0077 MOVE R6 R3
|
|
0x7C100400, // 0078 CALL R4 2
|
|
0xB8120E00, // 0079 GETNGBL R4 K7
|
|
0x8C100908, // 007A GETMET R4 R4 K8
|
|
0x001A3203, // 007B ADD R6 K25 R3
|
|
0x581C0018, // 007C LDCONST R7 K24
|
|
0x7C100600, // 007D CALL R4 3
|
|
0x88100100, // 007E GETMBR R4 R0 K0
|
|
0x0010091A, // 007F ADD R4 R4 K26
|
|
0x5C0C0800, // 0080 MOVE R3 R4
|
|
0x8C100304, // 0081 GETMET R4 R1 K4
|
|
0x5C180600, // 0082 MOVE R6 R3
|
|
0x7C100400, // 0083 CALL R4 2
|
|
0x7812000C, // 0084 JMPF R4 #0092
|
|
0xB8120E00, // 0085 GETNGBL R4 K7
|
|
0x8C100908, // 0086 GETMET R4 R4 K8
|
|
0x001A3603, // 0087 ADD R6 K27 R3
|
|
0x581C0018, // 0088 LDCONST R7 K24
|
|
0x7C100600, // 0089 CALL R4 3
|
|
0xB8123800, // 008A GETNGBL R4 K28
|
|
0x5C140600, // 008B MOVE R5 R3
|
|
0x7C100200, // 008C CALL R4 1
|
|
0xB8120E00, // 008D GETNGBL R4 K7
|
|
0x8C100908, // 008E GETMET R4 R4 K8
|
|
0x001A3A03, // 008F ADD R6 K29 R3
|
|
0x581C0018, // 0090 LDCONST R7 K24
|
|
0x7C100600, // 0091 CALL R4 3
|
|
0x80000000, // 0092 RET 0
|
|
})
|
|
)
|
|
);
|
|
/*******************************************************************/
|
|
|
|
|
|
/********************************************************************
|
|
** Solidified function: run_bat
|
|
********************************************************************/
|
|
be_local_closure(class_Autoconf_run_bat, /* name */
|
|
be_nested_proto(
|
|
12, /* nstack */
|
|
2, /* argc */
|
|
2, /* varg */
|
|
0, /* has upvals */
|
|
NULL, /* no upvals */
|
|
0, /* has sup protos */
|
|
NULL, /* no sub protos */
|
|
1, /* has constants */
|
|
( &(const bvalue[11]) { /* constants */
|
|
/* K0 */ be_nested_str(r),
|
|
/* K1 */ be_nested_str(readline),
|
|
/* K2 */ be_const_int(0),
|
|
/* K3 */ be_nested_str(_X0A),
|
|
/* K4 */ be_nested_str(_X0D),
|
|
/* K5 */ be_nested_str(tasmota),
|
|
/* K6 */ be_nested_str(cmd),
|
|
/* K7 */ be_nested_str(close),
|
|
/* K8 */ be_nested_str(log),
|
|
/* K9 */ be_nested_str(CFG_X3A_X20could_X20not_X20run_X20_X25s_X20_X28_X25s_X20_X2D_X20_X25s_X29),
|
|
/* K10 */ be_const_int(1),
|
|
}),
|
|
&be_const_str_run_bat,
|
|
&be_const_str_solidified,
|
|
( &(const binstruction[68]) { /* code */
|
|
0x4C080000, // 0000 LDNIL R2
|
|
0xA802002D, // 0001 EXBLK 0 #0030
|
|
0x600C0011, // 0002 GETGBL R3 G17
|
|
0x5C100200, // 0003 MOVE R4 R1
|
|
0x58140000, // 0004 LDCONST R5 K0
|
|
0x7C0C0400, // 0005 CALL R3 2
|
|
0x5C080600, // 0006 MOVE R2 R3
|
|
0x500C0200, // 0007 LDBOOL R3 1 0
|
|
0x780E0022, // 0008 JMPF R3 #002C
|
|
0x8C0C0501, // 0009 GETMET R3 R2 K1
|
|
0x7C0C0200, // 000A CALL R3 1
|
|
0x6010000C, // 000B GETGBL R4 G12
|
|
0x5C140600, // 000C MOVE R5 R3
|
|
0x7C100200, // 000D CALL R4 1
|
|
0x1C100902, // 000E EQ R4 R4 K2
|
|
0x78120000, // 000F JMPF R4 #0011
|
|
0x7002001A, // 0010 JMP #002C
|
|
0x6010000C, // 0011 GETGBL R4 G12
|
|
0x5C140600, // 0012 MOVE R5 R3
|
|
0x7C100200, // 0013 CALL R4 1
|
|
0x24100902, // 0014 GT R4 R4 K2
|
|
0x7812000B, // 0015 JMPF R4 #0022
|
|
0x5411FFFE, // 0016 LDINT R4 -1
|
|
0x94100604, // 0017 GETIDX R4 R3 R4
|
|
0x1C100903, // 0018 EQ R4 R4 K3
|
|
0x74120003, // 0019 JMPT R4 #001E
|
|
0x5411FFFE, // 001A LDINT R4 -1
|
|
0x94100604, // 001B GETIDX R4 R3 R4
|
|
0x1C100904, // 001C EQ R4 R4 K4
|
|
0x78120003, // 001D JMPF R4 #0022
|
|
0x5411FFFD, // 001E LDINT R4 -2
|
|
0x40120404, // 001F CONNECT R4 K2 R4
|
|
0x940C0604, // 0020 GETIDX R3 R3 R4
|
|
0x7001FFEE, // 0021 JMP #0011
|
|
0x6010000C, // 0022 GETGBL R4 G12
|
|
0x5C140600, // 0023 MOVE R5 R3
|
|
0x7C100200, // 0024 CALL R4 1
|
|
0x24100902, // 0025 GT R4 R4 K2
|
|
0x78120003, // 0026 JMPF R4 #002B
|
|
0xB8120A00, // 0027 GETNGBL R4 K5
|
|
0x8C100906, // 0028 GETMET R4 R4 K6
|
|
0x5C180600, // 0029 MOVE R6 R3
|
|
0x7C100400, // 002A CALL R4 2
|
|
0x7001FFDA, // 002B JMP #0007
|
|
0x8C0C0507, // 002C GETMET R3 R2 K7
|
|
0x7C0C0200, // 002D CALL R3 1
|
|
0xA8040001, // 002E EXBLK 1 1
|
|
0x70020012, // 002F JMP #0043
|
|
0xAC0C0002, // 0030 CATCH R3 0 2
|
|
0x7002000F, // 0031 JMP #0042
|
|
0xB8160A00, // 0032 GETNGBL R5 K5
|
|
0x8C140B08, // 0033 GETMET R5 R5 K8
|
|
0x601C0018, // 0034 GETGBL R7 G24
|
|
0x58200009, // 0035 LDCONST R8 K9
|
|
0x5C240200, // 0036 MOVE R9 R1
|
|
0x5C280600, // 0037 MOVE R10 R3
|
|
0x5C2C0800, // 0038 MOVE R11 R4
|
|
0x7C1C0800, // 0039 CALL R7 4
|
|
0x5820000A, // 003A LDCONST R8 K10
|
|
0x7C140600, // 003B CALL R5 3
|
|
0x4C140000, // 003C LDNIL R5
|
|
0x20140405, // 003D NE R5 R2 R5
|
|
0x78160001, // 003E JMPF R5 #0041
|
|
0x8C140507, // 003F GETMET R5 R2 K7
|
|
0x7C140200, // 0040 CALL R5 1
|
|
0x70020000, // 0041 JMP #0043
|
|
0xB0080000, // 0042 RAISE 2 R0 R0
|
|
0x80000000, // 0043 RET 0
|
|
})
|
|
)
|
|
);
|
|
/*******************************************************************/
|
|
|
|
|
|
/********************************************************************
|
|
** Solidified function: page_autoconf_mgr
|
|
********************************************************************/
|
|
be_local_closure(class_Autoconf_page_autoconf_mgr, /* name */
|
|
be_nested_proto(
|
|
18, /* nstack */
|
|
1, /* argc */
|
|
2, /* varg */
|
|
0, /* has upvals */
|
|
NULL, /* no upvals */
|
|
0, /* has sup protos */
|
|
NULL, /* no sub protos */
|
|
1, /* has constants */
|
|
( &(const bvalue[38]) { /* constants */
|
|
/* K0 */ be_nested_str(webserver),
|
|
/* K1 */ be_nested_str(string),
|
|
/* K2 */ be_nested_str(check_privileged_access),
|
|
/* K3 */ be_nested_str(content_start),
|
|
/* K4 */ be_nested_str(Auto_X2Dconfiguration),
|
|
/* K5 */ be_nested_str(content_send_style),
|
|
/* K6 */ be_nested_str(content_send),
|
|
/* K7 */ be_nested_str(_X3Cp_X3E_X3Csmall_X3E_X26nbsp_X3B_X28This_X20feature_X20requires_X20an_X20internet_X20connection_X29_X3C_X2Fsmall_X3E_X3C_X2Fp_X3E),
|
|
/* K8 */ be_nested_str(get_current_module_path),
|
|
/* K9 */ be_nested_str(tr),
|
|
/* K10 */ be_nested_str(get_current_module_name),
|
|
/* K11 */ be_nested_str(_),
|
|
/* K12 */ be_nested_str(_X20),
|
|
/* K13 */ be_nested_str(_error),
|
|
/* K14 */ be_nested_str(_X26lt_X3BError_X3A_X20apply_X20new_X20or_X20remove_X26gt_X3B),
|
|
/* K15 */ be_nested_str(_X26lt_X3BNone_X26gt_X3B),
|
|
/* K16 */ be_nested_str(_X3Cfieldset_X3E_X3Cstyle_X3E_X2Ebdis_X7Bbackground_X3A_X23888_X3B_X7D_X2Ebdis_X3Ahover_X7Bbackground_X3A_X23888_X3B_X7D_X3C_X2Fstyle_X3E),
|
|
/* K17 */ be_nested_str(_X3Clegend_X3E_X3Cb_X20title_X3D_X27Autoconfiguration_X27_X3E_X26nbsp_X3BCurrent_X20auto_X2Dconfiguration_X3C_X2Fb_X3E_X3C_X2Flegend_X3E),
|
|
/* K18 */ be_nested_str(_X3Cp_X3ECurrent_X20configuration_X3A_X20_X3C_X2Fp_X3E_X3Cp_X3E_X3Cb_X3E_X25s_X3C_X2Fb_X3E_X3C_X2Fp_X3E),
|
|
/* K19 */ be_nested_str(_X3Cp_X3E_X3Cform_X20id_X3Dreapply_X20style_X3D_X27display_X3A_X20block_X3B_X27_X20action_X3D_X27_X2Fac_X27_X20method_X3D_X27post_X27_X20),
|
|
/* K20 */ be_nested_str(onsubmit_X3D_X27return_X20confirm_X28_X22This_X20will_X20cause_X20a_X20restart_X2E_X22_X29_X3B_X27_X3E),
|
|
/* K21 */ be_nested_str(_X3Cbutton_X20name_X3D_X27reapply_X27_X20class_X3D_X27button_X20bgrn_X27_X3ERe_X2Dapply_X20current_X20configuration_X3C_X2Fbutton_X3E),
|
|
/* K22 */ be_nested_str(_X3C_X2Fform_X3E_X3C_X2Fp_X3E),
|
|
/* K23 */ be_nested_str(_X3Cp_X3E_X3C_X2Fp_X3E_X3C_X2Ffieldset_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
|
|
/* K24 */ be_nested_str(_X3Clegend_X3E_X3Cb_X20title_X3D_X27New_X20autoconf_X27_X3E_X26nbsp_X3BSelect_X20new_X20auto_X2Dconfiguration_X3C_X2Fb_X3E_X3C_X2Flegend_X3E),
|
|
/* K25 */ be_nested_str(_X3Cp_X3E_X3Cform_X20id_X3Dzip_X20style_X3D_X27display_X3A_X20block_X3B_X27_X20action_X3D_X27_X2Fac_X27_X20method_X3D_X27post_X27_X20),
|
|
/* K26 */ be_nested_str(onsubmit_X3D_X27return_X20confirm_X28_X22This_X20will_X20change_X20the_X20current_X20configuration_X20and_X20cause_X20a_X20restart_X2E_X22_X29_X3B_X27_X3E),
|
|
/* K27 */ be_nested_str(_X3Clabel_X3EChoose_X20a_X20device_X20configuration_X3A_X3C_X2Flabel_X3E_X3Cbr_X3E),
|
|
/* K28 */ be_nested_str(_X3Cselect_X20name_X3D_X27zip_X27_X3E),
|
|
/* K29 */ be_nested_str(load_templates),
|
|
/* K30 */ be_nested_str(_X3Coption_X20value_X3D_X27reset_X27_X3E_X26lt_X3BRemove_X20autoconf_X26gt_X3B_X3C_X2Foption_X3E),
|
|
/* K31 */ be_nested_str(_X3Coption_X20value_X3D_X27_X25s_X27_X3E_X25s_X3C_X2Foption_X3E),
|
|
/* K32 */ be_nested_str(stop_iteration),
|
|
/* K33 */ be_nested_str(_X3C_X2Fselect_X3E_X3Cp_X3E_X3C_X2Fp_X3E),
|
|
/* K34 */ be_nested_str(_X3Cbutton_X20name_X3D_X27zipapply_X27_X20class_X3D_X27button_X20bgrn_X27_X3EApply_X20configuration_X3C_X2Fbutton_X3E),
|
|
/* K35 */ be_nested_str(content_button),
|
|
/* K36 */ be_nested_str(BUTTON_CONFIGURATION),
|
|
/* K37 */ be_nested_str(content_stop),
|
|
}),
|
|
&be_const_str_page_autoconf_mgr,
|
|
&be_const_str_solidified,
|
|
( &(const binstruction[124]) { /* code */
|
|
0xA4060000, // 0000 IMPORT R1 K0
|
|
0xA40A0200, // 0001 IMPORT R2 K1
|
|
0x8C0C0302, // 0002 GETMET R3 R1 K2
|
|
0x7C0C0200, // 0003 CALL R3 1
|
|
0x740E0001, // 0004 JMPT R3 #0007
|
|
0x4C0C0000, // 0005 LDNIL R3
|
|
0x80040600, // 0006 RET 1 R3
|
|
0x8C0C0303, // 0007 GETMET R3 R1 K3
|
|
0x58140004, // 0008 LDCONST R5 K4
|
|
0x7C0C0400, // 0009 CALL R3 2
|
|
0x8C0C0305, // 000A GETMET R3 R1 K5
|
|
0x7C0C0200, // 000B CALL R3 1
|
|
0x8C0C0306, // 000C GETMET R3 R1 K6
|
|
0x58140007, // 000D LDCONST R5 K7
|
|
0x7C0C0400, // 000E CALL R3 2
|
|
0x8C0C0108, // 000F GETMET R3 R0 K8
|
|
0x7C0C0200, // 0010 CALL R3 1
|
|
0x780E0006, // 0011 JMPF R3 #0019
|
|
0x8C100509, // 0012 GETMET R4 R2 K9
|
|
0x8C18010A, // 0013 GETMET R6 R0 K10
|
|
0x7C180200, // 0014 CALL R6 1
|
|
0x581C000B, // 0015 LDCONST R7 K11
|
|
0x5820000C, // 0016 LDCONST R8 K12
|
|
0x7C100800, // 0017 CALL R4 4
|
|
0x70020004, // 0018 JMP #001E
|
|
0x8810010D, // 0019 GETMBR R4 R0 K13
|
|
0x78120001, // 001A JMPF R4 #001D
|
|
0x5810000E, // 001B LDCONST R4 K14
|
|
0x70020000, // 001C JMP #001E
|
|
0x5810000F, // 001D LDCONST R4 K15
|
|
0x8C140306, // 001E GETMET R5 R1 K6
|
|
0x581C0010, // 001F LDCONST R7 K16
|
|
0x7C140400, // 0020 CALL R5 2
|
|
0x8C140306, // 0021 GETMET R5 R1 K6
|
|
0x601C0018, // 0022 GETGBL R7 G24
|
|
0x58200011, // 0023 LDCONST R8 K17
|
|
0x7C1C0200, // 0024 CALL R7 1
|
|
0x7C140400, // 0025 CALL R5 2
|
|
0x8C140306, // 0026 GETMET R5 R1 K6
|
|
0x601C0018, // 0027 GETGBL R7 G24
|
|
0x58200012, // 0028 LDCONST R8 K18
|
|
0x5C240800, // 0029 MOVE R9 R4
|
|
0x7C1C0400, // 002A CALL R7 2
|
|
0x7C140400, // 002B CALL R5 2
|
|
0x780E000B, // 002C JMPF R3 #0039
|
|
0x8C140306, // 002D GETMET R5 R1 K6
|
|
0x581C0013, // 002E LDCONST R7 K19
|
|
0x7C140400, // 002F CALL R5 2
|
|
0x8C140306, // 0030 GETMET R5 R1 K6
|
|
0x581C0014, // 0031 LDCONST R7 K20
|
|
0x7C140400, // 0032 CALL R5 2
|
|
0x8C140306, // 0033 GETMET R5 R1 K6
|
|
0x581C0015, // 0034 LDCONST R7 K21
|
|
0x7C140400, // 0035 CALL R5 2
|
|
0x8C140306, // 0036 GETMET R5 R1 K6
|
|
0x581C0016, // 0037 LDCONST R7 K22
|
|
0x7C140400, // 0038 CALL R5 2
|
|
0x8C140306, // 0039 GETMET R5 R1 K6
|
|
0x581C0017, // 003A LDCONST R7 K23
|
|
0x7C140400, // 003B CALL R5 2
|
|
0x8C140306, // 003C GETMET R5 R1 K6
|
|
0x581C0010, // 003D LDCONST R7 K16
|
|
0x7C140400, // 003E CALL R5 2
|
|
0x8C140306, // 003F GETMET R5 R1 K6
|
|
0x601C0018, // 0040 GETGBL R7 G24
|
|
0x58200018, // 0041 LDCONST R8 K24
|
|
0x7C1C0200, // 0042 CALL R7 1
|
|
0x7C140400, // 0043 CALL R5 2
|
|
0x8C140306, // 0044 GETMET R5 R1 K6
|
|
0x581C0019, // 0045 LDCONST R7 K25
|
|
0x7C140400, // 0046 CALL R5 2
|
|
0x8C140306, // 0047 GETMET R5 R1 K6
|
|
0x581C001A, // 0048 LDCONST R7 K26
|
|
0x7C140400, // 0049 CALL R5 2
|
|
0x8C140306, // 004A GETMET R5 R1 K6
|
|
0x581C001B, // 004B LDCONST R7 K27
|
|
0x7C140400, // 004C CALL R5 2
|
|
0x8C140306, // 004D GETMET R5 R1 K6
|
|
0x581C001C, // 004E LDCONST R7 K28
|
|
0x7C140400, // 004F CALL R5 2
|
|
0x8C14011D, // 0050 GETMET R5 R0 K29
|
|
0x7C140200, // 0051 CALL R5 1
|
|
0x8C180306, // 0052 GETMET R6 R1 K6
|
|
0x5820001E, // 0053 LDCONST R8 K30
|
|
0x7C180400, // 0054 CALL R6 2
|
|
0x60180010, // 0055 GETGBL R6 G16
|
|
0x5C1C0A00, // 0056 MOVE R7 R5
|
|
0x7C180200, // 0057 CALL R6 1
|
|
0xA802000D, // 0058 EXBLK 0 #0067
|
|
0x5C1C0C00, // 0059 MOVE R7 R6
|
|
0x7C1C0000, // 005A CALL R7 0
|
|
0x8C200306, // 005B GETMET R8 R1 K6
|
|
0x60280018, // 005C GETGBL R10 G24
|
|
0x582C001F, // 005D LDCONST R11 K31
|
|
0x5C300E00, // 005E MOVE R12 R7
|
|
0x8C340509, // 005F GETMET R13 R2 K9
|
|
0x5C3C0E00, // 0060 MOVE R15 R7
|
|
0x5840000B, // 0061 LDCONST R16 K11
|
|
0x5844000C, // 0062 LDCONST R17 K12
|
|
0x7C340800, // 0063 CALL R13 4
|
|
0x7C280600, // 0064 CALL R10 3
|
|
0x7C200400, // 0065 CALL R8 2
|
|
0x7001FFF1, // 0066 JMP #0059
|
|
0x58180020, // 0067 LDCONST R6 K32
|
|
0xAC180200, // 0068 CATCH R6 1 0
|
|
0xB0080000, // 0069 RAISE 2 R0 R0
|
|
0x8C180306, // 006A GETMET R6 R1 K6
|
|
0x58200021, // 006B LDCONST R8 K33
|
|
0x7C180400, // 006C CALL R6 2
|
|
0x8C180306, // 006D GETMET R6 R1 K6
|
|
0x58200022, // 006E LDCONST R8 K34
|
|
0x7C180400, // 006F CALL R6 2
|
|
0x8C180306, // 0070 GETMET R6 R1 K6
|
|
0x58200016, // 0071 LDCONST R8 K22
|
|
0x7C180400, // 0072 CALL R6 2
|
|
0x8C180306, // 0073 GETMET R6 R1 K6
|
|
0x58200017, // 0074 LDCONST R8 K23
|
|
0x7C180400, // 0075 CALL R6 2
|
|
0x8C180323, // 0076 GETMET R6 R1 K35
|
|
0x88200324, // 0077 GETMBR R8 R1 K36
|
|
0x7C180400, // 0078 CALL R6 2
|
|
0x8C180325, // 0079 GETMET R6 R1 K37
|
|
0x7C180200, // 007A CALL R6 1
|
|
0x80000000, // 007B RET 0
|
|
})
|
|
)
|
|
);
|
|
/*******************************************************************/
|
|
|
|
|
|
/********************************************************************
|
|
** Solidified function: get_current_module_name
|
|
********************************************************************/
|
|
be_local_closure(class_Autoconf_get_current_module_name, /* name */
|
|
be_nested_proto(
|
|
3, /* nstack */
|
|
1, /* argc */
|
|
2, /* varg */
|
|
0, /* has upvals */
|
|
NULL, /* no upvals */
|
|
0, /* has sup protos */
|
|
NULL, /* no sub protos */
|
|
1, /* has constants */
|
|
( &(const bvalue[ 2]) { /* constants */
|
|
/* K0 */ be_nested_str(_archive),
|
|
/* K1 */ be_const_int(0),
|
|
}),
|
|
&be_const_str_get_current_module_name,
|
|
&be_const_str_solidified,
|
|
( &(const binstruction[ 5]) { /* code */
|
|
0x5405FFF5, // 0000 LDINT R1 -10
|
|
0x40060201, // 0001 CONNECT R1 K1 R1
|
|
0x88080100, // 0002 GETMBR R2 R0 K0
|
|
0x94040401, // 0003 GETIDX R1 R2 R1
|
|
0x80040200, // 0004 RET 1 R1
|
|
})
|
|
)
|
|
);
|
|
/*******************************************************************/
|
|
|
|
|
|
/********************************************************************
|
|
** Solidified function: delete_all_configs
|
|
********************************************************************/
|
|
be_local_closure(class_Autoconf_delete_all_configs, /* name */
|
|
be_nested_proto(
|
|
10, /* nstack */
|
|
1, /* argc */
|
|
2, /* varg */
|
|
0, /* has upvals */
|
|
NULL, /* no upvals */
|
|
0, /* has sup protos */
|
|
NULL, /* no sub protos */
|
|
1, /* has constants */
|
|
( &(const bvalue[ 9]) { /* constants */
|
|
/* K0 */ be_nested_str(path),
|
|
/* K1 */ be_nested_str(string),
|
|
/* K2 */ be_nested_str(listdir),
|
|
/* K3 */ be_nested_str(_X2F),
|
|
/* K4 */ be_nested_str(find),
|
|
/* K5 */ be_nested_str(_X2Eautoconf),
|
|
/* K6 */ be_const_int(0),
|
|
/* K7 */ be_nested_str(remove),
|
|
/* K8 */ be_nested_str(stop_iteration),
|
|
}),
|
|
&be_const_str_delete_all_configs,
|
|
&be_const_str_solidified,
|
|
( &(const binstruction[25]) { /* code */
|
|
0xA4060000, // 0000 IMPORT R1 K0
|
|
0xA40A0200, // 0001 IMPORT R2 K1
|
|
0x8C0C0302, // 0002 GETMET R3 R1 K2
|
|
0x58140003, // 0003 LDCONST R5 K3
|
|
0x7C0C0400, // 0004 CALL R3 2
|
|
0x60100010, // 0005 GETGBL R4 G16
|
|
0x5C140600, // 0006 MOVE R5 R3
|
|
0x7C100200, // 0007 CALL R4 1
|
|
0xA802000B, // 0008 EXBLK 0 #0015
|
|
0x5C140800, // 0009 MOVE R5 R4
|
|
0x7C140000, // 000A CALL R5 0
|
|
0x8C180504, // 000B GETMET R6 R2 K4
|
|
0x5C200A00, // 000C MOVE R8 R5
|
|
0x58240005, // 000D LDCONST R9 K5
|
|
0x7C180600, // 000E CALL R6 3
|
|
0x24180D06, // 000F GT R6 R6 K6
|
|
0x781A0002, // 0010 JMPF R6 #0014
|
|
0x8C180307, // 0011 GETMET R6 R1 K7
|
|
0x5C200A00, // 0012 MOVE R8 R5
|
|
0x7C180400, // 0013 CALL R6 2
|
|
0x7001FFF3, // 0014 JMP #0009
|
|
0x58100008, // 0015 LDCONST R4 K8
|
|
0xAC100200, // 0016 CATCH R4 1 0
|
|
0xB0080000, // 0017 RAISE 2 R0 R0
|
|
0x80000000, // 0018 RET 0
|
|
})
|
|
)
|
|
);
|
|
/*******************************************************************/
|
|
|
|
|
|
/********************************************************************
|
|
** Solidified function: set_first_time
|
|
********************************************************************/
|
|
be_local_closure(class_Autoconf_set_first_time, /* name */
|
|
be_nested_proto(
|
|
4, /* nstack */
|
|
1, /* argc */
|
|
2, /* varg */
|
|
0, /* has upvals */
|
|
NULL, /* no upvals */
|
|
0, /* has sup protos */
|
|
NULL, /* no sub protos */
|
|
1, /* has constants */
|
|
( &(const bvalue[ 3]) { /* constants */
|
|
/* K0 */ be_nested_str(_X2F_X2Eautoconf),
|
|
/* K1 */ be_nested_str(w),
|
|
/* K2 */ be_nested_str(close),
|
|
}),
|
|
&be_const_str_set_first_time,
|
|
&be_const_str_solidified,
|
|
( &(const binstruction[ 7]) { /* code */
|
|
0x60040011, // 0000 GETGBL R1 G17
|
|
0x58080000, // 0001 LDCONST R2 K0
|
|
0x580C0001, // 0002 LDCONST R3 K1
|
|
0x7C040400, // 0003 CALL R1 2
|
|
0x8C080302, // 0004 GETMET R2 R1 K2
|
|
0x7C080200, // 0005 CALL R2 1
|
|
0x80000000, // 0006 RET 0
|
|
})
|
|
)
|
|
);
|
|
/*******************************************************************/
|
|
|
|
|
|
/********************************************************************
|
|
** Solidified function: load_templates
|
|
********************************************************************/
|
|
be_local_closure(class_Autoconf_load_templates, /* name */
|
|
be_nested_proto(
|
|
13, /* nstack */
|
|
1, /* argc */
|
|
2, /* varg */
|
|
0, /* has upvals */
|
|
NULL, /* no upvals */
|
|
0, /* has sup protos */
|
|
NULL, /* no sub protos */
|
|
1, /* has constants */
|
|
( &(const bvalue[19]) { /* constants */
|
|
/* K0 */ be_nested_str(json),
|
|
/* K1 */ be_nested_str(https_X3A_X2F_X2Fraw_X2Egithubusercontent_X2Ecom_X2Ftasmota_X2Fautoconf_X2Fmain_X2F_X25s_manifest_X2Ejson),
|
|
/* K2 */ be_nested_str(tasmota),
|
|
/* K3 */ be_nested_str(arch),
|
|
/* K4 */ be_nested_str(log),
|
|
/* K5 */ be_nested_str(CFG_X3A_X20loading_X20_X27_X25s_X27),
|
|
/* K6 */ be_const_int(3),
|
|
/* K7 */ be_nested_str(webclient),
|
|
/* K8 */ be_nested_str(begin),
|
|
/* K9 */ be_nested_str(GET),
|
|
/* K10 */ be_nested_str(CFG_X3A_X20return_code_X3D_X25i),
|
|
/* K11 */ be_const_int(2),
|
|
/* K12 */ be_nested_str(get_string),
|
|
/* K13 */ be_nested_str(close),
|
|
/* K14 */ be_nested_str(load),
|
|
/* K15 */ be_nested_str(CFG_X3A_X20loaded_X20_X27_X25s_X27),
|
|
/* K16 */ be_nested_str(find),
|
|
/* K17 */ be_nested_str(files),
|
|
/* K18 */ be_nested_str(CFG_X3A_X20exception_X20_X27_X25s_X27_X20_X2D_X20_X27_X25s_X27),
|
|
}),
|
|
&be_const_str_load_templates,
|
|
&be_const_str_solidified,
|
|
( &(const binstruction[85]) { /* code */
|
|
0xA4060000, // 0000 IMPORT R1 K0
|
|
0xA8020042, // 0001 EXBLK 0 #0045
|
|
0x60080018, // 0002 GETGBL R2 G24
|
|
0x580C0001, // 0003 LDCONST R3 K1
|
|
0xB8120400, // 0004 GETNGBL R4 K2
|
|
0x8C100903, // 0005 GETMET R4 R4 K3
|
|
0x7C100200, // 0006 CALL R4 1
|
|
0x7C080400, // 0007 CALL R2 2
|
|
0xB80E0400, // 0008 GETNGBL R3 K2
|
|
0x8C0C0704, // 0009 GETMET R3 R3 K4
|
|
0x60140018, // 000A GETGBL R5 G24
|
|
0x58180005, // 000B LDCONST R6 K5
|
|
0x5C1C0400, // 000C MOVE R7 R2
|
|
0x7C140400, // 000D CALL R5 2
|
|
0x58180006, // 000E LDCONST R6 K6
|
|
0x7C0C0600, // 000F CALL R3 3
|
|
0xB80E0E00, // 0010 GETNGBL R3 K7
|
|
0x7C0C0000, // 0011 CALL R3 0
|
|
0x8C100708, // 0012 GETMET R4 R3 K8
|
|
0x5C180400, // 0013 MOVE R6 R2
|
|
0x7C100400, // 0014 CALL R4 2
|
|
0x8C100709, // 0015 GETMET R4 R3 K9
|
|
0x7C100200, // 0016 CALL R4 1
|
|
0x541600C7, // 0017 LDINT R5 200
|
|
0x20140805, // 0018 NE R5 R4 R5
|
|
0x7816000A, // 0019 JMPF R5 #0025
|
|
0xB8160400, // 001A GETNGBL R5 K2
|
|
0x8C140B04, // 001B GETMET R5 R5 K4
|
|
0x601C0018, // 001C GETGBL R7 G24
|
|
0x5820000A, // 001D LDCONST R8 K10
|
|
0x5C240800, // 001E MOVE R9 R4
|
|
0x7C1C0400, // 001F CALL R7 2
|
|
0x5820000B, // 0020 LDCONST R8 K11
|
|
0x7C140600, // 0021 CALL R5 3
|
|
0x4C140000, // 0022 LDNIL R5
|
|
0xA8040001, // 0023 EXBLK 1 1
|
|
0x80040A00, // 0024 RET 1 R5
|
|
0x8C14070C, // 0025 GETMET R5 R3 K12
|
|
0x7C140200, // 0026 CALL R5 1
|
|
0x8C18070D, // 0027 GETMET R6 R3 K13
|
|
0x7C180200, // 0028 CALL R6 1
|
|
0x8C18030E, // 0029 GETMET R6 R1 K14
|
|
0x5C200A00, // 002A MOVE R8 R5
|
|
0x7C180400, // 002B CALL R6 2
|
|
0xB81E0400, // 002C GETNGBL R7 K2
|
|
0x8C1C0F04, // 002D GETMET R7 R7 K4
|
|
0x60240018, // 002E GETGBL R9 G24
|
|
0x5828000F, // 002F LDCONST R10 K15
|
|
0x602C0008, // 0030 GETGBL R11 G8
|
|
0x5C300C00, // 0031 MOVE R12 R6
|
|
0x7C2C0200, // 0032 CALL R11 1
|
|
0x7C240400, // 0033 CALL R9 2
|
|
0x58280006, // 0034 LDCONST R10 K6
|
|
0x7C1C0600, // 0035 CALL R7 3
|
|
0x8C1C0D10, // 0036 GETMET R7 R6 K16
|
|
0x58240011, // 0037 LDCONST R9 K17
|
|
0x7C1C0400, // 0038 CALL R7 2
|
|
0x6020000F, // 0039 GETGBL R8 G15
|
|
0x5C240E00, // 003A MOVE R9 R7
|
|
0x60280012, // 003B GETGBL R10 G18
|
|
0x7C200400, // 003C CALL R8 2
|
|
0x78220001, // 003D JMPF R8 #0040
|
|
0xA8040001, // 003E EXBLK 1 1
|
|
0x80040E00, // 003F RET 1 R7
|
|
0x4C200000, // 0040 LDNIL R8
|
|
0xA8040001, // 0041 EXBLK 1 1
|
|
0x80041000, // 0042 RET 1 R8
|
|
0xA8040001, // 0043 EXBLK 1 1
|
|
0x7002000E, // 0044 JMP #0054
|
|
0xAC080002, // 0045 CATCH R2 0 2
|
|
0x7002000B, // 0046 JMP #0053
|
|
0xB8120400, // 0047 GETNGBL R4 K2
|
|
0x8C100904, // 0048 GETMET R4 R4 K4
|
|
0x60180018, // 0049 GETGBL R6 G24
|
|
0x581C0012, // 004A LDCONST R7 K18
|
|
0x5C200400, // 004B MOVE R8 R2
|
|
0x5C240600, // 004C MOVE R9 R3
|
|
0x7C180600, // 004D CALL R6 3
|
|
0x581C000B, // 004E LDCONST R7 K11
|
|
0x7C100600, // 004F CALL R4 3
|
|
0x4C100000, // 0050 LDNIL R4
|
|
0x80040800, // 0051 RET 1 R4
|
|
0x70020000, // 0052 JMP #0054
|
|
0xB0080000, // 0053 RAISE 2 R0 R0
|
|
0x80000000, // 0054 RET 0
|
|
})
|
|
)
|
|
);
|
|
/*******************************************************************/
|
|
|
|
|
|
/********************************************************************
|
|
** Solidified function: web_add_config_button
|
|
********************************************************************/
|
|
be_local_closure(class_Autoconf_web_add_config_button, /* name */
|
|
be_nested_proto(
|
|
5, /* nstack */
|
|
1, /* argc */
|
|
2, /* varg */
|
|
0, /* has upvals */
|
|
NULL, /* no upvals */
|
|
0, /* has sup protos */
|
|
NULL, /* no sub protos */
|
|
1, /* has constants */
|
|
( &(const bvalue[ 3]) { /* constants */
|
|
/* K0 */ be_nested_str(webserver),
|
|
/* K1 */ be_nested_str(content_send),
|
|
/* K2 */ be_nested_str(_X3Cp_X3E_X3Cform_X20id_X3Dac_X20action_X3D_X27ac_X27_X20style_X3D_X27display_X3A_X20block_X3B_X27_X20method_X3D_X27get_X27_X3E_X3Cbutton_X3EAuto_X2Dconfiguration_X3C_X2Fbutton_X3E_X3C_X2Fform_X3E_X3C_X2Fp_X3E),
|
|
}),
|
|
&be_const_str_web_add_config_button,
|
|
&be_const_str_solidified,
|
|
( &(const binstruction[ 5]) { /* code */
|
|
0xA4060000, // 0000 IMPORT R1 K0
|
|
0x8C080301, // 0001 GETMET R2 R1 K1
|
|
0x58100002, // 0002 LDCONST R4 K2
|
|
0x7C080400, // 0003 CALL R2 2
|
|
0x80000000, // 0004 RET 0
|
|
})
|
|
)
|
|
);
|
|
/*******************************************************************/
|
|
|
|
|
|
/********************************************************************
|
|
** Solidified function: is_first_time
|
|
********************************************************************/
|
|
be_local_closure(class_Autoconf_is_first_time, /* name */
|
|
be_nested_proto(
|
|
5, /* nstack */
|
|
1, /* argc */
|
|
2, /* varg */
|
|
0, /* has upvals */
|
|
NULL, /* no upvals */
|
|
0, /* has sup protos */
|
|
NULL, /* no sub protos */
|
|
1, /* has constants */
|
|
( &(const bvalue[ 3]) { /* constants */
|
|
/* K0 */ be_nested_str(path),
|
|
/* K1 */ be_nested_str(exists),
|
|
/* K2 */ be_nested_str(_X2F_X2Eautoconf),
|
|
}),
|
|
&be_const_str_is_first_time,
|
|
&be_const_str_solidified,
|
|
( &(const binstruction[ 8]) { /* code */
|
|
0xA4060000, // 0000 IMPORT R1 K0
|
|
0x8C080301, // 0001 GETMET R2 R1 K1
|
|
0x58100002, // 0002 LDCONST R4 K2
|
|
0x7C080400, // 0003 CALL R2 2
|
|
0x780A0000, // 0004 JMPF R2 #0006
|
|
0x50080001, // 0005 LDBOOL R2 0 1
|
|
0x50080200, // 0006 LDBOOL R2 1 0
|
|
0x80040400, // 0007 RET 1 R2
|
|
})
|
|
)
|
|
);
|
|
/*******************************************************************/
|
|
|
|
|
|
/********************************************************************
|
|
** Solidified function: init
|
|
********************************************************************/
|
|
be_local_closure(class_Autoconf_init, /* name */
|
|
be_nested_proto(
|
|
12, /* nstack */
|
|
1, /* argc */
|
|
2, /* varg */
|
|
0, /* has upvals */
|
|
NULL, /* no upvals */
|
|
0, /* has sup protos */
|
|
NULL, /* no sub protos */
|
|
1, /* has constants */
|
|
( &(const bvalue[17]) { /* constants */
|
|
/* K0 */ be_nested_str(path),
|
|
/* K1 */ be_nested_str(string),
|
|
/* K2 */ be_nested_str(listdir),
|
|
/* K3 */ be_nested_str(_X2F),
|
|
/* K4 */ be_nested_str(tasmota),
|
|
/* K5 */ be_nested_str(add_driver),
|
|
/* K6 */ be_const_int(0),
|
|
/* K7 */ be_nested_str(find),
|
|
/* K8 */ be_nested_str(_X2Eautoconf),
|
|
/* K9 */ be_nested_str(log),
|
|
/* K10 */ be_nested_str(CFG_X3A_X20multiple_X20autoconf_X20files_X20found_X2C_X20aborting_X20_X28_X27_X25s_X27_X20_X2B_X20_X27_X25s_X27_X29),
|
|
/* K11 */ be_const_int(2),
|
|
/* K12 */ be_nested_str(_error),
|
|
/* K13 */ be_const_int(1),
|
|
/* K14 */ be_nested_str(CFG_X3A_X20No_X20_X27_X2A_X2Eautoconf_X27_X20file_X20found),
|
|
/* K15 */ be_const_int(3),
|
|
/* K16 */ be_nested_str(_archive),
|
|
}),
|
|
&be_const_str_init,
|
|
&be_const_str_solidified,
|
|
( &(const binstruction[53]) { /* code */
|
|
0xA4060000, // 0000 IMPORT R1 K0
|
|
0xA40A0200, // 0001 IMPORT R2 K1
|
|
0x8C0C0302, // 0002 GETMET R3 R1 K2
|
|
0x58140003, // 0003 LDCONST R5 K3
|
|
0x7C0C0400, // 0004 CALL R3 2
|
|
0x4C100000, // 0005 LDNIL R4
|
|
0xB8160800, // 0006 GETNGBL R5 K4
|
|
0x8C140B05, // 0007 GETMET R5 R5 K5
|
|
0x5C1C0000, // 0008 MOVE R7 R0
|
|
0x7C140400, // 0009 CALL R5 2
|
|
0x58140006, // 000A LDCONST R5 K6
|
|
0x6018000C, // 000B GETGBL R6 G12
|
|
0x5C1C0600, // 000C MOVE R7 R3
|
|
0x7C180200, // 000D CALL R6 1
|
|
0x14180A06, // 000E LT R6 R5 R6
|
|
0x781A0018, // 000F JMPF R6 #0029
|
|
0x8C180507, // 0010 GETMET R6 R2 K7
|
|
0x94200605, // 0011 GETIDX R8 R3 R5
|
|
0x58240008, // 0012 LDCONST R9 K8
|
|
0x7C180600, // 0013 CALL R6 3
|
|
0x24180D06, // 0014 GT R6 R6 K6
|
|
0x781A0010, // 0015 JMPF R6 #0027
|
|
0x4C180000, // 0016 LDNIL R6
|
|
0x20180806, // 0017 NE R6 R4 R6
|
|
0x781A000C, // 0018 JMPF R6 #0026
|
|
0xB81A0800, // 0019 GETNGBL R6 K4
|
|
0x8C180D09, // 001A GETMET R6 R6 K9
|
|
0x60200018, // 001B GETGBL R8 G24
|
|
0x5824000A, // 001C LDCONST R9 K10
|
|
0x5C280800, // 001D MOVE R10 R4
|
|
0x942C0605, // 001E GETIDX R11 R3 R5
|
|
0x7C200600, // 001F CALL R8 3
|
|
0x5824000B, // 0020 LDCONST R9 K11
|
|
0x7C180600, // 0021 CALL R6 3
|
|
0x50180200, // 0022 LDBOOL R6 1 0
|
|
0x90021806, // 0023 SETMBR R0 K12 R6
|
|
0x4C180000, // 0024 LDNIL R6
|
|
0x80040C00, // 0025 RET 1 R6
|
|
0x94100605, // 0026 GETIDX R4 R3 R5
|
|
0x00140B0D, // 0027 ADD R5 R5 K13
|
|
0x7001FFE1, // 0028 JMP #000B
|
|
0x4C180000, // 0029 LDNIL R6
|
|
0x1C180806, // 002A EQ R6 R4 R6
|
|
0x781A0006, // 002B JMPF R6 #0033
|
|
0xB81A0800, // 002C GETNGBL R6 K4
|
|
0x8C180D09, // 002D GETMET R6 R6 K9
|
|
0x5820000E, // 002E LDCONST R8 K14
|
|
0x5824000F, // 002F LDCONST R9 K15
|
|
0x7C180600, // 0030 CALL R6 3
|
|
0x4C180000, // 0031 LDNIL R6
|
|
0x80040C00, // 0032 RET 1 R6
|
|
0x90022004, // 0033 SETMBR R0 K16 R4
|
|
0x80000000, // 0034 RET 0
|
|
})
|
|
)
|
|
);
|
|
/*******************************************************************/
|
|
|
|
|
|
/********************************************************************
|
|
** Solidified function: preinit
|
|
********************************************************************/
|
|
be_local_closure(class_Autoconf_preinit, /* name */
|
|
be_nested_proto(
|
|
7, /* nstack */
|
|
1, /* argc */
|
|
2, /* varg */
|
|
0, /* has upvals */
|
|
NULL, /* no upvals */
|
|
0, /* has sup protos */
|
|
NULL, /* no sub protos */
|
|
1, /* has constants */
|
|
( &(const bvalue[10]) { /* constants */
|
|
/* K0 */ be_nested_str(_archive),
|
|
/* K1 */ be_nested_str(path),
|
|
/* K2 */ be_nested_str(_X23preinit_X2Ebe),
|
|
/* K3 */ be_nested_str(exists),
|
|
/* K4 */ be_nested_str(tasmota),
|
|
/* K5 */ be_nested_str(log),
|
|
/* K6 */ be_nested_str(CFG_X3A_X20loading_X20),
|
|
/* K7 */ be_const_int(3),
|
|
/* K8 */ be_nested_str(load),
|
|
/* K9 */ be_nested_str(CFG_X3A_X20loaded_X20_X20),
|
|
}),
|
|
&be_const_str_preinit,
|
|
&be_const_str_solidified,
|
|
( &(const binstruction[26]) { /* code */
|
|
0x88040100, // 0000 GETMBR R1 R0 K0
|
|
0x4C080000, // 0001 LDNIL R2
|
|
0x1C040202, // 0002 EQ R1 R1 R2
|
|
0x78060000, // 0003 JMPF R1 #0005
|
|
0x80000200, // 0004 RET 0
|
|
0xA4060200, // 0005 IMPORT R1 K1
|
|
0x88080100, // 0006 GETMBR R2 R0 K0
|
|
0x00080502, // 0007 ADD R2 R2 K2
|
|
0x8C0C0303, // 0008 GETMET R3 R1 K3
|
|
0x5C140400, // 0009 MOVE R5 R2
|
|
0x7C0C0400, // 000A CALL R3 2
|
|
0x780E000C, // 000B JMPF R3 #0019
|
|
0xB80E0800, // 000C GETNGBL R3 K4
|
|
0x8C0C0705, // 000D GETMET R3 R3 K5
|
|
0x00160C02, // 000E ADD R5 K6 R2
|
|
0x58180007, // 000F LDCONST R6 K7
|
|
0x7C0C0600, // 0010 CALL R3 3
|
|
0xB80E1000, // 0011 GETNGBL R3 K8
|
|
0x5C100400, // 0012 MOVE R4 R2
|
|
0x7C0C0200, // 0013 CALL R3 1
|
|
0xB80E0800, // 0014 GETNGBL R3 K4
|
|
0x8C0C0705, // 0015 GETMET R3 R3 K5
|
|
0x00161202, // 0016 ADD R5 K9 R2
|
|
0x58180007, // 0017 LDCONST R6 K7
|
|
0x7C0C0600, // 0018 CALL R3 3
|
|
0x80000000, // 0019 RET 0
|
|
})
|
|
)
|
|
);
|
|
/*******************************************************************/
|
|
|
|
|
|
/********************************************************************
|
|
** Solidified function: reset
|
|
********************************************************************/
|
|
be_local_closure(class_Autoconf_reset, /* name */
|
|
be_nested_proto(
|
|
11, /* nstack */
|
|
1, /* argc */
|
|
2, /* varg */
|
|
0, /* has upvals */
|
|
NULL, /* no upvals */
|
|
0, /* has sup protos */
|
|
NULL, /* no sub protos */
|
|
1, /* has constants */
|
|
( &(const bvalue[12]) { /* constants */
|
|
/* K0 */ be_nested_str(path),
|
|
/* K1 */ be_nested_str(string),
|
|
/* K2 */ be_nested_str(listdir),
|
|
/* K3 */ be_nested_str(_X2F),
|
|
/* K4 */ be_const_int(0),
|
|
/* K5 */ be_nested_str(find),
|
|
/* K6 */ be_nested_str(_X2Eautoconf),
|
|
/* K7 */ be_nested_str(remove),
|
|
/* K8 */ be_nested_str(CFG_X3A_X20removed_X20file_X20_X27_X25s_X27),
|
|
/* K9 */ be_const_int(1),
|
|
/* K10 */ be_nested_str(_archive),
|
|
/* K11 */ be_nested_str(_error),
|
|
}),
|
|
&be_const_str_reset,
|
|
&be_const_str_solidified,
|
|
( &(const binstruction[35]) { /* code */
|
|
0xA4060000, // 0000 IMPORT R1 K0
|
|
0xA40A0200, // 0001 IMPORT R2 K1
|
|
0x8C0C0302, // 0002 GETMET R3 R1 K2
|
|
0x58140003, // 0003 LDCONST R5 K3
|
|
0x7C0C0400, // 0004 CALL R3 2
|
|
0x4C100000, // 0005 LDNIL R4
|
|
0x58140004, // 0006 LDCONST R5 K4
|
|
0x6018000C, // 0007 GETGBL R6 G12
|
|
0x5C1C0600, // 0008 MOVE R7 R3
|
|
0x7C180200, // 0009 CALL R6 1
|
|
0x14180A06, // 000A LT R6 R5 R6
|
|
0x781A0011, // 000B JMPF R6 #001E
|
|
0x94180605, // 000C GETIDX R6 R3 R5
|
|
0x8C1C0505, // 000D GETMET R7 R2 K5
|
|
0x5C240C00, // 000E MOVE R9 R6
|
|
0x58280006, // 000F LDCONST R10 K6
|
|
0x7C1C0600, // 0010 CALL R7 3
|
|
0x241C0F04, // 0011 GT R7 R7 K4
|
|
0x781E0008, // 0012 JMPF R7 #001C
|
|
0x8C1C0307, // 0013 GETMET R7 R1 K7
|
|
0x5C240C00, // 0014 MOVE R9 R6
|
|
0x7C1C0400, // 0015 CALL R7 2
|
|
0x601C0001, // 0016 GETGBL R7 G1
|
|
0x60200018, // 0017 GETGBL R8 G24
|
|
0x58240008, // 0018 LDCONST R9 K8
|
|
0x5C280C00, // 0019 MOVE R10 R6
|
|
0x7C200400, // 001A CALL R8 2
|
|
0x7C1C0200, // 001B CALL R7 1
|
|
0x00140B09, // 001C ADD R5 R5 K9
|
|
0x7001FFE8, // 001D JMP #0007
|
|
0x4C180000, // 001E LDNIL R6
|
|
0x90021406, // 001F SETMBR R0 K10 R6
|
|
0x4C180000, // 0020 LDNIL R6
|
|
0x90021606, // 0021 SETMBR R0 K11 R6
|
|
0x80000000, // 0022 RET 0
|
|
})
|
|
)
|
|
);
|
|
/*******************************************************************/
|
|
|
|
|
|
/********************************************************************
|
|
** Solidified function: web_add_handler
|
|
********************************************************************/
|
|
be_local_closure(class_Autoconf_web_add_handler, /* name */
|
|
be_nested_proto(
|
|
7, /* nstack */
|
|
1, /* argc */
|
|
2, /* varg */
|
|
0, /* has upvals */
|
|
NULL, /* no upvals */
|
|
1, /* has sup protos */
|
|
( &(const struct bproto*[ 2]) {
|
|
be_nested_proto(
|
|
2, /* nstack */
|
|
0, /* argc */
|
|
0, /* varg */
|
|
1, /* has upvals */
|
|
( &(const bupvaldesc[ 1]) { /* upvals */
|
|
be_local_const_upval(1, 0),
|
|
}),
|
|
0, /* has sup protos */
|
|
NULL, /* no sub protos */
|
|
1, /* has constants */
|
|
( &(const bvalue[ 1]) { /* constants */
|
|
/* K0 */ be_nested_str(page_autoconf_mgr),
|
|
}),
|
|
&be_const_str__X3Clambda_X3E,
|
|
&be_const_str_solidified,
|
|
( &(const binstruction[ 4]) { /* code */
|
|
0x68000000, // 0000 GETUPV R0 U0
|
|
0x8C000100, // 0001 GETMET R0 R0 K0
|
|
0x7C000200, // 0002 CALL R0 1
|
|
0x80040000, // 0003 RET 1 R0
|
|
})
|
|
),
|
|
be_nested_proto(
|
|
2, /* nstack */
|
|
0, /* argc */
|
|
0, /* varg */
|
|
1, /* has upvals */
|
|
( &(const bupvaldesc[ 1]) { /* upvals */
|
|
be_local_const_upval(1, 0),
|
|
}),
|
|
0, /* has sup protos */
|
|
NULL, /* no sub protos */
|
|
1, /* has constants */
|
|
( &(const bvalue[ 1]) { /* constants */
|
|
/* K0 */ be_nested_str(page_autoconf_ctl),
|
|
}),
|
|
&be_const_str__X3Clambda_X3E,
|
|
&be_const_str_solidified,
|
|
( &(const binstruction[ 4]) { /* code */
|
|
0x68000000, // 0000 GETUPV R0 U0
|
|
0x8C000100, // 0001 GETMET R0 R0 K0
|
|
0x7C000200, // 0002 CALL R0 1
|
|
0x80040000, // 0003 RET 1 R0
|
|
})
|
|
),
|
|
}),
|
|
1, /* has constants */
|
|
( &(const bvalue[ 5]) { /* constants */
|
|
/* K0 */ be_nested_str(webserver),
|
|
/* K1 */ be_nested_str(on),
|
|
/* K2 */ be_nested_str(_X2Fac),
|
|
/* K3 */ be_nested_str(HTTP_GET),
|
|
/* K4 */ be_nested_str(HTTP_POST),
|
|
}),
|
|
&be_const_str_web_add_handler,
|
|
&be_const_str_solidified,
|
|
( &(const binstruction[13]) { /* code */
|
|
0xA4060000, // 0000 IMPORT R1 K0
|
|
0x8C080301, // 0001 GETMET R2 R1 K1
|
|
0x58100002, // 0002 LDCONST R4 K2
|
|
0x84140000, // 0003 CLOSURE R5 P0
|
|
0x88180303, // 0004 GETMBR R6 R1 K3
|
|
0x7C080800, // 0005 CALL R2 4
|
|
0x8C080301, // 0006 GETMET R2 R1 K1
|
|
0x58100002, // 0007 LDCONST R4 K2
|
|
0x84140001, // 0008 CLOSURE R5 P1
|
|
0x88180304, // 0009 GETMBR R6 R1 K4
|
|
0x7C080800, // 000A CALL R2 4
|
|
0xA0000000, // 000B CLOSE R0
|
|
0x80000000, // 000C RET 0
|
|
})
|
|
)
|
|
);
|
|
/*******************************************************************/
|
|
|
|
|
|
/********************************************************************
|
|
** Solidified function: clear_first_time
|
|
********************************************************************/
|
|
be_local_closure(class_Autoconf_clear_first_time, /* name */
|
|
be_nested_proto(
|
|
5, /* nstack */
|
|
1, /* argc */
|
|
2, /* varg */
|
|
0, /* has upvals */
|
|
NULL, /* no upvals */
|
|
0, /* has sup protos */
|
|
NULL, /* no sub protos */
|
|
1, /* has constants */
|
|
( &(const bvalue[ 3]) { /* constants */
|
|
/* K0 */ be_nested_str(path),
|
|
/* K1 */ be_nested_str(remove),
|
|
/* K2 */ be_nested_str(_X2F_X2Eautoconf),
|
|
}),
|
|
&be_const_str_clear_first_time,
|
|
&be_const_str_solidified,
|
|
( &(const binstruction[ 5]) { /* code */
|
|
0xA4060000, // 0000 IMPORT R1 K0
|
|
0x8C080301, // 0001 GETMET R2 R1 K1
|
|
0x58100002, // 0002 LDCONST R4 K2
|
|
0x7C080400, // 0003 CALL R2 2
|
|
0x80000000, // 0004 RET 0
|
|
})
|
|
)
|
|
);
|
|
/*******************************************************************/
|
|
|
|
|
|
/********************************************************************
|
|
** Solidified function: get_current_module_path
|
|
********************************************************************/
|
|
be_local_closure(class_Autoconf_get_current_module_path, /* name */
|
|
be_nested_proto(
|
|
2, /* nstack */
|
|
1, /* argc */
|
|
2, /* varg */
|
|
0, /* has upvals */
|
|
NULL, /* no upvals */
|
|
0, /* has sup protos */
|
|
NULL, /* no sub protos */
|
|
1, /* has constants */
|
|
( &(const bvalue[ 1]) { /* constants */
|
|
/* K0 */ be_nested_str(_archive),
|
|
}),
|
|
&be_const_str_get_current_module_path,
|
|
&be_const_str_solidified,
|
|
( &(const binstruction[ 2]) { /* code */
|
|
0x88040100, // 0000 GETMBR R1 R0 K0
|
|
0x80040200, // 0001 RET 1 R1
|
|
})
|
|
)
|
|
);
|
|
/*******************************************************************/
|
|
|
|
|
|
/********************************************************************
|
|
** Solidified class: Autoconf
|
|
********************************************************************/
|
|
be_local_class(Autoconf,
|
|
2,
|
|
NULL,
|
|
be_nested_map(18,
|
|
( (struct bmapnode*) &(const bmapnode[]) {
|
|
{ be_const_key(page_autoconf_ctl, -1), be_const_closure(class_Autoconf_page_autoconf_ctl_closure) },
|
|
{ be_const_key(autoexec, -1), be_const_closure(class_Autoconf_autoexec_closure) },
|
|
{ be_const_key(run_bat, 17), be_const_closure(class_Autoconf_run_bat_closure) },
|
|
{ be_const_key(page_autoconf_mgr, -1), be_const_closure(class_Autoconf_page_autoconf_mgr_closure) },
|
|
{ be_const_key(get_current_module_path, 13), be_const_closure(class_Autoconf_get_current_module_path_closure) },
|
|
{ be_const_key(preinit, -1), be_const_closure(class_Autoconf_preinit_closure) },
|
|
{ be_const_key(clear_first_time, -1), be_const_closure(class_Autoconf_clear_first_time_closure) },
|
|
{ be_const_key(load_templates, -1), be_const_closure(class_Autoconf_load_templates_closure) },
|
|
{ be_const_key(_archive, -1), be_const_var(0) },
|
|
{ be_const_key(web_add_config_button, -1), be_const_closure(class_Autoconf_web_add_config_button_closure) },
|
|
{ be_const_key(is_first_time, -1), be_const_closure(class_Autoconf_is_first_time_closure) },
|
|
{ be_const_key(web_add_handler, -1), be_const_closure(class_Autoconf_web_add_handler_closure) },
|
|
{ be_const_key(delete_all_configs, 4), be_const_closure(class_Autoconf_delete_all_configs_closure) },
|
|
{ be_const_key(reset, 5), be_const_closure(class_Autoconf_reset_closure) },
|
|
{ be_const_key(get_current_module_name, 11), be_const_closure(class_Autoconf_get_current_module_name_closure) },
|
|
{ be_const_key(init, 6), be_const_closure(class_Autoconf_init_closure) },
|
|
{ be_const_key(_error, -1), be_const_var(1) },
|
|
{ be_const_key(set_first_time, -1), be_const_closure(class_Autoconf_set_first_time_closure) },
|
|
})),
|
|
(bstring*) &be_const_str_Autoconf
|
|
);
|
|
|
|
/********************************************************************
|
|
** Solidified function: _anonymous_
|
|
********************************************************************/
|
|
be_local_closure(_anonymous_, /* name */
|
|
be_nested_proto(
|
|
3, /* nstack */
|
|
1, /* argc */
|
|
0, /* varg */
|
|
0, /* has upvals */
|
|
NULL, /* no upvals */
|
|
0, /* has sup protos */
|
|
NULL, /* no sub protos */
|
|
1, /* has constants */
|
|
( &(const bvalue[ 1]) { /* constants */
|
|
/* K0 */ be_const_class(be_class_Autoconf),
|
|
}),
|
|
&be_const_str__anonymous_,
|
|
&be_const_str_solidified,
|
|
( &(const binstruction[ 5]) { /* code */
|
|
0x58040000, // 0000 LDCONST R1 K0
|
|
0xB4000000, // 0001 CLASS K0
|
|
0x5C080200, // 0002 MOVE R2 R1
|
|
0x7C080000, // 0003 CALL R2 0
|
|
0x80040400, // 0004 RET 1 R2
|
|
})
|
|
)
|
|
);
|
|
/*******************************************************************/
|
|
|
|
|
|
/********************************************************************
|
|
** Solidified module: autoconf
|
|
********************************************************************/
|
|
be_local_module(autoconf,
|
|
"autoconf",
|
|
be_nested_map(1,
|
|
( (struct bmapnode*) &(const bmapnode[]) {
|
|
{ be_const_key(init, -1), be_const_closure(_anonymous__closure) },
|
|
}))
|
|
);
|
|
BE_EXPORT_VARIABLE be_define_const_native_module(autoconf);
|
|
/********************************************************************/
|
|
/********************************************************************/
|
|
/* End of solidification */
|