// // Created by cfif on 13.12.22. // #include "httpd_TablesPostGet.h" const struct tablePostGetSetting tablePostGetSettings[] = { {.path = "/Settings_General", .json = &jsonSettings_General}, {.path = "/Settings_Basic_Access", .json = &jsonSettings_Basic_Access}, {.path = "/Settings_Frequency_Speed", .json = &jsonSettings_Frequency_Speed}, {.path = "/Settings_Tracert", .json = &jsonSettings_Tracert}, {.path = "/Settings_Transceiver", .json = &jsonSettings_Transceiver}, {.path = "/Settings_Network", .json = &jsonSettings_Network}, {.path = "/Settings_Date_Time", .json = &jsonSettings_Date_Time}, {.path = "/Settings_RS485_Bluetooth", .json = &jsonSettings_RS485_Bluetooth}, {NULL} }; const struct tablePost tablePosts[] = { {.path = "/var.xip", .id = ID_Post_Var}, {.path = "/cmd.xip", .id = ID_Post_Message_Create_Cmd}, {.path = "/keylo.xip", .id = ID_Post_Key_Load}, {.path = "/Software_Update_Web_File", .id = ID_Post_Update_Web_File}, {.path = "/Software_Init_File", .id = ID_Post_Update_Main_Init_File}, {.path = "/Software_Write_File", .id = ID_Post_Update_Main_Write_File}, {.path = "/Software_Write_Crypto", .id = ID_Post_Update_Write_Crypto}, {.path = "/Software_Write_Modem", .id = ID_Post_Update_Write_Modem}, {.path = "/Software_Init_Write_Modem", .id = ID_Post_Update_Init_Write_Modem}, {.path = "/Software_Start_Modem", .id = ID_Post_Update_Start_Modem}, {.path = "/Software_Init_Write_Crypto", .id = ID_Post_Update_Init_Write_Crypto}, {.path = "/Software_Start_Crypto", .id = ID_Post_Update_Start_Crypto}, {.path = "/Software_Start_Main", .id = ID_Post_Update_Start_Main}, {.path = "/Write_Other_File", .id = ID_Post_Write_Other_File}, {.path = "/sendmsg2.xip", .id = ID_Post_sendmsg2}, {.path = "/Software_Boot_Init_File", .id = ID_Post_Update_Boot_Init_File}, {.path = "/Software_Boot_Write_File", .id = ID_Post_Update_Boot_Write_File}, {NULL} }; const struct tableGet tableGets[] = { /* {.path = "/Key_File", .id = ID_Get_Key_File, .method = &handlerKey_File}, {.path = "/Messages_Inbox", .id = ID_Get_Messages_Inbox, .method = &handlerMessages_Inbox}, {.path = "/Messages_Outbox", .id = ID_Get_Messages_Outbox, .method = &handlerMessages_Outbox}, {.path = "/Messages_Sentbox", .id = ID_Get_Messages_Sentbox, .method = &handlerMessages_Sentbox}, {.path = "/Messages_Content_Inbox", .id = ID_Get_Messages_Content_Inbox, .method = &handlerMessages_Content_Inbox}, {.path = "/Messages_Content_Outbox", .id = ID_Get_Messages_Content_Outbox, .method = &handlerMessages_Content_Outbox}, {.path = "/Messages_Content_Sentbox", .id = ID_Get_Messages_Content_Sentbox, .method = &handlerMessages_Content_Sentbox}, {.path = "/Messages_Meta_Content_Inbox", .id = ID_Get_Messages_Meta_Content_Inbox, .method = &handlerMessages_Meta_Content_Inbox}, {.path = "/Messages_Meta_Content_Outbox", .id = ID_Get_Messages_Meta_Content_Outbox, .method = &handlerMessages_Meta_Content_Outbox}, {.path = "/Messages_Meta_Content_Sentbox", .id = ID_Get_Messages_Meta_Content_Sentbox, .method = &handlerMessages_Meta_Content_Sentbox}, {.path = "/Get_Version", .id = ID_Get_Get_Version, .method = &handlerGet_Version}, */ {NULL} };