www.usr.com/support/gpl/USR9107_release.1.4.tar.gz
[bcm963xx.git] / userapps / broadcom / cfm / inc / psidefs.h
index ce2b4f1..f824f76 100755 (executable)
 #define PSI_PROFILE_NUM_MAX             1
 #define PSI_PROFILE_NAME_LEN_MAX        16
 
+// ratio of PSI buffer size in RAM and xml PSI size
+// xml PSI is more compact. As data have variable size, no space is wasted 
+#define PSI_BUFFER_TO_XML_FACTOR        4
+
 #define PSI_VALUE      void*
 #define PSI_HANDLE     void*
 
@@ -52,6 +56,8 @@
 #define PSI_XML_FLASH_CONFIG            1
 #define PSI_XML_RUNNING_CONFIG          2
 #define PSI_XML_ALL_CONFIG              3
+#define PSI_NUMBER_OF_CHANGES           "/var/psiNumChanges"
+#define PSI_BUFF_SIZE                   128
 
 /********************** Global Enums ****************************************/