[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/cp/ps/modem/tools/inc/tools.h b/cp/ps/modem/tools/inc/tools.h
new file mode 100644
index 0000000..b7ef6e3
--- /dev/null
+++ b/cp/ps/modem/tools/inc/tools.h
@@ -0,0 +1,68 @@
+/**
+ *
+ * @file tools.h
+ * @brief
+ * This file is part of tools.
+ * ¹¤¾ßÊý¾ÝÀàÐͼ°¶ÔÍâ½Ó¿Ú¶¨Òå
+ *
+ * @details
+ * @author Tools Team.
+ * @email
+ * @copyright Copyright (C) 2013 Sanechips Technology Co., Ltd.
+ * @warning
+ * @date 2019/02/02
+ * @version 1.1
+ * @pre
+ * @post
+ *
+ * @par
+ * Change History :
+ * ---------------------------------------------------------------------------
+ * date version author description
+ * ---------------------------------------------------------------------------
+ * 2012/12/27 1.0 lu.xieji Create file
+ * 2019/02/02 1.1 jiang.fenglin ÐÞ¸Ä×¢ÊÍ·½Ê½Îªdoxygen
+ * ---------------------------------------------------------------------------
+ *
+ *
+ */
+
+#ifndef TOOLS_COMM_H
+#define TOOLS_COMM_H
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+
+// ´óС¶ÔÆë
+#define ALIGNED_SIZE(size, alignment) (((size) + (alignment)) & ~(alignment))
+
+#define ZTOOLS_SUCCESS 0x0
+#define ZTOOLS_FAILURE 0xFFFFFFFF
+
+#define ZCAT_PS_FILTER_LEN 0x5000
+#define ZCAT_PSEXP_FILTER_LEN 0x3000
+
+typedef enum
+{
+ SUB_MODULE_TEST = 0,
+ SUB_MODULE_LAST = 256
+} SUB_MODULE_TYPE;
+
+
+typedef VOID (*LP_zPS_pack)(BYTE bFreeFg, DWORD dwMsgId, WORD wMsgLen, PBYTE pMsg, PDWORD pOut, PDWORD pOutLen);
+typedef VOID (*LP_zPS_unPack)(DWORD dwMsgId, WORD wMsgLen, PBYTE pMsg, PDWORD pOut, PWORD pOutLen, BYTE * bySendType);
+
+extern LP_zPS_pack lp_zPS_pack;
+extern LP_zPS_unPack lp_zPS_unPack;
+
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // TOOLS_COMM_H
+