lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | |
| 2 | |
| 3 | #include "zte_web_interface.h" |
| 4 | #include "zte_web_get_fw_para.h" |
| 5 | #include "zte_web_pbm.h" |
| 6 | //#include "SMS_main.h" |
| 7 | #include "zte_web_sms.h" |
| 8 | |
| 9 | #ifndef ULONG |
| 10 | #define ULONG unsigned long |
| 11 | #endif |
| 12 | |
| 13 | #ifndef OK |
| 14 | #define OK 0 |
| 15 | #endif |
| 16 | |
| 17 | //typedef int m_boolean; |
| 18 | |
| 19 | #define ZTE_SOCKET_PATH_MAIN_CONTROL "zte_mc_path" /*MAIN CONTROL SOCKET PATH NAME */ |
| 20 | |
| 21 | /*command type*/ |
| 22 | |
| 23 | |
| 24 | /*the msg id of relay SMS info */ |
| 25 | typedef enum { |
| 26 | ZTE_MC_SMS_MIN_CMD = 0, |
| 27 | |
| 28 | ZTE_MC_SMS_SET_PARAM_CMD, |
| 29 | ZTE_MC_SMS_SEND_MSG_CMD, |
| 30 | ZTE_MC_SMS_WRITE_MSG_CMD, |
| 31 | ZTE_MC_SMS_DELETE_MSG_CMD, |
| 32 | ZTE_MC_SMS_MODIFY_TAG_CMD, |
| 33 | |
| 34 | ZTE_MC_SMS_MAX_CMDS |
| 35 | |
| 36 | } zte_mc_msg_relay_sms_e_type; |
| 37 | |
| 38 | /*the msg id of relay pbm info */ |
| 39 | typedef enum { |
| 40 | ZTE_MC_PBM_MIN_CMD = 0, |
| 41 | |
| 42 | ZTE_MC_PBM_CREATE_MODIFY_RECORD_CMD, |
| 43 | ZTE_MC_PBM_DEL_MULTI_RECORD_CMD, |
| 44 | ZTE_MC_PBM_DEL_ONE_RECORD_CMD, |
| 45 | ZTE_MC_PBM_DEL_ALL_RECORD_CMD, |
| 46 | |
| 47 | ZTE_MC_PBM_MAX_CMDS |
| 48 | |
| 49 | } zte_mc_msg_relay_pbm_e_type; |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
| 90 | |