diff --git a/packages/base/any/onlp/src/onlp/doc/html/annotated.html b/packages/base/any/onlp/src/onlp/doc/html/annotated.html index 79cd7b61..61a450c7 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/annotated.html +++ b/packages/base/any/onlp/src/onlp/doc/html/annotated.html @@ -3,16 +3,15 @@ - + + ONLP: Data Structures + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,48 +30,26 @@
- + - - + + + +
- All Data Structures Files Functions Variables Typedefs Enumerations Modules Pages
+
@@ -104,9 +81,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/packages/base/any/onlp/src/onlp/doc/html/attribute_8h.html b/packages/base/any/onlp/src/onlp/doc/html/attribute_8h.html index 48d46ab5..73818a31 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/attribute_8h.html +++ b/packages/base/any/onlp/src/onlp/doc/html/attribute_8h.html @@ -3,16 +3,15 @@ - + + ONLP: module/inc/onlp/attribute.h File Reference + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,46 +30,25 @@
- + - - + + + +
- All Data Structures Files Functions Variables Typedefs Enumerations Modules Pages
+
@@ -104,8 +82,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - +

Macros

-#define ONLP_ATTRIBUTE_EQUALS(_a, _b)   (!strcmp(_a, _b))
+#define ONLP_ATTRIBUTE_EQUALS(_a, _b)   (!strcmp(_a, _b))
 Attribute comparitor.
 
@@ -168,9 +146,9 @@ Functions diff --git a/packages/base/any/onlp/src/onlp/doc/html/attribute_8h_source.html b/packages/base/any/onlp/src/onlp/doc/html/attribute_8h_source.html index 00d0b78f..73573175 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/attribute_8h_source.html +++ b/packages/base/any/onlp/src/onlp/doc/html/attribute_8h_source.html @@ -3,16 +3,15 @@ - + +ONLP: module/inc/onlp/attribute.h Source File + - @@ -21,7 +20,7 @@
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,46 +30,25 @@
- + - - + + + +
- All Data Structures Files Functions Variables Typedefs Enumerations Modules Pages
+
@@ -89,81 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
attribute.h
-Go to the documentation of this file.
1 /************************************************************
-
2  * <bsn.cl fy=2017 v=onl>
-
3  *
-
4  * Copyright 2017 Big Switch Networks, Inc.
-
5  *
-
6  * Licensed under the Eclipse Public License, Version 1.0 (the
-
7  * "License"); you may not use this file except in compliance
-
8  * with the License. You may obtain a copy of the License at
-
9  *
-
10  * http://www.eclipse.org/legal/epl-v10.html
-
11  *
-
12  * Unless required by applicable law or agreed to in writing,
-
13  * software distributed under the License is distributed on an
-
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
-
15  * either express or implied. See the License for the specific
-
16  * language governing permissions and limitations under the
-
17  * License.
-
18  *
-
19  * </bsn.cl>
-
20  ********************************************************/
-
29 #ifndef __ONLP_ATTRIBUTE_H__
-
30 #define __ONLP_ATTRIBUTE_H__
-
31 
-
32 #include <onlp/oids.h>
-
33 #include <onlp/onlp.h>
-
34 #include <onlp/stdattrs.h>
-
35 #include <AIM/aim_pvs.h>
-
36 
-
42 int onlp_attribute_sw_init(void);
-
43 
-
50 int onlp_attribute_hw_init(uint32_t flags);
-
51 
-
58 int onlp_attribute_sw_denit(void);
-
59 
-
65 int onlp_attribute_supported(onlp_oid_t oid, const char* attribute);
-
66 
-
73 int onlp_attribute_set(onlp_oid_t oid, const char* attribute, void* value);
-
74 
-
81 int onlp_attribute_get(onlp_oid_t oid, const char* attribute,
-
82  void** value);
-
83 
-
90 int onlp_attribute_free(onlp_oid_t oid, const char* attribute, void* value);
-
91 
-
95 #define ONLP_ATTRIBUTE_EQUALS(_a, _b) (!strcmp(_a, _b))
-
96 
-
97 /******************************************************************************
-
98  *
-
99  * These functions provide access to standard ONIE and Asset attributes.
-
100  * These are so common that they have their own interface for
-
101  * for both the user and the platform implementations.
-
102  *
-
103  *****************************************************************************/
-
110 int onlp_attribute_onie_info_get(onlp_oid_t oid, onlp_onie_info_t** rp);
-
111 
-
117 int onlp_attribute_onie_info_free(onlp_oid_t oid, onlp_onie_info_t* p);
-
118 
-
125 int onlp_attribute_onie_info_get_json(onlp_oid_t oid, cJSON** rp);
-
126 
-
133 int onlp_attribute_onie_info_show(onlp_oid_t oid, aim_pvs_t* pvs);
-
134 
-
140 int onlp_attribute_onie_info_show_json(onlp_oid_t oid, aim_pvs_t* pvs);
-
141 
- -
154 
- -
161 
- -
169 
-
176 int onlp_attribute_asset_info_show(onlp_oid_t oid, aim_pvs_t* pvs);
-
177 
-
183 int onlp_attribute_asset_info_show_json(onlp_oid_t oid, aim_pvs_t* pvs);
-
184 
-
185 #endif /* __ONLP_ATTRIBUTE_H__ */
-
186 /* @} */
-
int onlp_attribute_onie_info_free(onlp_oid_t oid, onlp_onie_info_t *p)
Free an ONIE attribute pointer.
+Go to the documentation of this file.
1 /************************************************************
2  * <bsn.cl fy=2017 v=onl>
3  *
4  * Copyright 2017 Big Switch Networks, Inc.
5  *
6  * Licensed under the Eclipse Public License, Version 1.0 (the
7  * "License"); you may not use this file except in compliance
8  * with the License. You may obtain a copy of the License at
9  *
10  * http://www.eclipse.org/legal/epl-v10.html
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
15  * either express or implied. See the License for the specific
16  * language governing permissions and limitations under the
17  * License.
18  *
19  * </bsn.cl>
20  ********************************************************/
29 #ifndef __ONLP_ATTRIBUTE_H__
30 #define __ONLP_ATTRIBUTE_H__
31 
32 #include <onlp/oids.h>
33 #include <onlp/onlp.h>
34 #include <onlp/stdattrs.h>
35 #include <AIM/aim_pvs.h>
36 
42 int onlp_attribute_sw_init(void);
43 
50 int onlp_attribute_hw_init(uint32_t flags);
51 
58 int onlp_attribute_sw_denit(void);
59 
65 int onlp_attribute_supported(onlp_oid_t oid, const char* attribute);
66 
73 int onlp_attribute_set(onlp_oid_t oid, const char* attribute, void* value);
74 
81 int onlp_attribute_get(onlp_oid_t oid, const char* attribute,
82  void** value);
83 
90 int onlp_attribute_free(onlp_oid_t oid, const char* attribute, void* value);
91 
95 #define ONLP_ATTRIBUTE_EQUALS(_a, _b) (!strcmp(_a, _b))
96 
97 /******************************************************************************
98  *
99  * These functions provide access to standard ONIE and Asset attributes.
100  * These are so common that they have their own interface for
101  * for both the user and the platform implementations.
102  *
103  *****************************************************************************/
110 int onlp_attribute_onie_info_get(onlp_oid_t oid, onlp_onie_info_t** rp);
111 
117 int onlp_attribute_onie_info_free(onlp_oid_t oid, onlp_onie_info_t* p);
118 
125 int onlp_attribute_onie_info_get_json(onlp_oid_t oid, cJSON** rp);
126 
133 int onlp_attribute_onie_info_show(onlp_oid_t oid, aim_pvs_t* pvs);
134 
140 int onlp_attribute_onie_info_show_json(onlp_oid_t oid, aim_pvs_t* pvs);
141 
154 
161 
169 
176 int onlp_attribute_asset_info_show(onlp_oid_t oid, aim_pvs_t* pvs);
177 
183 int onlp_attribute_asset_info_show_json(onlp_oid_t oid, aim_pvs_t* pvs);
184 
185 #endif /* __ONLP_ATTRIBUTE_H__ */
186 /* @} */
int onlp_attribute_onie_info_free(onlp_oid_t oid, onlp_onie_info_t *p)
Free an ONIE attribute pointer.
int onlp_attribute_asset_info_get_json(onlp_oid_t oid, cJSON **rp)
Request the asset attribute in JSON.
int onlp_attribute_onie_info_show(onlp_oid_t oid, aim_pvs_t *pvs)
Show the ONIE attribute.
int onlp_attribute_sw_denit(void)
Deinitialize the attribute subsystem.
@@ -187,9 +91,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/packages/base/any/onlp/src/onlp/doc/html/attributei_8h.html b/packages/base/any/onlp/src/onlp/doc/html/attributei_8h.html index 2779d09b..3396fde3 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/attributei_8h.html +++ b/packages/base/any/onlp/src/onlp/doc/html/attributei_8h.html @@ -3,16 +3,15 @@ - + + ONLP: module/inc/onlp/platformi/attributei.h File Reference + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,46 +30,25 @@
- + - - + + + +
- All Data Structures Files Functions Variables Typedefs Enumerations Modules Pages
+
@@ -101,15 +79,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - - @@ -137,9 +115,9 @@ int 

Functions

+
int onlp_attributei_sw_init (void)
 Initialize the attribute subsystem.
 
+
int onlp_attributei_hw_init (uint32_t flags)
 Initialize the attribute subsystem.
 
+
int onlp_attributei_sw_denit (void)
 Deinitialize the attribute subsystem.
 
diff --git a/packages/base/any/onlp/src/onlp/doc/html/attributei_8h_source.html b/packages/base/any/onlp/src/onlp/doc/html/attributei_8h_source.html index f13fdfcf..f8ee340d 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/attributei_8h_source.html +++ b/packages/base/any/onlp/src/onlp/doc/html/attributei_8h_source.html @@ -3,16 +3,15 @@ - + + ONLP: module/inc/onlp/platformi/attributei.h Source File + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,46 +30,25 @@
- + - - + + + + +
@@ -89,71 +67,24 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
attributei.h
-Go to the documentation of this file.
1 /************************************************************
-
2  * <bsn.cl fy=2017 v=onl>
-
3  *
-
4  * Copyright 2017 Big Switch Networks, Inc.
-
5  *
-
6  * Licensed under the Eclipse Public License, Version 1.0 (the
-
7  * "License"); you may not use this file except in compliance
-
8  * with the License. You may obtain a copy of the License at
-
9  *
-
10  * http://www.eclipse.org/legal/epl-v10.html
-
11  *
-
12  * Unless required by applicable law or agreed to in writing,
-
13  * software distributed under the License is distributed on an
-
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
-
15  * either express or implied. See the License for the specific
-
16  * language governing permissions and limitations under the
-
17  * License.
-
18  *
-
19  * </bsn.cl>
-
20  ********************************************************/
-
28 #ifndef __ONLP_ATTRIBUTEI_H__
-
29 #define __ONLP_ATTRIBUTEI_H__
-
30 
-
31 #include <onlp/attribute.h>
-
32 #include <onlp/onlp.h>
-
33 
-
37 int onlp_attributei_sw_init(void);
-
38 
-
42 int onlp_attributei_hw_init(uint32_t flags);
-
43 
-
47 int onlp_attributei_sw_denit(void);
-
48 
-
54 int onlp_attributei_supported(onlp_oid_t oid, const char* attribute);
-
55 
-
62 int onlp_attributei_set(onlp_oid_t oid, const char* attribute, void* value);
-
63 
-
70 int onlp_attributei_get(onlp_oid_t oid, const char* attribute,
-
71  void** value);
-
72 
-
79 int onlp_attributei_free(onlp_oid_t oid, const char* attribute, void* value);
-
80 
-
91 int onlp_attributei_onie_info_get(onlp_oid_t oid, onlp_onie_info_t* rv);
-
92 
- -
100 
-
101 #endif /* __ONLP_ATTRIBUTEI_H__ */
-
102 /* @} */
-
int onlp_attributei_hw_init(uint32_t flags)
Initialize the attribute subsystem.
+Go to the documentation of this file.
1 /************************************************************
2  * <bsn.cl fy=2017 v=onl>
3  *
4  * Copyright 2017 Big Switch Networks, Inc.
5  *
6  * Licensed under the Eclipse Public License, Version 1.0 (the
7  * "License"); you may not use this file except in compliance
8  * with the License. You may obtain a copy of the License at
9  *
10  * http://www.eclipse.org/legal/epl-v10.html
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
15  * either express or implied. See the License for the specific
16  * language governing permissions and limitations under the
17  * License.
18  *
19  * </bsn.cl>
20  ********************************************************/
28 #ifndef __ONLP_ATTRIBUTEI_H__
29 #define __ONLP_ATTRIBUTEI_H__
30 
31 #include <onlp/attribute.h>
32 #include <onlp/onlp.h>
33 
37 int onlp_attributei_sw_init(void);
38 
42 int onlp_attributei_hw_init(uint32_t flags);
43 
47 int onlp_attributei_sw_denit(void);
48 
54 int onlp_attributei_supported(onlp_oid_t oid, const char* attribute);
55 
62 int onlp_attributei_set(onlp_oid_t oid, const char* attribute, void* value);
63 
70 int onlp_attributei_get(onlp_oid_t oid, const char* attribute,
71  void** value);
72 
79 int onlp_attributei_free(onlp_oid_t oid, const char* attribute, void* value);
80 
91 int onlp_attributei_onie_info_get(onlp_oid_t oid, onlp_onie_info_t* rv);
92 
100 
101 #endif /* __ONLP_ATTRIBUTEI_H__ */
102 /* @} */
int onlp_attributei_hw_init(uint32_t flags)
Initialize the attribute subsystem.
uint32_t onlp_oid_t
Definition: oids.h:52
int onlp_attributei_sw_init(void)
Initialize the attribute subsystem.
Attributes.
-
int onlp_attributei_onie_info_get(onlp_oid_t oid, onlp_onie_info_t *rv)
Get an OID's ONIE attribute.
+
int onlp_attributei_onie_info_get(onlp_oid_t oid, onlp_onie_info_t *rv)
Get an OID&#39;s ONIE attribute.
int onlp_attributei_free(onlp_oid_t oid, const char *attribute, void *value)
Free an attribute value returned from onlp_attributei_get().
int onlp_attributei_sw_denit(void)
Deinitialize the attribute subsystem.
int onlp_attributei_supported(onlp_oid_t oid, const char *attribute)
Determine whether the OID supports the given attributei.
-
int onlp_attributei_asset_info_get(onlp_oid_t oid, onlp_asset_info_t *rv)
Get an OID's Asset attribute.
+
int onlp_attributei_asset_info_get(onlp_oid_t oid, onlp_asset_info_t *rv)
Get an OID&#39;s Asset attribute.
This structure describes general asset information that may be associated with a particular OID...
Definition: stdattrs.h:40
int onlp_attributei_get(onlp_oid_t oid, const char *attribute, void **value)
Get an attribute from the given OID.
int onlp_attributei_set(onlp_oid_t oid, const char *attribute, void *value)
Set an attribute on the given OID.
diff --git a/packages/base/any/onlp/src/onlp/doc/html/base_8h_source.html b/packages/base/any/onlp/src/onlp/doc/html/base_8h_source.html index 6c04229a..571c83c7 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/base_8h_source.html +++ b/packages/base/any/onlp/src/onlp/doc/html/base_8h_source.html @@ -3,16 +3,15 @@ - + + ONLP: module/inc/onlp/platformi/base.h Source File + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,46 +30,25 @@
- + - - + + + + +
@@ -89,46 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
base.h
-
1 #ifndef __ONLP_PLATFORMI_COMMON_H__
-
2 #define __ONLP_PLATFORMI_COMMON_H__
-
3 
-
4 /*
-
5  * Interchange includes between subsystems
-
6  */
- - -
9 #include <onlp/platformi/fani.h>
-
10 #include <onlp/platformi/psui.h>
- -
12 #include <onlp/platformi/sfpi.h>
-
13 #include <onlp/platformi/ledi.h>
- -
15 
-
16 /*
-
17  * Common includes needed for subsystem implementations.
-
18  */
-
19 #include <onlplib/i2c.h>
-
20 #include <onlplib/file.h>
-
21 #include <onlplib/mmap.h>
-
22 
-
23 #include <unistd.h>
-
24 #include <fcntl.h>
-
25 #include <sys/mman.h>
-
26 #include <stdio.h>
-
27 #include <string.h>
-
28 
-
29 
-
30 #define ONLP_OID_INFO_ASSIGN(_id, _array, _ptr) \
-
31  do { \
-
32  if(_id <= 0 || _id >= AIM_ARRAYSIZE(_array)) { \
-
33  AIM_LOG_ERROR("size=%d id=%d", AIM_ARRAYSIZE(_array), _id); \
-
34  return ONLP_STATUS_E_PARAM; \
-
35  } \
-
36  (*_ptr) = _array[_id]; \
-
37  } while(0)
-
38 
-
39 #endif /* __ONLP_PLATFORMI_COMMON_H__ */
-
Platform Management Interface.
+
1 #ifndef __ONLP_PLATFORMI_COMMON_H__
2 #define __ONLP_PLATFORMI_COMMON_H__
3 
4 /*
5  * Interchange includes between subsystems
6  */
9 #include <onlp/platformi/fani.h>
10 #include <onlp/platformi/psui.h>
12 #include <onlp/platformi/sfpi.h>
13 #include <onlp/platformi/ledi.h>
15 
16 /*
17  * Common includes needed for subsystem implementations.
18  */
19 #include <onlplib/i2c.h>
20 #include <onlplib/file.h>
21 #include <onlplib/mmap.h>
22 
23 #include <unistd.h>
24 #include <fcntl.h>
25 #include <sys/mman.h>
26 #include <stdio.h>
27 #include <string.h>
28 
29 
30 #define ONLP_OID_INFO_ASSIGN(_id, _array, _ptr) \
31  do { \
32  if(_id <= 0 || _id >= AIM_ARRAYSIZE(_array)) { \
33  AIM_LOG_ERROR("size=%d id=%d", AIM_ARRAYSIZE(_array), _id); \
34  return ONLP_STATUS_E_PARAM; \
35  } \
36  (*_ptr) = _array[_id]; \
37  } while(0)
38 
39 #endif /* __ONLP_PLATFORMI_COMMON_H__ */
Platform Management Interface.
SFP Platform Implementation Interface. This interface must be implemented and available for all platf...
Attribute Interface.
Platform Management Interface.
@@ -139,9 +78,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/packages/base/any/onlp/src/onlp/doc/html/chassis_8h.html b/packages/base/any/onlp/src/onlp/doc/html/chassis_8h.html index 5f1a38d3..47a9e556 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/chassis_8h.html +++ b/packages/base/any/onlp/src/onlp/doc/html/chassis_8h.html @@ -3,16 +3,15 @@ - + + ONLP: module/inc/onlp/chassis.h File Reference + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,46 +30,25 @@
- + - - + + + + +
@@ -112,7 +90,7 @@ Data Structures
- @@ -162,9 +140,9 @@ Functions diff --git a/packages/base/any/onlp/src/onlp/doc/html/chassis_8h_source.html b/packages/base/any/onlp/src/onlp/doc/html/chassis_8h_source.html index 6be22b88..92d3e3d8 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/chassis_8h_source.html +++ b/packages/base/any/onlp/src/onlp/doc/html/chassis_8h_source.html @@ -3,16 +3,15 @@ - + +ONLP: module/inc/onlp/chassis.h Source File + - @@ -21,7 +20,7 @@

Typedefs

+
typedef struct onlp_chassis_info_s onlp_chassis_info_t
 Chassis Information Structure.
 
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,46 +30,25 @@
- + - - + + + +
- All Data Structures Files Functions Variables Typedefs Enumerations Modules Pages
+
@@ -89,76 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
chassis.h
-Go to the documentation of this file.
1 /************************************************************
-
2  * <bsn.cl fy=2014 v=onl>
-
3  *
-
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
-
5  *
-
6  * Licensed under the Eclipse Public License, Version 1.0 (the
-
7  * "License"); you may not use this file except in compliance
-
8  * with the License. You may obtain a copy of the License at
-
9  *
-
10  * http://www.eclipse.org/legal/epl-v10.html
-
11  *
-
12  * Unless required by applicable law or agreed to in writing,
-
13  * software distributed under the License is distributed on an
-
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
-
15  * either express or implied. See the License for the specific
-
16  * language governing permissions and limitations under the
-
17  * License.
-
18  *
-
19  * </bsn.cl>
-
20  ********************************************************/
-
34 #ifndef __ONLP_CHASSIS_H__
-
35 #define __ONLP_CHASSIS_H__
-
36 
-
37 #include <onlp/onlp_config.h>
-
38 #include <onlp/onlp.h>
-
39 #include <onlplib/onie.h>
-
40 #include <onlplib/pi.h>
-
41 #include <onlp/oids.h>
-
42 
-
47 typedef struct onlp_chassis_info_s {
- -
50 
-
51  /* Chassis objects have no dedicated fields. */
-
52 
- -
54 
-
60 int onlp_chassis_sw_init(void);
-
61 
-
66 int onlp_chassis_hw_init(uint32_t flags);
-
67 
-
74 int onlp_chassis_sw_denit(void);
-
75 
- -
82 
- -
89 
-
96 int onlp_chassis_info_to_user_json(onlp_chassis_info_t* info, cJSON** cj, uint32_t flags);
-
97 
-
104 int onlp_chassis_info_to_json(onlp_chassis_info_t* info, cJSON** cj, uint32_t flags);
-
105 
- -
112 
-
113 /******************************************************************************
-
114  *
-
115  * Standard Chassis Features
-
116  *
-
117  *****************************************************************************/
-
118 
-
130 int onlp_chassis_environment_to_json(cJSON** cjp, uint32_t flags);
-
131 
-
132 
-
139 int onlp_chassis_environment_show(aim_pvs_t* pvs, uint32_t flags);
-
140 
-
145 int onlp_chassis_debug_get_json(cJSON** rv);
-
146 
-
151 int onlp_chassis_debug_show(aim_pvs_t* pvs);
-
152 
-
153 #endif /* __ONLP_CHASSIS_H_ */
-
154 /* @} */
-
onlp Configuration Header
+Go to the documentation of this file.
1 /************************************************************
2  * <bsn.cl fy=2014 v=onl>
3  *
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
5  *
6  * Licensed under the Eclipse Public License, Version 1.0 (the
7  * "License"); you may not use this file except in compliance
8  * with the License. You may obtain a copy of the License at
9  *
10  * http://www.eclipse.org/legal/epl-v10.html
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
15  * either express or implied. See the License for the specific
16  * language governing permissions and limitations under the
17  * License.
18  *
19  * </bsn.cl>
20  ********************************************************/
34 #ifndef __ONLP_CHASSIS_H__
35 #define __ONLP_CHASSIS_H__
36 
37 #include <onlp/onlp_config.h>
38 #include <onlp/onlp.h>
39 #include <onlplib/onie.h>
40 #include <onlplib/pi.h>
41 #include <onlp/oids.h>
42 
47 typedef struct onlp_chassis_info_s {
50 
51  /* Chassis objects have no dedicated fields. */
52 
54 
60 int onlp_chassis_sw_init(void);
61 
66 int onlp_chassis_hw_init(uint32_t flags);
67 
74 int onlp_chassis_sw_denit(void);
75 
82 
89 
96 int onlp_chassis_info_to_user_json(onlp_chassis_info_t* info, cJSON** cj, uint32_t flags);
97 
104 int onlp_chassis_info_to_json(onlp_chassis_info_t* info, cJSON** cj, uint32_t flags);
105 
112 
113 /******************************************************************************
114  *
115  * Standard Chassis Features
116  *
117  *****************************************************************************/
118 
130 int onlp_chassis_environment_to_json(cJSON** cjp, uint32_t flags);
131 
132 
139 int onlp_chassis_environment_show(aim_pvs_t* pvs, uint32_t flags);
140 
145 int onlp_chassis_debug_get_json(cJSON** rv);
146 
151 int onlp_chassis_debug_show(aim_pvs_t* pvs);
152 
153 #endif /* __ONLP_CHASSIS_H_ */
154 /* @} */
onlp Configuration Header
int onlp_chassis_info_to_json(onlp_chassis_info_t *info, cJSON **cj, uint32_t flags)
Convert a chassis info structure to JSON.
onlp_oid_hdr_t hdr
Definition: chassis.h:49
int onlp_chassis_hdr_get(onlp_oid_t oid, onlp_oid_hdr_t *hdr)
Get the Chassis Header structure.
@@ -180,9 +89,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/packages/base/any/onlp/src/onlp/doc/html/chassisi_8h.html b/packages/base/any/onlp/src/onlp/doc/html/chassisi_8h.html index 1c3faa8f..c810d871 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/chassisi_8h.html +++ b/packages/base/any/onlp/src/onlp/doc/html/chassisi_8h.html @@ -3,16 +3,15 @@ - + + ONLP: module/inc/onlp/platformi/chassisi.h File Reference + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,46 +30,25 @@
- + - - + + + +
- All Data Structures Files Functions Variables Typedefs Enumerations Modules Pages
+
@@ -100,7 +78,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - @@ -122,9 +100,9 @@ int  - - @@ -122,9 +104,9 @@ Files diff --git a/packages/base/any/onlp/src/onlp/doc/html/doc.png b/packages/base/any/onlp/src/onlp/doc/html/doc.png new file mode 100644 index 00000000..17edabff Binary files /dev/null and b/packages/base/any/onlp/src/onlp/doc/html/doc.png differ diff --git a/packages/base/any/onlp/src/onlp/doc/html/doxygen.css b/packages/base/any/onlp/src/onlp/doc/html/doxygen.css index 02e8b015..4f1ab919 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/doxygen.css +++ b/packages/base/any/onlp/src/onlp/doc/html/doxygen.css @@ -1,9 +1,13 @@ -/* The standard CSS for doxygen 1.8.8 */ +/* The standard CSS for doxygen 1.8.13 */ body, table, div, p, dl { font: 400 14px/22px Roboto,sans-serif; } +p.reference, p.definition { + font: 400 14px/22px Roboto,sans-serif; +} + /* @group Heading Levels */ h1.groupheader { @@ -173,7 +177,7 @@ pre.fragment { } div.fragment { - padding: 4px 6px; + padding: 0px; margin: 4px 8px 4px 2px; background-color: #FBFCFD; border: 1px solid #C4CFE5; @@ -206,6 +210,11 @@ div.line { transition-duration: 0.5s; } +div.line:after { + content:"\000A"; + white-space: pre; +} + div.line.glow { background-color: cyan; box-shadow: 0 0 10px cyan; @@ -227,7 +236,16 @@ span.lineno a:hover { background-color: #C8C8C8; } -div.ah { +.lineno { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +div.ah, span.ah { background-color: black; font-weight: bold; color: #ffffff; @@ -242,7 +260,16 @@ div.ah { -webkit-box-shadow: 2px 2px 3px #999; -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); - background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); +} + +div.classindex ul { + list-style: none; + padding-left: 0; +} + +div.classindex span.ai { + display: inline-block; } div.groupHeader { @@ -487,6 +514,29 @@ table.memberdecls { /* Styles for detailed member documentation */ +.memtitle { + padding: 8px; + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + border-top-right-radius: 4px; + border-top-left-radius: 4px; + margin-bottom: -1px; + background-image: url('nav_f.png'); + background-repeat: repeat-x; + background-color: #E2E8F2; + line-height: 1.25; + font-weight: 300; + float:left; +} + +.permalink +{ + font-size: 65%; + display: inline-block; + vertical-align: middle; +} + .memtemplate { font-size: 80%; color: #4665A2; @@ -525,7 +575,7 @@ table.memberdecls { } .memname { - font-weight: bold; + font-weight: 400; margin-left: 6px; } @@ -541,24 +591,24 @@ table.memberdecls { color: #253555; font-weight: bold; text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; + background-color: #DFE5F1; /* opera specific markup */ box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); border-top-right-radius: 4px; - border-top-left-radius: 4px; /* firefox specific markup */ -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; -moz-border-radius-topright: 4px; - -moz-border-radius-topleft: 4px; /* webkit specific markup */ -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -webkit-border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; } +.overload { + font-family: "courier new",courier,monospace; + font-size: 65%; +} + .memdoc, dl.reflist dd { border-bottom: 1px solid #A8B8D9; border-left: 1px solid #A8B8D9; @@ -773,7 +823,7 @@ div.directory { width: 24px; height: 18px; margin-bottom: 4px; - background-image:url('ftv2folderopen.png'); + background-image:url('folderopen.png'); background-position: 0px -4px; background-repeat: repeat-y; vertical-align:top; @@ -784,7 +834,7 @@ div.directory { width: 24px; height: 18px; margin-bottom: 4px; - background-image:url('ftv2folderclosed.png'); + background-image:url('folderclosed.png'); background-position: 0px -4px; background-repeat: repeat-y; vertical-align:top; @@ -795,7 +845,7 @@ div.directory { width: 24px; height: 18px; margin-bottom: 4px; - background-image:url('ftv2doc.png'); + background-image:url('doc.png'); background-position: 0px -4px; background-repeat: repeat-y; vertical-align:top; @@ -823,6 +873,10 @@ address { color: #2A3D61; } +table.doxtable caption { + caption-side: top; +} + table.doxtable { border-collapse:collapse; margin-top: 4px; @@ -896,6 +950,7 @@ table.fieldtable { padding-bottom: 4px; padding-top: 5px; text-align:left; + font-weight: 400; -moz-border-radius-topleft: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-left-radius: 4px; @@ -988,6 +1043,18 @@ div.summary a white-space: nowrap; } +table.classindex +{ + margin: 10px; + white-space: nowrap; + margin-left: 3%; + margin-right: 3%; + width: 94%; + border: 0; + border-spacing: 0; + padding: 0; +} + div.ingroups { font-size: 8pt; @@ -1099,6 +1166,11 @@ dl.section dd { border: 0px none; } +#projectalign +{ + vertical-align: middle; +} + #projectname { font: 300% Tahoma, Arial,sans-serif; @@ -1143,6 +1215,11 @@ dl.section dd { text-align: center; } +.plantumlgraph +{ + text-align: center; +} + .diagraph { text-align: center; @@ -1182,7 +1259,7 @@ div.toc { border-radius: 7px 7px 7px 7px; float: right; height: auto; - margin: 0 20px 10px 10px; + margin: 0 8px 10px 10px; width: 200px; } @@ -1438,3 +1515,82 @@ tr.heading h2 { } } +/* @group Markdown */ + +/* +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.markdownTableHead tr { +} + +table.markdownTableBodyLeft td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +th.markdownTableHeadLeft th.markdownTableHeadRight th.markdownTableHeadCenter th.markdownTableHeadNone { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft { + text-align: left +} + +th.markdownTableHeadRight { + text-align: right +} + +th.markdownTableHeadCenter { + text-align: center +} +*/ + +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.markdownTable tr { +} + +th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft, td.markdownTableBodyLeft { + text-align: left +} + +th.markdownTableHeadRight, td.markdownTableBodyRight { + text-align: right +} + +th.markdownTableHeadCenter, td.markdownTableBodyCenter { + text-align: center +} + + +/* @end */ diff --git a/packages/base/any/onlp/src/onlp/doc/html/fan_8h.html b/packages/base/any/onlp/src/onlp/doc/html/fan_8h.html index 65690aea..4acfd3e2 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/fan_8h.html +++ b/packages/base/any/onlp/src/onlp/doc/html/fan_8h.html @@ -3,16 +3,15 @@ - + +ONLP: module/inc/onlp/fan.h File Reference + - @@ -21,7 +20,7 @@

Functions

+
int onlp_chassisi_sw_init (void)
 Software initializaiton of the Chassis module.
 
diff --git a/packages/base/any/onlp/src/onlp/doc/html/chassisi_8h_source.html b/packages/base/any/onlp/src/onlp/doc/html/chassisi_8h_source.html index b93251a9..d5dc8fed 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/chassisi_8h_source.html +++ b/packages/base/any/onlp/src/onlp/doc/html/chassisi_8h_source.html @@ -3,16 +3,15 @@ - + + ONLP: module/inc/onlp/platformi/chassisi.h Source File + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,46 +30,25 @@
- + - - + + + + +
@@ -89,45 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
chassisi.h
-Go to the documentation of this file.
1 /************************************************************
-
2  * <bsn.cl fy=2014 v=onl>
-
3  *
-
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
-
5  *
-
6  * Licensed under the Eclipse Public License, Version 1.0 (the
-
7  * "License"); you may not use this file except in compliance
-
8  * with the License. You may obtain a copy of the License at
-
9  *
-
10  * http://www.eclipse.org/legal/epl-v10.html
-
11  *
-
12  * Unless required by applicable law or agreed to in writing,
-
13  * software distributed under the License is distributed on an
-
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
-
15  * either express or implied. See the License for the specific
-
16  * language governing permissions and limitations under the
-
17  * License.
-
18  *
-
19  * </bsn.cl>
-
20  ********************************************************/
-
28 #ifndef __ONLP_CHASSISI_H__
-
29 #define __ONLP_CHASSISI_H__
-
30 
-
31 #include <onlp/chassis.h>
-
32 
-
36 int onlp_chassisi_sw_init(void);
-
37 
-
42 int onlp_chassisi_hw_init(uint32_t flags);
-
43 
-
50 int onlp_chassisi_sw_denit(void);
-
51 
-
52 
- -
59 
- -
66 
-
67 #endif /* __ONLP_CHASSISI_H__ */
-
68 /* @} */
-
int onlp_chassisi_info_get(onlp_oid_id_t id, onlp_chassis_info_t *info)
Get the chassis info structure.
+Go to the documentation of this file.
1 /************************************************************
2  * <bsn.cl fy=2014 v=onl>
3  *
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
5  *
6  * Licensed under the Eclipse Public License, Version 1.0 (the
7  * "License"); you may not use this file except in compliance
8  * with the License. You may obtain a copy of the License at
9  *
10  * http://www.eclipse.org/legal/epl-v10.html
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
15  * either express or implied. See the License for the specific
16  * language governing permissions and limitations under the
17  * License.
18  *
19  * </bsn.cl>
20  ********************************************************/
28 #ifndef __ONLP_CHASSISI_H__
29 #define __ONLP_CHASSISI_H__
30 
31 #include <onlp/chassis.h>
32 
36 int onlp_chassisi_sw_init(void);
37 
42 int onlp_chassisi_hw_init(uint32_t flags);
43 
50 int onlp_chassisi_sw_denit(void);
51 
52 
59 
66 
67 #endif /* __ONLP_CHASSISI_H__ */
68 /* @} */
int onlp_chassisi_info_get(onlp_oid_id_t id, onlp_chassis_info_t *info)
Get the chassis info structure.
int onlp_chassisi_hw_init(uint32_t flags)
Hardware initializaiton of the Chassis module.
int onlp_chassisi_sw_denit(void)
Deinitialize the chassis software module.
uint32_t onlp_oid_id_t
Definition: oids.h:55
@@ -139,9 +79,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/packages/base/any/onlp/src/onlp/doc/html/classes.html b/packages/base/any/onlp/src/onlp/doc/html/classes.html index 98942e6a..2b598d49 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/classes.html +++ b/packages/base/any/onlp/src/onlp/doc/html/classes.html @@ -3,16 +3,15 @@ - + + ONLP: Data Structure Index + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,48 +30,26 @@
- + - - + + + + +
@@ -86,21 +63,21 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
Data Structure Index
diff --git a/packages/base/any/onlp/src/onlp/doc/html/debug_8h_source.html b/packages/base/any/onlp/src/onlp/doc/html/debug_8h_source.html index c6c227bb..414d4786 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/debug_8h_source.html +++ b/packages/base/any/onlp/src/onlp/doc/html/debug_8h_source.html @@ -3,16 +3,15 @@ - + + ONLP: module/inc/onlp/debug.h Source File + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,46 +30,25 @@
- + - - + + + + +
@@ -89,44 +67,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
debug.h
-
1 /************************************************************
-
2  * <bsn.cl fy=2014 v=onl>
-
3  *
-
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
-
5  *
-
6  * Licensed under the Eclipse Public License, Version 1.0 (the
-
7  * "License"); you may not use this file except in compliance
-
8  * with the License. You may obtain a copy of the License at
-
9  *
-
10  * http://www.eclipse.org/legal/epl-v10.html
-
11  *
-
12  * Unless required by applicable law or agreed to in writing,
-
13  * software distributed under the License is distributed on an
-
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
-
15  * either express or implied. See the License for the specific
-
16  * language governing permissions and limitations under the
-
17  * License.
-
18  *
-
19  * </bsn.cl>
-
20  ************************************************************
-
21  *
-
22  * Debug
-
23  *
-
24  ***********************************************************/
-
25 #ifndef __ONLP_DEBUG_H__
-
26 #define __ONLP_DEBUG_H__
-
27 
-
28 #include <AIM/aim_pvs.h>
-
29 
-
33 int onlp_debug(aim_pvs_t* pvs, int argc, char* argv[]);
-
34 
-
35 #endif /* __ONL_DEBUG_H__ */
-
+
1 /************************************************************
2  * <bsn.cl fy=2014 v=onl>
3  *
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
5  *
6  * Licensed under the Eclipse Public License, Version 1.0 (the
7  * "License"); you may not use this file except in compliance
8  * with the License. You may obtain a copy of the License at
9  *
10  * http://www.eclipse.org/legal/epl-v10.html
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
15  * either express or implied. See the License for the specific
16  * language governing permissions and limitations under the
17  * License.
18  *
19  * </bsn.cl>
20  ************************************************************
21  *
22  * Debug
23  *
24  ***********************************************************/
25 #ifndef __ONLP_DEBUG_H__
26 #define __ONLP_DEBUG_H__
27 
28 #include <AIM/aim_pvs.h>
29 
33 int onlp_debug(aim_pvs_t* pvs, int argc, char* argv[]);
34 
35 #endif /* __ONL_DEBUG_H__ */
diff --git a/packages/base/any/onlp/src/onlp/doc/html/dir_72adef417dcbc5bf8193445c31305165.html b/packages/base/any/onlp/src/onlp/doc/html/dir_72adef417dcbc5bf8193445c31305165.html index ed14825d..e365b28b 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/dir_72adef417dcbc5bf8193445c31305165.html +++ b/packages/base/any/onlp/src/onlp/doc/html/dir_72adef417dcbc5bf8193445c31305165.html @@ -3,16 +3,15 @@ - + + ONLP: module/inc/onlp Directory Reference + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,40 +30,25 @@
- + - + + + + +
@@ -86,8 +70,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - -

Directories

directory  platformi
 
@@ -97,8 +79,6 @@ Files - - @@ -114,13 +94,9 @@ Files - - - - @@ -143,9 +119,9 @@ Files diff --git a/packages/base/any/onlp/src/onlp/doc/html/dir_9b91cb305f6dfd5edb8153d5019adc55.html b/packages/base/any/onlp/src/onlp/doc/html/dir_9b91cb305f6dfd5edb8153d5019adc55.html index dd062059..358f923c 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/dir_9b91cb305f6dfd5edb8153d5019adc55.html +++ b/packages/base/any/onlp/src/onlp/doc/html/dir_9b91cb305f6dfd5edb8153d5019adc55.html @@ -3,16 +3,15 @@ - + +ONLP: module/inc Directory Reference + - @@ -21,7 +20,7 @@

Files

file  chassis.h [code]
 Chassis OID Interface.
 
file  debug.h [code]
 
file  fan.h [code]
 Fan Management.
 
file  oids.h [code]
 Object Identifiers.
 
file  onlp.h [code]
 
file  onlp_config.h [code]
 onlp Configuration Header
 
file  onlp_dox.h [code]
 
file  onlp_porting.h [code]
 onlp Porting Macros.
 
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,40 +30,25 @@
- + - + + + + +
@@ -86,15 +70,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - -

Directories

directory  onlp
 
diff --git a/packages/base/any/onlp/src/onlp/doc/html/dir_a7b0466279106ea0b8f86f609f621680.html b/packages/base/any/onlp/src/onlp/doc/html/dir_a7b0466279106ea0b8f86f609f621680.html index 48ff22fa..4251180c 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/dir_a7b0466279106ea0b8f86f609f621680.html +++ b/packages/base/any/onlp/src/onlp/doc/html/dir_a7b0466279106ea0b8f86f609f621680.html @@ -3,16 +3,15 @@ - + + ONLP: module Directory Reference + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,40 +30,25 @@
- + - + + + + +
@@ -83,18 +67,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
module Directory Reference
- - - - -

-Directories

directory  inc
 
diff --git a/packages/base/any/onlp/src/onlp/doc/html/dir_ad96458042bbdd0196ba054c40055169.html b/packages/base/any/onlp/src/onlp/doc/html/dir_ad96458042bbdd0196ba054c40055169.html index 1271da1a..3e26c279 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/dir_ad96458042bbdd0196ba054c40055169.html +++ b/packages/base/any/onlp/src/onlp/doc/html/dir_ad96458042bbdd0196ba054c40055169.html @@ -3,16 +3,15 @@ - + + ONLP: module/inc/onlp/platformi Directory Reference + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,40 +30,25 @@
- + - + + + + +
@@ -89,8 +73,6 @@ Files
file  attributei.h [code]
 Attribute Interface.
 
file  base.h [code]
 
file  chassisi.h [code]
 Chassis Platform Interface.
 
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,46 +30,25 @@
- + - - + + + +
- All Data Structures Files Functions Variables Typedefs Enumerations Modules Pages
+
@@ -112,8 +90,8 @@ Data Structures - + @@ -144,30 +122,38 @@ Typedefs Enumerations

Macros

-#define ONLP_FAN_INFO_CAP_IS_SET(_pinfo, _name)   ((_pinfo)->caps & ONLP_FAN_CAPS_##_name)
+#define ONLP_FAN_INFO_CAP_IS_SET(_pinfo, _name)   ((_pinfo)->caps & ONLP_FAN_CAPS_##_name)
 Determine if a fan capability is set.
 
#define ONLP_FAN_STATUS_PRESENT(_fi)   ((_fi).hdr.status & ONLP_OID_STATUS.PRESENT)
enum  onlp_fan_caps_e {
  ONLP_FAN_CAPS_SET_DIR = (1 << 0), -ONLP_FAN_CAPS_GET_DIR = (1 << 1), -ONLP_FAN_CAPS_SET_RPM = (1 << 2), -ONLP_FAN_CAPS_SET_PERCENTAGE = (1 << 3), +
+  ONLP_FAN_CAPS_GET_DIR = (1 << 1), +
+  ONLP_FAN_CAPS_SET_RPM = (1 << 2), +
+  ONLP_FAN_CAPS_SET_PERCENTAGE = (1 << 3),
  ONLP_FAN_CAPS_GET_RPM = (1 << 4), -ONLP_FAN_CAPS_GET_PERCENTAGE = (1 << 5) +
+  ONLP_FAN_CAPS_GET_PERCENTAGE = (1 << 5)
}
 
enum  onlp_fan_dir_e {
  ONLP_FAN_DIR_UNKNOWN, -ONLP_FAN_DIR_B2F, -ONLP_FAN_DIR_F2B, -ONLP_FAN_DIR_LAST = ONLP_FAN_DIR_F2B, +
+  ONLP_FAN_DIR_B2F, +
+  ONLP_FAN_DIR_F2B, +
+  ONLP_FAN_DIR_LAST = ONLP_FAN_DIR_F2B,
  ONLP_FAN_DIR_COUNT, -ONLP_FAN_DIR_INVALID = -1 +
+  ONLP_FAN_DIR_INVALID = -1
}
 
- @@ -235,9 +221,9 @@ Variables diff --git a/packages/base/any/onlp/src/onlp/doc/html/fan_8h_source.html b/packages/base/any/onlp/src/onlp/doc/html/fan_8h_source.html index b8a4fef4..0817800d 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/fan_8h_source.html +++ b/packages/base/any/onlp/src/onlp/doc/html/fan_8h_source.html @@ -3,16 +3,15 @@ - + +ONLP: module/inc/onlp/fan.h Source File + - @@ -21,7 +20,7 @@

Functions

+
int onlp_fan_sw_init (void)
 Software Initialization of the Fan module.
 
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,46 +30,25 @@
- + - - + + + +
- All Data Structures Files Functions Variables Typedefs Enumerations Modules Pages
+
@@ -89,155 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
fan.h
-Go to the documentation of this file.
1 /************************************************************
-
2  * <bsn.cl fy=2014 v=onl>
-
3  *
-
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
-
5  *
-
6  * Licensed under the Eclipse Public License, Version 1.0 (the
-
7  * "License"); you may not use this file except in compliance
-
8  * with the License. You may obtain a copy of the License at
-
9  *
-
10  * http://www.eclipse.org/legal/epl-v10.html
-
11  *
-
12  * Unless required by applicable law or agreed to in writing,
-
13  * software distributed under the License is distributed on an
-
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
-
15  * either express or implied. See the License for the specific
-
16  * language governing permissions and limitations under the
-
17  * License.
-
18  *
-
19  * </bsn.cl>
-
20  ********************************************************/
-
28 #ifndef __ONLP_FAN_H__
-
29 #define __ONLP_FAN_H__
-
30 
-
31 #include <onlp/oids.h>
-
32 #include <onlp/onlp.h>
-
33 
-
34 #include <BigList/biglist.h>
-
35 
-
36 /* <auto.start.enum(tag:fan).define> */
-
38 typedef enum onlp_fan_caps_e {
-
39  ONLP_FAN_CAPS_SET_DIR = (1 << 0),
-
40  ONLP_FAN_CAPS_GET_DIR = (1 << 1),
-
41  ONLP_FAN_CAPS_SET_RPM = (1 << 2),
-
42  ONLP_FAN_CAPS_SET_PERCENTAGE = (1 << 3),
-
43  ONLP_FAN_CAPS_GET_RPM = (1 << 4),
-
44  ONLP_FAN_CAPS_GET_PERCENTAGE = (1 << 5),
- -
46 
-
48 typedef enum onlp_fan_dir_e {
-
49  ONLP_FAN_DIR_UNKNOWN,
-
50  ONLP_FAN_DIR_B2F,
-
51  ONLP_FAN_DIR_F2B,
-
52  ONLP_FAN_DIR_LAST = ONLP_FAN_DIR_F2B,
-
53  ONLP_FAN_DIR_COUNT,
-
54  ONLP_FAN_DIR_INVALID = -1,
- -
56 /* <auto.end.enum(tag:fan).define> */
-
57 
-
61 typedef struct onlp_fan_info_s {
- -
64 
- -
67 
-
69  uint32_t caps;
-
70 
-
72  int rpm;
-
73 
- -
76 
- -
79 
- -
82 
- -
84 
-
88 #define ONLP_FAN_INFO_CAP_IS_SET(_pinfo, _name) \
-
89  ((_pinfo)->caps & ONLP_FAN_CAPS_##_name)
-
90 
-
94 int onlp_fan_sw_init(void);
-
95 
-
100 int onlp_fan_hw_init(uint32_t flags);
-
101 
-
108 int onlp_fan_sw_denit(void);
-
109 
- -
116 
- -
123 
-
129 int onlp_fan_caps_get(onlp_oid_t oid, uint32_t* caps);
-
130 
-
137 int onlp_fan_rpm_set(onlp_oid_t oid, int rpm);
-
138 
-
145 int onlp_fan_percentage_set(onlp_oid_t oid, int p);
-
146 
- -
154 
-
161 int onlp_fan_info_to_user_json(onlp_fan_info_t* info, cJSON** cj,
-
162  uint32_t flags);
-
163 
-
170 int onlp_fan_info_to_json(onlp_fan_info_t* info, cJSON** cj, uint32_t flags);
-
171 
-
177 int onlp_fan_info_from_json(cJSON* cj, onlp_fan_info_t* info);
-
178 
-
179 
-
181 #define ONLP_FAN_STATUS_PRESENT(_fi) ((_fi).hdr.status & ONLP_OID_STATUS.PRESENT)
-
182 
-
184 #define ONLP_FAN_STATUS_MISSING(_fi) (!ONLP_FAN_INFO_PRESENT(_fi))
-
185 
-
187 #define ONLP_FAN_STATUS_FAILED(_fi) ( (_fi).hdr.status & ONLP_OID_STATUS.FAILED)
-
188 
-
190 #define ONLP_FAN_STATUS_NORMAL(_fi) ( ONLP_FAN_STATUS_PRESENT(_fi) && !ONLP_FAN_STATUS_FAILED(_fi) )
-
191 
-
192 
-
193 /******************************************************************************
-
194  *
-
195  * Enumeration Support Definitions.
-
196  *
-
197  * Please do not add additional code beyond this point.
-
198  *
-
199  *****************************************************************************/
-
200 /* <auto.start.enum(tag:fan).supportheader> */
-
202 const char* onlp_fan_caps_name(onlp_fan_caps_t e);
-
203 
-
205 int onlp_fan_caps_value(const char* str, onlp_fan_caps_t* e, int substr);
-
206 
-
208 const char* onlp_fan_caps_desc(onlp_fan_caps_t e);
-
209 
- -
212 
-
214 #define ONLP_FAN_CAPS_VALID(_e) \
-
215  (onlp_fan_caps_valid((_e)))
-
216 
-
218 extern aim_map_si_t onlp_fan_caps_map[];
-
220 extern aim_map_si_t onlp_fan_caps_desc_map[];
-
221 
-
223 #define ONLP_FAN_DIR_STRINGS \
-
224 {\
-
225  "UNKNOWN", \
-
226  "B2F", \
-
227  "F2B", \
-
228 }
-
229 
-
230 const char* onlp_fan_dir_name(onlp_fan_dir_t e);
-
231 
-
233 int onlp_fan_dir_value(const char* str, onlp_fan_dir_t* e, int substr);
-
234 
-
236 const char* onlp_fan_dir_desc(onlp_fan_dir_t e);
-
237 
-
239 #define ONLP_FAN_DIR_VALID(_e) \
-
240  ( (0 <= (_e)) && ((_e) <= ONLP_FAN_DIR_F2B))
-
241 
-
243 extern aim_map_si_t onlp_fan_dir_map[];
-
245 extern aim_map_si_t onlp_fan_dir_desc_map[];
-
246 /* <auto.end.enum(tag:fan).supportheader> */
-
247 
-
248 
-
249 #endif /* __ONLP_FAN_H__ */
-
250 /* @} */
-
char serial[ONLP_CONFIG_INFO_STR_MAX]
Definition: fan.h:81
+Go to the documentation of this file.
1 /************************************************************
2  * <bsn.cl fy=2014 v=onl>
3  *
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
5  *
6  * Licensed under the Eclipse Public License, Version 1.0 (the
7  * "License"); you may not use this file except in compliance
8  * with the License. You may obtain a copy of the License at
9  *
10  * http://www.eclipse.org/legal/epl-v10.html
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
15  * either express or implied. See the License for the specific
16  * language governing permissions and limitations under the
17  * License.
18  *
19  * </bsn.cl>
20  ********************************************************/
28 #ifndef __ONLP_FAN_H__
29 #define __ONLP_FAN_H__
30 
31 #include <onlp/oids.h>
32 #include <onlp/onlp.h>
33 
34 #include <BigList/biglist.h>
35 
36 /* <auto.start.enum(tag:fan).define> */
38 typedef enum onlp_fan_caps_e {
39  ONLP_FAN_CAPS_SET_DIR = (1 << 0),
40  ONLP_FAN_CAPS_GET_DIR = (1 << 1),
41  ONLP_FAN_CAPS_SET_RPM = (1 << 2),
42  ONLP_FAN_CAPS_SET_PERCENTAGE = (1 << 3),
43  ONLP_FAN_CAPS_GET_RPM = (1 << 4),
44  ONLP_FAN_CAPS_GET_PERCENTAGE = (1 << 5),
46 
48 typedef enum onlp_fan_dir_e {
49  ONLP_FAN_DIR_UNKNOWN,
50  ONLP_FAN_DIR_B2F,
51  ONLP_FAN_DIR_F2B,
52  ONLP_FAN_DIR_LAST = ONLP_FAN_DIR_F2B,
53  ONLP_FAN_DIR_COUNT,
54  ONLP_FAN_DIR_INVALID = -1,
56 /* <auto.end.enum(tag:fan).define> */
57 
61 typedef struct onlp_fan_info_s {
64 
67 
69  uint32_t caps;
70 
72  int rpm;
73 
76 
79 
82 
84 
88 #define ONLP_FAN_INFO_CAP_IS_SET(_pinfo, _name) \
89  ((_pinfo)->caps & ONLP_FAN_CAPS_##_name)
90 
94 int onlp_fan_sw_init(void);
95 
100 int onlp_fan_hw_init(uint32_t flags);
101 
108 int onlp_fan_sw_denit(void);
109 
116 
123 
129 int onlp_fan_caps_get(onlp_oid_t oid, uint32_t* caps);
130 
137 int onlp_fan_rpm_set(onlp_oid_t oid, int rpm);
138 
145 int onlp_fan_percentage_set(onlp_oid_t oid, int p);
146 
154 
161 int onlp_fan_info_to_user_json(onlp_fan_info_t* info, cJSON** cj,
162  uint32_t flags);
163 
170 int onlp_fan_info_to_json(onlp_fan_info_t* info, cJSON** cj, uint32_t flags);
171 
177 int onlp_fan_info_from_json(cJSON* cj, onlp_fan_info_t* info);
178 
179 
181 #define ONLP_FAN_STATUS_PRESENT(_fi) ((_fi).hdr.status & ONLP_OID_STATUS.PRESENT)
182 
184 #define ONLP_FAN_STATUS_MISSING(_fi) (!ONLP_FAN_INFO_PRESENT(_fi))
185 
187 #define ONLP_FAN_STATUS_FAILED(_fi) ( (_fi).hdr.status & ONLP_OID_STATUS.FAILED)
188 
190 #define ONLP_FAN_STATUS_NORMAL(_fi) ( ONLP_FAN_STATUS_PRESENT(_fi) && !ONLP_FAN_STATUS_FAILED(_fi) )
191 
192 
193 /******************************************************************************
194  *
195  * Enumeration Support Definitions.
196  *
197  * Please do not add additional code beyond this point.
198  *
199  *****************************************************************************/
200 /* <auto.start.enum(tag:fan).supportheader> */
202 const char* onlp_fan_caps_name(onlp_fan_caps_t e);
203 
205 int onlp_fan_caps_value(const char* str, onlp_fan_caps_t* e, int substr);
206 
208 const char* onlp_fan_caps_desc(onlp_fan_caps_t e);
209 
212 
214 #define ONLP_FAN_CAPS_VALID(_e) \
215  (onlp_fan_caps_valid((_e)))
216 
218 extern aim_map_si_t onlp_fan_caps_map[];
220 extern aim_map_si_t onlp_fan_caps_desc_map[];
221 
223 #define ONLP_FAN_DIR_STRINGS \
224 {\
225  "UNKNOWN", \
226  "B2F", \
227  "F2B", \
228 }
229 
230 const char* onlp_fan_dir_name(onlp_fan_dir_t e);
231 
233 int onlp_fan_dir_value(const char* str, onlp_fan_dir_t* e, int substr);
234 
236 const char* onlp_fan_dir_desc(onlp_fan_dir_t e);
237 
239 #define ONLP_FAN_DIR_VALID(_e) \
240  ( (0 <= (_e)) && ((_e) <= ONLP_FAN_DIR_F2B))
241 
243 extern aim_map_si_t onlp_fan_dir_map[];
245 extern aim_map_si_t onlp_fan_dir_desc_map[];
246 /* <auto.end.enum(tag:fan).supportheader> */
247 
248 
249 #endif /* __ONLP_FAN_H__ */
250 /* @} */
char serial[ONLP_CONFIG_INFO_STR_MAX]
Definition: fan.h:81
struct onlp_fan_info_s onlp_fan_info_t
enum onlp_fan_caps_e onlp_fan_caps_t
int onlp_fan_rpm_set(onlp_oid_t oid, int rpm)
Set the fan speed in RPMs.
@@ -269,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
const char * onlp_fan_caps_desc(onlp_fan_caps_t e)
int onlp_fan_caps_value(const char *str, onlp_fan_caps_t *e, int substr)
uint32_t caps
Definition: fan.h:69
-
int onlp_fan_hdr_get(onlp_oid_t oid, onlp_oid_hdr_t *hdr)
Retrieve the fan's OID hdr.
+
int onlp_fan_hdr_get(onlp_oid_t oid, onlp_oid_hdr_t *hdr)
Retrieve the fan&#39;s OID hdr.
int onlp_fan_hw_init(uint32_t flags)
Hardware Initialization of the Fan module.
aim_map_si_t onlp_fan_dir_desc_map[]
Definition: oids.h:296
@@ -280,9 +110,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/packages/base/any/onlp/src/onlp/doc/html/fani_8h.html b/packages/base/any/onlp/src/onlp/doc/html/fani_8h.html index 22ee6e97..32aa96b4 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/fani_8h.html +++ b/packages/base/any/onlp/src/onlp/doc/html/fani_8h.html @@ -3,16 +3,15 @@ - + + ONLP: module/inc/onlp/platformi/fani.h File Reference + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,46 +30,25 @@
- + - - + + + +
- All Data Structures Files Functions Variables Typedefs Enumerations Modules Pages
+
@@ -100,7 +78,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - @@ -137,9 +115,9 @@ int 

Functions

+
int onlp_fani_sw_init (void)
 Software initialization of the Fan module.
 
diff --git a/packages/base/any/onlp/src/onlp/doc/html/fani_8h_source.html b/packages/base/any/onlp/src/onlp/doc/html/fani_8h_source.html index d610bfc8..22448928 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/fani_8h_source.html +++ b/packages/base/any/onlp/src/onlp/doc/html/fani_8h_source.html @@ -3,16 +3,15 @@ - + + ONLP: module/inc/onlp/platformi/fani.h Source File + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,46 +30,25 @@
- + - - + + + + +
@@ -89,56 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
fani.h
-Go to the documentation of this file.
1 /************************************************************
-
2  * <bsn.cl fy=2014 v=onl>
-
3  *
-
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
-
5  *
-
6  * Licensed under the Eclipse Public License, Version 1.0 (the
-
7  * "License"); you may not use this file except in compliance
-
8  * with the License. You may obtain a copy of the License at
-
9  *
-
10  * http://www.eclipse.org/legal/epl-v10.html
-
11  *
-
12  * Unless required by applicable law or agreed to in writing,
-
13  * software distributed under the License is distributed on an
-
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
-
15  * either express or implied. See the License for the specific
-
16  * language governing permissions and limitations under the
-
17  * License.
-
18  *
-
19  * </bsn.cl>
-
20  ********************************************************/
-
28 #ifndef __ONLP_FANI_H__
-
29 #define __ONLP_FANI_H__
-
30 
-
31 #include <onlp/fan.h>
-
32 
-
36 int onlp_fani_sw_init(void);
-
37 
-
42 int onlp_fani_hw_init(uint32_t flags);
-
43 
-
50 int onlp_fani_sw_denit(void);
-
51 
- -
57 
- -
64 
- -
71 
-
77 int onlp_fani_caps_get(onlp_oid_id_t id, uint32_t* rv);
-
78 
-
85 int onlp_fani_rpm_set(onlp_oid_id_t id, int rpm);
-
86 
-
87 
- -
95 
- -
102 
-
103 
-
104 #endif /* __ONLP_FANI_H__ */
-
105 /* @} */
-
int onlp_fani_dir_set(onlp_oid_id_t id, onlp_fan_dir_t dir)
Set the fan direction (if supported).
+Go to the documentation of this file.
1 /************************************************************
2  * <bsn.cl fy=2014 v=onl>
3  *
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
5  *
6  * Licensed under the Eclipse Public License, Version 1.0 (the
7  * "License"); you may not use this file except in compliance
8  * with the License. You may obtain a copy of the License at
9  *
10  * http://www.eclipse.org/legal/epl-v10.html
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
15  * either express or implied. See the License for the specific
16  * language governing permissions and limitations under the
17  * License.
18  *
19  * </bsn.cl>
20  ********************************************************/
28 #ifndef __ONLP_FANI_H__
29 #define __ONLP_FANI_H__
30 
31 #include <onlp/fan.h>
32 
36 int onlp_fani_sw_init(void);
37 
42 int onlp_fani_hw_init(uint32_t flags);
43 
50 int onlp_fani_sw_denit(void);
51 
57 
64 
71 
77 int onlp_fani_caps_get(onlp_oid_id_t id, uint32_t* rv);
78 
85 int onlp_fani_rpm_set(onlp_oid_id_t id, int rpm);
86 
87 
95 
102 
103 
104 #endif /* __ONLP_FANI_H__ */
105 /* @} */
int onlp_fani_dir_set(onlp_oid_id_t id, onlp_fan_dir_t dir)
Set the fan direction (if supported).
int onlp_fani_info_get(onlp_oid_id_t id, onlp_fan_info_t *rv)
Get the information structure for the given fan OID.
Definition: fan.h:61
int onlp_fani_hw_init(uint32_t flags)
Hardware initialization of the Fan module.
@@ -148,7 +77,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
uint32_t onlp_oid_id_t
Definition: oids.h:55
int onlp_fani_sw_denit(void)
Deinitialize the fan software module.
int onlp_fani_id_validate(onlp_oid_id_t id)
Validate a fan id.
-
int onlp_fani_hdr_get(onlp_oid_id_t id, onlp_oid_hdr_t *hdr)
Retrieve the fan's OID hdr.
+
int onlp_fani_hdr_get(onlp_oid_id_t id, onlp_oid_hdr_t *hdr)
Retrieve the fan&#39;s OID hdr.
int onlp_fani_caps_get(onlp_oid_id_t id, uint32_t *rv)
Get the fan capabilities.
enum onlp_fan_dir_e onlp_fan_dir_t
int onlp_fani_percentage_set(onlp_oid_id_t id, int p)
Set the fan speed in percentage.
@@ -156,9 +85,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/packages/base/any/onlp/src/onlp/doc/html/files.html b/packages/base/any/onlp/src/onlp/doc/html/files.html index db3e375a..84340cfc 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/files.html +++ b/packages/base/any/onlp/src/onlp/doc/html/files.html @@ -3,16 +3,15 @@ - + + ONLP: File List + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,47 +30,26 @@
- + - - + + + + +
@@ -124,9 +102,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/packages/base/any/onlp/src/onlp/doc/html/folderclosed.png b/packages/base/any/onlp/src/onlp/doc/html/folderclosed.png new file mode 100644 index 00000000..bb8ab35e Binary files /dev/null and b/packages/base/any/onlp/src/onlp/doc/html/folderclosed.png differ diff --git a/packages/base/any/onlp/src/onlp/doc/html/folderopen.png b/packages/base/any/onlp/src/onlp/doc/html/folderopen.png new file mode 100644 index 00000000..d6c7f676 Binary files /dev/null and b/packages/base/any/onlp/src/onlp/doc/html/folderopen.png differ diff --git a/packages/base/any/onlp/src/onlp/doc/html/functions.html b/packages/base/any/onlp/src/onlp/doc/html/functions.html index c346c480..071e068a 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/functions.html +++ b/packages/base/any/onlp/src/onlp/doc/html/functions.html @@ -3,16 +3,15 @@ - + + ONLP: Data Fields + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,75 +30,26 @@
- + - - - - + + + + +
@@ -111,7 +61,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
Here is a list of all documented struct and union fields with links to the struct/union documentation for each field:
-

- a -

diff --git a/packages/base/any/onlp/src/onlp/doc/html/functions_vars.html b/packages/base/any/onlp/src/onlp/doc/html/functions_vars.html index 40e19107..53c79c64 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/functions_vars.html +++ b/packages/base/any/onlp/src/onlp/doc/html/functions_vars.html @@ -3,16 +3,15 @@ - + + ONLP: Data Fields - Variables + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,75 +30,26 @@
- + - - - - + + + + +
@@ -111,7 +61,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  -

- a -

diff --git a/packages/base/any/onlp/src/onlp/doc/html/generic_8h.html b/packages/base/any/onlp/src/onlp/doc/html/generic_8h.html index 5892ca13..4d5b846d 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/generic_8h.html +++ b/packages/base/any/onlp/src/onlp/doc/html/generic_8h.html @@ -3,16 +3,15 @@ - + + ONLP: module/inc/onlp/generic.h File Reference + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,46 +30,25 @@
- + - - + + + + +
@@ -112,7 +90,7 @@ Data Structures
- @@ -149,9 +127,9 @@ Functions diff --git a/packages/base/any/onlp/src/onlp/doc/html/generic_8h_source.html b/packages/base/any/onlp/src/onlp/doc/html/generic_8h_source.html index cbe4b456..3391a52f 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/generic_8h_source.html +++ b/packages/base/any/onlp/src/onlp/doc/html/generic_8h_source.html @@ -3,16 +3,15 @@ - + +ONLP: module/inc/onlp/generic.h Source File + - @@ -21,7 +20,7 @@

Typedefs

+
typedef struct onlp_generic_info_s onlp_generic_info_t
 Generic OID Information Structure.
 
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,46 +30,25 @@
- + - - + + + +
- All Data Structures Files Functions Variables Typedefs Enumerations Modules Pages
+
@@ -89,60 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
generic.h
-Go to the documentation of this file.
1 /************************************************************
-
2  * <bsn.cl fy=2014 v=onl>
-
3  *
-
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
-
5  *
-
6  * Licensed under the Eclipse Public License, Version 1.0 (the
-
7  * "License"); you may not use this file except in compliance
-
8  * with the License. You may obtain a copy of the License at
-
9  *
-
10  * http://www.eclipse.org/legal/epl-v10.html
-
11  *
-
12  * Unless required by applicable law or agreed to in writing,
-
13  * software distributed under the License is distributed on an
-
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
-
15  * either express or implied. See the License for the specific
-
16  * language governing permissions and limitations under the
-
17  * License.
-
18  *
-
19  * </bsn.cl>
-
20  ********************************************************/
-
29 #ifndef __ONLP_GENERIC_H__
-
30 #define __ONLP_GENERIC_H__
-
31 
-
32 #include <onlp/onlp_config.h>
-
33 #include <onlp/onlp.h>
-
34 #include <onlplib/onie.h>
-
35 #include <onlplib/pi.h>
-
36 #include <onlp/oids.h>
-
37 
-
41 typedef struct onlp_generic_info_s {
- -
44 
-
45  /* Generic objects have no dedicated fields. */
- -
47 
-
53 int onlp_generic_sw_init(void);
-
54 
-
59 int onlp_generic_hw_init(uint32_t flags);
-
60 
-
67 int onlp_generic_sw_denit(void);
-
68 
- -
75 
- -
82 
-
89 int onlp_generic_info_to_user_json(onlp_generic_info_t* info, cJSON** cj, uint32_t flags);
-
90 
-
97 int onlp_generic_info_to_json(onlp_generic_info_t* info, cJSON** cj, uint32_t flags);
-
98 
- -
105 
-
106 #endif /* __ONLP_GENERIC_H_ */
-
107 /* @} */
-
onlp Configuration Header
+Go to the documentation of this file.
1 /************************************************************
2  * <bsn.cl fy=2014 v=onl>
3  *
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
5  *
6  * Licensed under the Eclipse Public License, Version 1.0 (the
7  * "License"); you may not use this file except in compliance
8  * with the License. You may obtain a copy of the License at
9  *
10  * http://www.eclipse.org/legal/epl-v10.html
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
15  * either express or implied. See the License for the specific
16  * language governing permissions and limitations under the
17  * License.
18  *
19  * </bsn.cl>
20  ********************************************************/
29 #ifndef __ONLP_GENERIC_H__
30 #define __ONLP_GENERIC_H__
31 
32 #include <onlp/onlp_config.h>
33 #include <onlp/onlp.h>
34 #include <onlplib/onie.h>
35 #include <onlplib/pi.h>
36 #include <onlp/oids.h>
37 
41 typedef struct onlp_generic_info_s {
44 
45  /* Generic objects have no dedicated fields. */
47 
53 int onlp_generic_sw_init(void);
54 
59 int onlp_generic_hw_init(uint32_t flags);
60 
67 int onlp_generic_sw_denit(void);
68 
75 
82 
89 int onlp_generic_info_to_user_json(onlp_generic_info_t* info, cJSON** cj, uint32_t flags);
90 
97 int onlp_generic_info_to_json(onlp_generic_info_t* info, cJSON** cj, uint32_t flags);
98 
105 
106 #endif /* __ONLP_GENERIC_H_ */
107 /* @} */
onlp Configuration Header
int onlp_generic_sw_init(void)
Initialize the module software module.
struct onlp_generic_info_s onlp_generic_info_t
Generic OID Information Structure.
Object Identifiers.
@@ -160,9 +85,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/packages/base/any/onlp/src/onlp/doc/html/generici_8h.html b/packages/base/any/onlp/src/onlp/doc/html/generici_8h.html index b3c8735d..7806e411 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/generici_8h.html +++ b/packages/base/any/onlp/src/onlp/doc/html/generici_8h.html @@ -3,16 +3,15 @@ - + + ONLP: module/inc/onlp/platformi/generici.h File Reference + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,46 +30,25 @@
- + - - + + + +
- All Data Structures Files Functions Variables Typedefs Enumerations Modules Pages
+
@@ -100,7 +78,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - @@ -122,9 +100,9 @@ int 

Functions

+
int onlp_generici_sw_init (void)
 Software initialization of the Generic module.
 
diff --git a/packages/base/any/onlp/src/onlp/doc/html/generici_8h_source.html b/packages/base/any/onlp/src/onlp/doc/html/generici_8h_source.html index eb0f9da9..8b8d5e62 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/generici_8h_source.html +++ b/packages/base/any/onlp/src/onlp/doc/html/generici_8h_source.html @@ -3,16 +3,15 @@ - + + ONLP: module/inc/onlp/platformi/generici.h Source File + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,46 +30,25 @@
- + - - + + + + +
@@ -89,44 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
generici.h
-Go to the documentation of this file.
1 /************************************************************
-
2  * <bsn.cl fy=2014 v=onl>
-
3  *
-
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
-
5  *
-
6  * Licensed under the Eclipse Public License, Version 1.0 (the
-
7  * "License"); you may not use this file except in compliance
-
8  * with the License. You may obtain a copy of the License at
-
9  *
-
10  * http://www.eclipse.org/legal/epl-v10.html
-
11  *
-
12  * Unless required by applicable law or agreed to in writing,
-
13  * software distributed under the License is distributed on an
-
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
-
15  * either express or implied. See the License for the specific
-
16  * language governing permissions and limitations under the
-
17  * License.
-
18  *
-
19  * </bsn.cl>
-
20  ********************************************************/
-
28 #ifndef __ONLP_GENERICI_H__
-
29 #define __ONLP_GENERICI_H__
-
30 
-
31 #include <onlp/generic.h>
-
32 
-
36 int onlp_generici_sw_init(void);
-
37 
-
42 int onlp_generici_hw_init(uint32_t flags);
-
43 
-
50 int onlp_generici_sw_denit(void);
-
51 
- -
58 
- -
65 
-
66 #endif /* __ONLP_GENERICI_H__ */
-
67 /* @} */
-
int onlp_generici_hdr_get(onlp_oid_id_t id, onlp_oid_hdr_t *rv)
Retrieve the generic's oid header.
+Go to the documentation of this file.
1 /************************************************************
2  * <bsn.cl fy=2014 v=onl>
3  *
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
5  *
6  * Licensed under the Eclipse Public License, Version 1.0 (the
7  * "License"); you may not use this file except in compliance
8  * with the License. You may obtain a copy of the License at
9  *
10  * http://www.eclipse.org/legal/epl-v10.html
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
15  * either express or implied. See the License for the specific
16  * language governing permissions and limitations under the
17  * License.
18  *
19  * </bsn.cl>
20  ********************************************************/
28 #ifndef __ONLP_GENERICI_H__
29 #define __ONLP_GENERICI_H__
30 
31 #include <onlp/generic.h>
32 
36 int onlp_generici_sw_init(void);
37 
42 int onlp_generici_hw_init(uint32_t flags);
43 
50 int onlp_generici_sw_denit(void);
51 
58 
65 
66 #endif /* __ONLP_GENERICI_H__ */
67 /* @} */
int onlp_generici_hdr_get(onlp_oid_id_t id, onlp_oid_hdr_t *rv)
Retrieve the generic&#39;s oid header.
int onlp_generici_sw_init(void)
Software initialization of the Generic module.
Generic OID Information Structure.
Definition: generic.h:41
uint32_t onlp_oid_id_t
Definition: oids.h:55
@@ -138,9 +79,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/packages/base/any/onlp/src/onlp/doc/html/globals.html b/packages/base/any/onlp/src/onlp/doc/html/globals.html index b6430361..49dae597 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/globals.html +++ b/packages/base/any/onlp/src/onlp/doc/html/globals.html @@ -3,16 +3,15 @@ - + + ONLP: Globals + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,62 +30,26 @@
- + - - - - + + + + +
@@ -98,7 +61,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
Here is a list of all documented functions, variables, defines, enums, and typedefs with links to the documentation:
-

- o -

    +

    - o -

    • onlp_asset_info_free() : stdattrs.h
    • @@ -811,7 +774,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : oids.h
    • onlp_oid_iterate_f -: oids.h +: oids.h
    • onlp_oid_json_flag_desc() : oids.h @@ -1615,9 +1578,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/packages/base/any/onlp/src/onlp/doc/html/globals_defs.html b/packages/base/any/onlp/src/onlp/doc/html/globals_defs.html index f6f51931..ca06ea3d 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/globals_defs.html +++ b/packages/base/any/onlp/src/onlp/doc/html/globals_defs.html @@ -3,16 +3,15 @@ - + + ONLP: Globals + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,62 +30,26 @@
- + - - - - + + + + +
@@ -98,7 +61,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  -

- o -

    +

    - o -

    • ONLP_ATTRIBUTE_EQUALS : attribute.h
    • @@ -523,9 +486,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/packages/base/any/onlp/src/onlp/doc/html/globals_enum.html b/packages/base/any/onlp/src/onlp/doc/html/globals_enum.html index 08844a3e..4c53e149 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/globals_enum.html +++ b/packages/base/any/onlp/src/onlp/doc/html/globals_enum.html @@ -3,16 +3,15 @@ - + + ONLP: Globals + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,57 +30,26 @@
- + - - - + + + + +
@@ -141,9 +109,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/packages/base/any/onlp/src/onlp/doc/html/globals_func.html b/packages/base/any/onlp/src/onlp/doc/html/globals_func.html index 1539ec34..3ab4d6ce 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/globals_func.html +++ b/packages/base/any/onlp/src/onlp/doc/html/globals_func.html @@ -3,16 +3,15 @@ - + + ONLP: Globals + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,62 +30,26 @@
- + - - - - + + + + +
@@ -98,7 +61,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  -

- o -

    +

    - o -

    • onlp_asset_info_free() : stdattrs.h
    • @@ -955,9 +918,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/packages/base/any/onlp/src/onlp/doc/html/globals_type.html b/packages/base/any/onlp/src/onlp/doc/html/globals_type.html index e8d897a8..f1db511c 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/globals_type.html +++ b/packages/base/any/onlp/src/onlp/doc/html/globals_type.html @@ -3,16 +3,15 @@ - + + ONLP: Globals + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,62 +30,26 @@
- + - - - - + + + + +
@@ -98,7 +61,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  -

- o -

    +

    - o -

    • onlp_asset_info_t : stdattrs.h
    • @@ -142,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : oids.h
    • onlp_oid_iterate_f -: oids.h +: oids.h
    • onlp_oid_json_flag_t : oids.h @@ -205,9 +168,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/packages/base/any/onlp/src/onlp/doc/html/globals_vars.html b/packages/base/any/onlp/src/onlp/doc/html/globals_vars.html index 0cd9ab77..db503e34 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/globals_vars.html +++ b/packages/base/any/onlp/src/onlp/doc/html/globals_vars.html @@ -3,16 +3,15 @@ - + + ONLP: Globals + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,62 +30,26 @@
- + - - - - + + + + +
@@ -98,7 +61,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  -

- o -

    +

    - o -

    • onlp_config_settings : onlp_config.h
    • @@ -196,9 +159,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__attributei.html b/packages/base/any/onlp/src/onlp/doc/html/group__attributei.html index ec3f2929..fb425723 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__attributei.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__attributei.html @@ -3,16 +3,15 @@ - + + ONLP: attributei + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + + +
@@ -84,15 +68,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - - @@ -117,7 +101,9 @@ int 

Functions

+
int onlp_attributei_sw_init (void)
 Initialize the attribute subsystem.
 
+
int onlp_attributei_hw_init (uint32_t flags)
 Initialize the attribute subsystem.
 
+
int onlp_attributei_sw_denit (void)
 Deinitialize the attribute subsystem.
 

Detailed Description

Function Documentation

- + +

◆ onlp_attributei_asset_info_get()

+
@@ -153,7 +139,9 @@ int 
+ +

◆ onlp_attributei_free()

+
@@ -195,7 +183,9 @@ int 
+ +

◆ onlp_attributei_get()

+
@@ -237,7 +227,9 @@ int 
+ +

◆ onlp_attributei_onie_info_get()

+
@@ -273,7 +265,9 @@ int 
+ +

◆ onlp_attributei_set()

+
@@ -315,7 +309,9 @@ int 
+ +

◆ onlp_attributei_supported()

+
@@ -353,9 +349,9 @@ int 
diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__attributes.html b/packages/base/any/onlp/src/onlp/doc/html/group__attributes.html index 5fe1fe56..f21cb43f 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__attributes.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__attributes.html @@ -3,16 +3,15 @@ - + + ONLP: Attribute Interface + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + + +
@@ -85,8 +69,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - +

Macros

-#define ONLP_ATTRIBUTE_EQUALS(_a, _b)   (!strcmp(_a, _b))
+#define ONLP_ATTRIBUTE_EQUALS(_a, _b)   (!strcmp(_a, _b))
 Attribute comparitor.
 
@@ -146,7 +130,9 @@ Functions

Detailed Description

Function Documentation

- + +

◆ onlp_attribute_asset_info_free()

+
@@ -181,7 +167,9 @@ Functions - + +

◆ onlp_attribute_asset_info_get()

+
@@ -224,7 +212,9 @@ Functions - + +

◆ onlp_attribute_asset_info_get_json()

+
@@ -260,7 +250,9 @@ Functions - + +

◆ onlp_attribute_asset_info_show()

+
@@ -296,7 +288,9 @@ Functions - + +

◆ onlp_attribute_asset_info_show_json()

+
@@ -331,7 +325,9 @@ Functions - + +

◆ onlp_attribute_free()

+
@@ -373,7 +369,9 @@ Functions - + +

◆ onlp_attribute_get()

+
@@ -415,7 +413,9 @@ Functions - + +

◆ onlp_attribute_hw_init()

+
@@ -440,7 +440,9 @@ Functions - + +

◆ onlp_attribute_onie_info_free()

+
@@ -475,7 +477,9 @@ Functions - + +

◆ onlp_attribute_onie_info_get()

+
@@ -511,7 +515,9 @@ Functions - + +

◆ onlp_attribute_onie_info_get_json()

+
@@ -547,7 +553,9 @@ Functions - + +

◆ onlp_attribute_onie_info_show()

+
@@ -583,7 +591,9 @@ Functions - + +

◆ onlp_attribute_onie_info_show_json()

+
@@ -618,7 +628,9 @@ Functions - + +

◆ onlp_attribute_set()

+
@@ -660,7 +672,9 @@ Functions - + +

◆ onlp_attribute_supported()

+
@@ -695,7 +709,9 @@ Functions - + +

◆ onlp_attribute_sw_denit()

+
@@ -714,7 +730,9 @@ Functions - + +

◆ onlp_attribute_sw_init()

+
@@ -736,9 +754,9 @@ Functions diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__chassisi.html b/packages/base/any/onlp/src/onlp/doc/html/group__chassisi.html index bc95fba7..c60ee709 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__chassisi.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__chassisi.html @@ -3,16 +3,15 @@ - + +ONLP: chassisi + - @@ -21,7 +20,7 @@
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + +
+
@@ -84,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - @@ -103,7 +87,9 @@ int 

Functions

+
int onlp_chassisi_sw_init (void)
 Software initializaiton of the Chassis module.
 

Detailed Description

Function Documentation

- + +

◆ onlp_chassisi_hdr_get()

+
@@ -138,7 +124,9 @@ int 
+ +

◆ onlp_chassisi_hw_init()

+
@@ -162,7 +150,9 @@ int 
+ +

◆ onlp_chassisi_info_get()

+
@@ -197,7 +187,9 @@ int 
+ +

◆ onlp_chassisi_sw_denit()

+
@@ -219,9 +211,9 @@ int 
diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__fani.html b/packages/base/any/onlp/src/onlp/doc/html/group__fani.html index f99361cd..d58cbc1d 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__fani.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__fani.html @@ -3,16 +3,15 @@ - + + ONLP: fani + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + + +
@@ -84,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - @@ -118,7 +102,9 @@ int 

Functions

+
int onlp_fani_sw_init (void)
 Software initialization of the Fan module.
 

Detailed Description

Function Documentation

- + +

◆ onlp_fani_caps_get()

+
@@ -153,7 +139,9 @@ int 
+ +

◆ onlp_fani_dir_set()

+
@@ -188,7 +176,9 @@ int 
+ +

◆ onlp_fani_hdr_get()

+
@@ -223,7 +213,9 @@ int 
+ +

◆ onlp_fani_hw_init()

+
@@ -247,7 +239,9 @@ int 
+ +

◆ onlp_fani_id_validate()

+
@@ -271,7 +265,9 @@ int 
+ +

◆ onlp_fani_info_get()

+
@@ -306,7 +302,9 @@ int 
+ +

◆ onlp_fani_percentage_set()

+
@@ -342,7 +340,9 @@ int 
+ +

◆ onlp_fani_rpm_set()

+
@@ -378,7 +378,9 @@ int 
+ +

◆ onlp_fani_sw_denit()

+
@@ -400,9 +402,9 @@ int 
diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__generici.html b/packages/base/any/onlp/src/onlp/doc/html/group__generici.html index f981f094..b2d99419 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__generici.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__generici.html @@ -3,16 +3,15 @@ - + + ONLP: generici + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + + +
@@ -84,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - @@ -103,7 +87,9 @@ int 

Functions

+
int onlp_generici_sw_init (void)
 Software initialization of the Generic module.
 

Detailed Description

Function Documentation

- + +

◆ onlp_generici_hdr_get()

+
@@ -138,7 +124,9 @@ int 
+ +

◆ onlp_generici_hw_init()

+
@@ -162,7 +150,9 @@ int 
+ +

◆ onlp_generici_info_get()

+
@@ -197,7 +187,9 @@ int 
+ +

◆ onlp_generici_sw_denit()

+
@@ -219,9 +211,9 @@ int 
diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__ledi.html b/packages/base/any/onlp/src/onlp/doc/html/group__ledi.html index a5f9587f..4f69d406 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__ledi.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__ledi.html @@ -3,16 +3,15 @@ - + + ONLP: ledi + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + + +
@@ -85,18 +69,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - + - + - + - +

Macros

#define ONLP_LED_INFO_ENTRY_INIT(_id, _desc, _parent, _caps)
#define ONLP_LED_INFO_ENTRY_INIT(_id, _desc, _parent, _caps)
 
#define ONLP_CHASSIS_LED_INFO_ENTRY_INIT(_id, _desc, _caps)   ONLP_LED_INFO_ENTRY_INIT(_id, _desc, ONLP_OID_CHASSIS, _caps)
#define ONLP_CHASSIS_LED_INFO_ENTRY_INIT(_id, _desc, _caps)   ONLP_LED_INFO_ENTRY_INIT(_id, _desc, ONLP_OID_CHASSIS, _caps)
 
#define ONLP_PSU_LED_INFO_ENTRY_INIT(_id, _desc, _psu_id, _caps)   ONLP_LED_INFO_ENTRY_INIT(_id, _desc, ONLP_PSU_ID_CREATE(_psu_id), _caps)
#define ONLP_PSU_LED_INFO_ENTRY_INIT(_id, _desc, _psu_id, _caps)   ONLP_LED_INFO_ENTRY_INIT(_id, _desc, ONLP_PSU_ID_CREATE(_psu_id), _caps)
 
#define ONLP_FAN_LED_INFO_ENTRY_INIT(_id, _desc, _fan_id, _caps)   ONLP_LED_INFO_ENTRY_INIT(_id, _desc, ONLP_FAN_ID_CREATE(_fan_id), _caps)
#define ONLP_FAN_LED_INFO_ENTRY_INIT(_id, _desc, _fan_id, _caps)   ONLP_LED_INFO_ENTRY_INIT(_id, _desc, ONLP_FAN_ID_CREATE(_fan_id), _caps)
 
- @@ -127,7 +111,9 @@ int  diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__onlp-porting.html b/packages/base/any/onlp/src/onlp/doc/html/group__onlp-porting.html index 3cbcebf9..03d907f6 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__onlp-porting.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__onlp-porting.html @@ -3,16 +3,15 @@ - + +ONLP: Porting Macros + - @@ -21,7 +20,7 @@

Functions

+
int onlp_ledi_sw_init (void)
 Software initialization of the LED module.
 

Detailed Description

Macro Definition Documentation

- + +

◆ ONLP_CHASSIS_LED_INFO_ENTRY_INIT

+
@@ -160,7 +146,9 @@ int  diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__onlp-platform.html b/packages/base/any/onlp/src/onlp/doc/html/group__onlp-platform.html index 491e35bd..0cfe99fd 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__onlp-platform.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__onlp-platform.html @@ -3,16 +3,15 @@ - + +ONLP: Platform Implementation Interfaces + - @@ -21,7 +20,7 @@
+ +

◆ ONLP_FAN_LED_INFO_ENTRY_INIT

+
@@ -199,7 +187,9 @@ int 
+ +

◆ ONLP_LED_INFO_ENTRY_INIT

+
@@ -234,22 +224,15 @@ int  diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__onlp-config.html b/packages/base/any/onlp/src/onlp/doc/html/group__onlp-config.html index e068616f..8ee99490 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__onlp-config.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__onlp-config.html @@ -3,16 +3,15 @@ - + +ONLP: Compile Time Configuration + - @@ -21,7 +20,7 @@
-Value:
{ \
-
{ \
-
-
.description = _desc, \
-
.poid = ONLP_OID_CHASSIS, \
-
.status = ONLP_OID_STATUS_FLAG_PRESENT, \
-
}, \
-
.caps = _caps, \
-
}
-
#define ONLP_OID_CHASSIS
Definition: oids.h:260
+Value:
{ \
{ \
.id = ONLP_LED_ID_CREATE(_id), \
.description = _desc, \
.poid = ONLP_OID_CHASSIS, \
.status = ONLP_OID_STATUS_FLAG_PRESENT, \
}, \
.caps = _caps, \
}
#define ONLP_OID_CHASSIS
Definition: oids.h:260
#define ONLP_LED_ID_CREATE(_id)
Definition: oids.h:159

Initialize an LED static OID entry

- + +

◆ ONLP_PSU_LED_INFO_ENTRY_INIT

+
@@ -289,7 +272,9 @@ int  - + +

◆ onlp_oid_json_flag_t

+
Function Documentation - + +

◆ onlp_ledi_caps_get()

+
@@ -324,7 +309,9 @@ int  - + +

◆ ONLP_OID_TABLE_ITER_TYPE

+
+ +

◆ onlp_ledi_char_set()

+
@@ -360,7 +347,9 @@ int  Macros - + - + - + - + - + - + - + - + @@ -142,9 +126,9 @@ Macros - + - + @@ -152,9 +136,9 @@ Macros - + - + @@ -162,9 +146,9 @@ Macros - + - + @@ -172,9 +156,9 @@ Macros - + - + @@ -182,9 +166,9 @@ Macros - + - + @@ -192,9 +176,9 @@ Macros - + - + @@ -202,11 +186,11 @@ Macros - + - + - + @@ -216,39 +200,39 @@ Macros - + - + - + - + - + - + - + - + - + - + - + @@ -278,51 +262,72 @@ Typedefs - + - + - - + +
+ +

◆ onlp_ledi_hdr_get()

+
@@ -395,7 +384,9 @@ int  diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__oid.html b/packages/base/any/onlp/src/onlp/doc/html/group__oid.html index 197bb9c1..98759b6a 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__oid.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__oid.html @@ -3,16 +3,15 @@ - + +ONLP: OID General Interfaces + - @@ -21,7 +20,7 @@
+ +

◆ onlp_ledi_hw_init()

+
@@ -419,7 +410,9 @@ int  - + @@ -111,29 +95,37 @@ Macros Typedefs - +
+ +

◆ onlp_ledi_id_validate()

+
@@ -443,7 +436,9 @@ int  Typedefs - + @@ -125,50 +108,69 @@ Typedefs Enumerations
+ +

◆ onlp_ledi_info_get()

+
@@ -478,7 +473,9 @@ int 
+ +

◆ onlp_ledi_mode_set()

+
@@ -514,7 +511,9 @@ int 
+ +

◆ onlp_ledi_sw_denit()

+
@@ -536,9 +535,9 @@ int  diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__modulei.html b/packages/base/any/onlp/src/onlp/doc/html/group__modulei.html index 777c9560..181e0c0e 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__modulei.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__modulei.html @@ -3,16 +3,15 @@ - + +ONLP: modulei + - @@ -21,7 +20,7 @@
diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__module-interfaces.html b/packages/base/any/onlp/src/onlp/doc/html/group__module-interfaces.html index 4b3646b4..9a2e59c1 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__module-interfaces.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__module-interfaces.html @@ -3,16 +3,15 @@ - + + ONLP: Module Documentation + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + + +
@@ -93,9 +77,9 @@ Modules
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + +
+
@@ -84,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - @@ -103,7 +87,9 @@ int  Enumerations

Functions

+
int onlp_modulei_sw_init (void)
 Software initialization of the Module module.
 

Detailed Description

Function Documentation

- + +

◆ onlp_modulei_hdr_get()

+
@@ -138,7 +124,9 @@ int  diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__oid-led.html b/packages/base/any/onlp/src/onlp/doc/html/group__oid-led.html index a338b93d..631b007d 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__oid-led.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__oid-led.html @@ -3,16 +3,15 @@ - + +ONLP: LEDs + - @@ -21,7 +20,7 @@
+ +

◆ onlp_modulei_hw_init()

+
@@ -162,7 +150,9 @@ int 
+ +

◆ onlp_modulei_info_get()

+
@@ -197,7 +187,9 @@ int 
+ +

◆ onlp_modulei_sw_denit()

+
@@ -219,9 +211,9 @@ int 
diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__oid-chassis.html b/packages/base/any/onlp/src/onlp/doc/html/group__oid-chassis.html index fb192b2a..d7ed662e 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__oid-chassis.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__oid-chassis.html @@ -3,16 +3,15 @@ - + + ONLP: Chassis + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + + +
@@ -92,7 +76,7 @@ Data Structures
- @@ -138,7 +122,9 @@ Functions

Typedefs

+
typedef struct onlp_chassis_info_s onlp_chassis_info_t
 Chassis Information Structure.
 

Detailed Description

Function Documentation

- + +

◆ onlp_chassis_debug_get_json()

+
@@ -162,7 +148,9 @@ Functions - + +

◆ onlp_chassis_debug_show()

+
@@ -186,7 +174,9 @@ Functions - + +

◆ onlp_chassis_environment_show()

+
@@ -222,7 +212,9 @@ Functions - + +

◆ onlp_chassis_environment_to_json()

+
@@ -259,7 +251,9 @@ Functions - + +

◆ onlp_chassis_hdr_get()

+
@@ -294,7 +288,9 @@ Functions - + +

◆ onlp_chassis_hw_init()

+
@@ -318,7 +314,9 @@ Functions - + +

◆ onlp_chassis_info_from_json()

+
@@ -353,7 +351,9 @@ Functions - + +

◆ onlp_chassis_info_get()

+
@@ -388,7 +388,9 @@ Functions - + +

◆ onlp_chassis_info_to_json()

+
@@ -430,7 +432,9 @@ Functions - + +

◆ onlp_chassis_info_to_user_json()

+
@@ -472,7 +476,9 @@ Functions - + +

◆ onlp_chassis_sw_denit()

+
@@ -491,7 +497,9 @@ Functions - + +

◆ onlp_chassis_sw_init()

+
@@ -513,9 +521,9 @@ Functions diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__oid-fan.html b/packages/base/any/onlp/src/onlp/doc/html/group__oid-fan.html index e9e9d891..b2ca1d2b 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__oid-fan.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__oid-fan.html @@ -3,16 +3,15 @@ - + +ONLP: Fans + - @@ -21,7 +20,7 @@
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + +
+
@@ -94,8 +78,8 @@ Data Structures
- + @@ -126,30 +110,38 @@ Typedefs Enumerations

Macros

-#define ONLP_FAN_INFO_CAP_IS_SET(_pinfo, _name)   ((_pinfo)->caps & ONLP_FAN_CAPS_##_name)
+#define ONLP_FAN_INFO_CAP_IS_SET(_pinfo, _name)   ((_pinfo)->caps & ONLP_FAN_CAPS_##_name)
 Determine if a fan capability is set.
 
#define ONLP_FAN_STATUS_PRESENT(_fi)   ((_fi).hdr.status & ONLP_OID_STATUS.PRESENT)
enum  onlp_fan_caps_e {
  ONLP_FAN_CAPS_SET_DIR = (1 << 0), -ONLP_FAN_CAPS_GET_DIR = (1 << 1), -ONLP_FAN_CAPS_SET_RPM = (1 << 2), -ONLP_FAN_CAPS_SET_PERCENTAGE = (1 << 3), +
+  ONLP_FAN_CAPS_GET_DIR = (1 << 1), +
+  ONLP_FAN_CAPS_SET_RPM = (1 << 2), +
+  ONLP_FAN_CAPS_SET_PERCENTAGE = (1 << 3),
  ONLP_FAN_CAPS_GET_RPM = (1 << 4), -ONLP_FAN_CAPS_GET_PERCENTAGE = (1 << 5) +
+  ONLP_FAN_CAPS_GET_PERCENTAGE = (1 << 5)
}
 
enum  onlp_fan_dir_e {
  ONLP_FAN_DIR_UNKNOWN, -ONLP_FAN_DIR_B2F, -ONLP_FAN_DIR_F2B, -ONLP_FAN_DIR_LAST = ONLP_FAN_DIR_F2B, +
+  ONLP_FAN_DIR_B2F, +
+  ONLP_FAN_DIR_F2B, +
+  ONLP_FAN_DIR_LAST = ONLP_FAN_DIR_F2B,
  ONLP_FAN_DIR_COUNT, -ONLP_FAN_DIR_INVALID = -1 +
+  ONLP_FAN_DIR_INVALID = -1
}
 
- @@ -214,7 +206,9 @@ Variables

Functions

+
int onlp_fan_sw_init (void)
 Software Initialization of the Fan module.
 

Detailed Description

Macro Definition Documentation

- + +

◆ ONLP_FAN_CAPS_VALID

+
@@ -231,7 +225,9 @@ Variables - + +

◆ ONLP_FAN_DIR_STRINGS

+
@@ -240,16 +236,13 @@ Variables
-Value:
{\
-
"UNKNOWN", \
-
"B2F", \
-
"F2B", \
-
}
-

Strings macro.

+Value:
{\
"UNKNOWN", \
"B2F", \
"F2B", \
}

Strings macro.

- + +

◆ ONLP_FAN_DIR_VALID

+
@@ -266,7 +259,9 @@ Variables - + +

◆ ONLP_FAN_STATUS_FAILED

+
@@ -283,7 +278,9 @@ Variables - + +

◆ ONLP_FAN_STATUS_MISSING

+
@@ -300,7 +297,9 @@ Variables - + +

◆ ONLP_FAN_STATUS_NORMAL

+
@@ -317,7 +316,9 @@ Variables - + +

◆ ONLP_FAN_STATUS_PRESENT

+
@@ -335,7 +336,9 @@ Variables

Typedef Documentation

- + +

◆ onlp_fan_caps_t

+
@@ -348,7 +351,9 @@ Variables - + +

◆ onlp_fan_dir_t

+
@@ -361,7 +366,9 @@ Variables - + +

◆ onlp_fan_info_t

+
@@ -375,7 +382,9 @@ Variables

Enumeration Type Documentation

- + +

◆ onlp_fan_caps_e

+
@@ -385,10 +394,13 @@ Variables

onlp_fan_caps

+
38  {
39  ONLP_FAN_CAPS_SET_DIR = (1 << 0),
40  ONLP_FAN_CAPS_GET_DIR = (1 << 1),
41  ONLP_FAN_CAPS_SET_RPM = (1 << 2),
42  ONLP_FAN_CAPS_SET_PERCENTAGE = (1 << 3),
43  ONLP_FAN_CAPS_GET_RPM = (1 << 4),
44  ONLP_FAN_CAPS_GET_PERCENTAGE = (1 << 5),
enum onlp_fan_caps_e onlp_fan_caps_t
+
+
+
+ +

◆ onlp_fan_dir_e

-
-
-
@@ -398,11 +410,14 @@ Variables

onlp_fan_dir

- +
48  {
49  ONLP_FAN_DIR_UNKNOWN,
50  ONLP_FAN_DIR_B2F,
51  ONLP_FAN_DIR_F2B,
52  ONLP_FAN_DIR_LAST = ONLP_FAN_DIR_F2B,
53  ONLP_FAN_DIR_COUNT,
54  ONLP_FAN_DIR_INVALID = -1,
enum onlp_fan_dir_e onlp_fan_dir_t
+

Function Documentation

- + +

◆ onlp_fan_caps_desc()

+
@@ -419,7 +434,9 @@ Variables - + +

◆ onlp_fan_caps_get()

+
@@ -454,7 +471,9 @@ Variables - + +

◆ onlp_fan_caps_name()

+
@@ -471,7 +490,9 @@ Variables - + +

◆ onlp_fan_caps_valid()

+
@@ -488,7 +509,9 @@ Variables - + +

◆ onlp_fan_caps_value()

+
@@ -521,7 +544,9 @@ Variables - + +

◆ onlp_fan_dir_desc()

+
@@ -538,7 +563,9 @@ Variables - + +

◆ onlp_fan_dir_name()

+
@@ -555,7 +582,9 @@ Variables - + +

◆ onlp_fan_dir_set()

+
@@ -591,7 +620,9 @@ Variables - + +

◆ onlp_fan_dir_value()

+
@@ -624,7 +655,9 @@ Variables - + +

◆ onlp_fan_hdr_get()

+
@@ -659,7 +692,9 @@ Variables - + +

◆ onlp_fan_hw_init()

+
@@ -683,7 +718,9 @@ Variables - + +

◆ onlp_fan_info_from_json()

+
@@ -718,7 +755,9 @@ Variables - + +

◆ onlp_fan_info_get()

+
@@ -753,7 +792,9 @@ Variables - + +

◆ onlp_fan_info_to_json()

+
@@ -795,7 +836,9 @@ Variables - + +

◆ onlp_fan_info_to_user_json()

+
@@ -837,7 +880,9 @@ Variables - + +

◆ onlp_fan_percentage_set()

+
@@ -873,7 +918,9 @@ Variables - + +

◆ onlp_fan_rpm_set()

+
@@ -909,7 +956,9 @@ Variables - + +

◆ onlp_fan_sw_denit()

+
@@ -929,7 +978,9 @@ Variables

Variable Documentation

- + +

◆ onlp_fan_caps_desc_map

+
@@ -942,7 +993,9 @@ Variables - + +

◆ onlp_fan_caps_map

+
@@ -955,7 +1008,9 @@ Variables - + +

◆ onlp_fan_dir_desc_map

+
@@ -968,7 +1023,9 @@ Variables - + +

◆ onlp_fan_dir_map

+
@@ -984,9 +1041,9 @@ Variables diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__oid-generic.html b/packages/base/any/onlp/src/onlp/doc/html/group__oid-generic.html index 95032182..5bb37c8b 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__oid-generic.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__oid-generic.html @@ -3,16 +3,15 @@ - + +ONLP: Generics + - @@ -21,7 +20,7 @@
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + +
+
@@ -92,7 +76,7 @@ Data Structures
- @@ -126,7 +110,9 @@ Functions

Typedefs

+
typedef struct onlp_generic_info_s onlp_generic_info_t
 Generic OID Information Structure.
 

Detailed Description

Function Documentation

- + +

◆ onlp_generic_hdr_get()

+
@@ -161,7 +147,9 @@ Functions - + +

◆ onlp_generic_hw_init()

+
@@ -185,7 +173,9 @@ Functions - + +

◆ onlp_generic_info_from_json()

+
@@ -220,7 +210,9 @@ Functions - + +

◆ onlp_generic_info_get()

+
@@ -255,7 +247,9 @@ Functions - + +

◆ onlp_generic_info_to_json()

+
@@ -297,7 +291,9 @@ Functions - + +

◆ onlp_generic_info_to_user_json()

+
@@ -339,7 +335,9 @@ Functions - + +

◆ onlp_generic_sw_denit()

+
@@ -358,7 +356,9 @@ Functions - + +

◆ onlp_generic_sw_init()

+
@@ -380,9 +380,9 @@ Functions diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__oid-interfaces.html b/packages/base/any/onlp/src/onlp/doc/html/group__oid-interfaces.html index 2411ef7f..cc71f5fd 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__oid-interfaces.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__oid-interfaces.html @@ -3,16 +3,15 @@ - + +ONLP: General OID Interfaces + - @@ -21,7 +20,7 @@
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + +
+
@@ -94,9 +78,9 @@ Modules
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + +
+
@@ -114,62 +98,88 @@ Typedefs
enum  onlp_led_caps_e {
  ONLP_LED_CAPS_OFF = (1 << 0), -ONLP_LED_CAPS_AUTO = (1 << 1), -ONLP_LED_CAPS_AUTO_BLINKING = (1 << 2), -ONLP_LED_CAPS_CHAR = (1 << 3), +
+  ONLP_LED_CAPS_AUTO = (1 << 1), +
+  ONLP_LED_CAPS_AUTO_BLINKING = (1 << 2), +
+  ONLP_LED_CAPS_CHAR = (1 << 3),
  ONLP_LED_CAPS_RED = (1 << 4), -ONLP_LED_CAPS_RED_BLINKING = (1 << 5), -ONLP_LED_CAPS_ORANGE = (1 << 6), -ONLP_LED_CAPS_ORANGE_BLINKING = (1 << 7), +
+  ONLP_LED_CAPS_RED_BLINKING = (1 << 5), +
+  ONLP_LED_CAPS_ORANGE = (1 << 6), +
+  ONLP_LED_CAPS_ORANGE_BLINKING = (1 << 7),
  ONLP_LED_CAPS_YELLOW = (1 << 8), -ONLP_LED_CAPS_YELLOW_BLINKING = (1 << 9), -ONLP_LED_CAPS_GREEN = (1 << 10), -ONLP_LED_CAPS_GREEN_BLINKING = (1 << 11), +
+  ONLP_LED_CAPS_YELLOW_BLINKING = (1 << 9), +
+  ONLP_LED_CAPS_GREEN = (1 << 10), +
+  ONLP_LED_CAPS_GREEN_BLINKING = (1 << 11),
  ONLP_LED_CAPS_BLUE = (1 << 12), -ONLP_LED_CAPS_BLUE_BLINKING = (1 << 13), -ONLP_LED_CAPS_PURPLE = (1 << 14), -ONLP_LED_CAPS_PURPLE_BLINKING = (1 << 15) +
+  ONLP_LED_CAPS_BLUE_BLINKING = (1 << 13), +
+  ONLP_LED_CAPS_PURPLE = (1 << 14), +
+  ONLP_LED_CAPS_PURPLE_BLINKING = (1 << 15)
}
 
enum  onlp_led_mode_e {
  ONLP_LED_MODE_OFF, -ONLP_LED_MODE_AUTO, -ONLP_LED_MODE_AUTO_BLINKING, -ONLP_LED_MODE_CHAR, +
+  ONLP_LED_MODE_AUTO, +
+  ONLP_LED_MODE_AUTO_BLINKING, +
+  ONLP_LED_MODE_CHAR,
  ONLP_LED_MODE_RED, -ONLP_LED_MODE_RED_BLINKING, -ONLP_LED_MODE_ORANGE, -ONLP_LED_MODE_ORANGE_BLINKING, +
+  ONLP_LED_MODE_RED_BLINKING, +
+  ONLP_LED_MODE_ORANGE, +
+  ONLP_LED_MODE_ORANGE_BLINKING,
  ONLP_LED_MODE_YELLOW, -ONLP_LED_MODE_YELLOW_BLINKING, -ONLP_LED_MODE_GREEN, -ONLP_LED_MODE_GREEN_BLINKING, +
+  ONLP_LED_MODE_YELLOW_BLINKING, +
+  ONLP_LED_MODE_GREEN, +
+  ONLP_LED_MODE_GREEN_BLINKING,
  ONLP_LED_MODE_BLUE, -ONLP_LED_MODE_BLUE_BLINKING, -ONLP_LED_MODE_PURPLE, -ONLP_LED_MODE_PURPLE_BLINKING, +
+  ONLP_LED_MODE_BLUE_BLINKING, +
+  ONLP_LED_MODE_PURPLE, +
+  ONLP_LED_MODE_PURPLE_BLINKING,
  ONLP_LED_MODE_LAST = ONLP_LED_MODE_PURPLE_BLINKING, -ONLP_LED_MODE_COUNT, -ONLP_LED_MODE_INVALID = -1 +
+  ONLP_LED_MODE_COUNT, +
+  ONLP_LED_MODE_INVALID = -1
}
 
- - @@ -228,7 +238,9 @@ Variables

Functions

+
int onlp_led_sw_init (void)
 Software initialization of the LED module.
 
+
int onlp_led_hw_init (uint32_t flags)
 Hardware initialization of the LED module.
 

Detailed Description

Macro Definition Documentation

- + +

◆ ONLP_LED_CAPS_VALID

+
@@ -245,7 +257,9 @@ Variables - + +

◆ ONLP_LED_MODE_STRINGS

+
@@ -254,29 +268,13 @@ Variables
-Value:
{\
-
"OFF", \
-
"AUTO", \
-
"AUTO_BLINKING", \
-
"CHAR", \
-
"RED", \
-
"RED_BLINKING", \
-
"ORANGE", \
-
"ORANGE_BLINKING", \
-
"YELLOW", \
-
"YELLOW_BLINKING", \
-
"GREEN", \
-
"GREEN_BLINKING", \
-
"BLUE", \
-
"BLUE_BLINKING", \
-
"PURPLE", \
-
"PURPLE_BLINKING", \
-
}
-

Strings macro.

+Value:
{\
"OFF", \
"AUTO", \
"AUTO_BLINKING", \
"CHAR", \
"RED", \
"RED_BLINKING", \
"ORANGE", \
"ORANGE_BLINKING", \
"YELLOW", \
"YELLOW_BLINKING", \
"GREEN", \
"GREEN_BLINKING", \
"BLUE", \
"BLUE_BLINKING", \
"PURPLE", \
"PURPLE_BLINKING", \
}

Strings macro.

- + +

◆ ONLP_LED_MODE_VALID

+
@@ -294,7 +292,9 @@ Variables

Typedef Documentation

- + +

◆ onlp_led_caps_t

+
@@ -307,7 +307,9 @@ Variables - + +

◆ onlp_led_info_t

+
@@ -320,7 +322,9 @@ Variables - + +

◆ onlp_led_mode_t

+
@@ -334,7 +338,9 @@ Variables

Enumeration Type Documentation

- + +

◆ onlp_led_caps_e

+
@@ -344,10 +350,13 @@ Variables

onlp_led_caps

+
36  {
37  ONLP_LED_CAPS_OFF = (1 << 0),
38  ONLP_LED_CAPS_AUTO = (1 << 1),
39  ONLP_LED_CAPS_AUTO_BLINKING = (1 << 2),
40  ONLP_LED_CAPS_CHAR = (1 << 3),
41  ONLP_LED_CAPS_RED = (1 << 4),
42  ONLP_LED_CAPS_RED_BLINKING = (1 << 5),
43  ONLP_LED_CAPS_ORANGE = (1 << 6),
44  ONLP_LED_CAPS_ORANGE_BLINKING = (1 << 7),
45  ONLP_LED_CAPS_YELLOW = (1 << 8),
46  ONLP_LED_CAPS_YELLOW_BLINKING = (1 << 9),
47  ONLP_LED_CAPS_GREEN = (1 << 10),
48  ONLP_LED_CAPS_GREEN_BLINKING = (1 << 11),
49  ONLP_LED_CAPS_BLUE = (1 << 12),
50  ONLP_LED_CAPS_BLUE_BLINKING = (1 << 13),
51  ONLP_LED_CAPS_PURPLE = (1 << 14),
52  ONLP_LED_CAPS_PURPLE_BLINKING = (1 << 15),
enum onlp_led_caps_e onlp_led_caps_t
+
+
+
+ +

◆ onlp_led_mode_e

-
- -
@@ -357,11 +366,14 @@ Variables

onlp_led_mode

- +
56  {
57  ONLP_LED_MODE_OFF,
58  ONLP_LED_MODE_AUTO,
59  ONLP_LED_MODE_AUTO_BLINKING,
60  ONLP_LED_MODE_CHAR,
61  ONLP_LED_MODE_RED,
62  ONLP_LED_MODE_RED_BLINKING,
63  ONLP_LED_MODE_ORANGE,
64  ONLP_LED_MODE_ORANGE_BLINKING,
65  ONLP_LED_MODE_YELLOW,
66  ONLP_LED_MODE_YELLOW_BLINKING,
67  ONLP_LED_MODE_GREEN,
68  ONLP_LED_MODE_GREEN_BLINKING,
69  ONLP_LED_MODE_BLUE,
70  ONLP_LED_MODE_BLUE_BLINKING,
71  ONLP_LED_MODE_PURPLE,
72  ONLP_LED_MODE_PURPLE_BLINKING,
73  ONLP_LED_MODE_LAST = ONLP_LED_MODE_PURPLE_BLINKING,
74  ONLP_LED_MODE_COUNT,
75  ONLP_LED_MODE_INVALID = -1,
enum onlp_led_mode_e onlp_led_mode_t
+

Function Documentation

- + +

◆ onlp_led_caps_desc()

+
@@ -378,7 +390,9 @@ Variables - + +

◆ onlp_led_caps_get()

+
@@ -413,7 +427,9 @@ Variables - + +

◆ onlp_led_caps_name()

+
@@ -430,7 +446,9 @@ Variables - + +

◆ onlp_led_caps_valid()

+
@@ -447,7 +465,9 @@ Variables - + +

◆ onlp_led_caps_value()

+
@@ -480,7 +500,9 @@ Variables - + +

◆ onlp_led_char_set()

+
@@ -516,7 +538,9 @@ Variables - + +

◆ onlp_led_hdr_get()

+
@@ -551,7 +575,9 @@ Variables - + +

◆ onlp_led_info_from_json()

+
@@ -586,7 +612,9 @@ Variables - + +

◆ onlp_led_info_get()

+
@@ -621,7 +649,9 @@ Variables - + +

◆ onlp_led_info_to_json()

+
@@ -663,7 +693,9 @@ Variables - + +

◆ onlp_led_info_to_user_json()

+
@@ -705,7 +737,9 @@ Variables - + +

◆ onlp_led_mode_desc()

+
@@ -722,7 +756,9 @@ Variables - + +

◆ onlp_led_mode_name()

+
@@ -739,7 +775,9 @@ Variables - + +

◆ onlp_led_mode_set()

+
@@ -775,7 +813,9 @@ Variables - + +

◆ onlp_led_mode_value()

+
@@ -808,7 +848,9 @@ Variables - + +

◆ onlp_led_sw_denit()

+
@@ -828,7 +870,9 @@ Variables

Variable Documentation

- + +

◆ onlp_led_caps_desc_map

+
@@ -841,7 +885,9 @@ Variables - + +

◆ onlp_led_caps_map

+
@@ -854,7 +900,9 @@ Variables - + +

◆ onlp_led_mode_desc_map

+
@@ -867,7 +915,9 @@ Variables - + +

◆ onlp_led_mode_map

+
@@ -883,9 +933,9 @@ Variables diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__oid-module.html b/packages/base/any/onlp/src/onlp/doc/html/group__oid-module.html index 21ec8409..05957ef8 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__oid-module.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__oid-module.html @@ -3,16 +3,15 @@ - + +ONLP: Modules + - @@ -21,7 +20,7 @@
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + +
+
@@ -92,7 +76,7 @@ Data Structures
- @@ -126,7 +110,9 @@ Functions

Typedefs

+
typedef struct onlp_module_info_s onlp_module_info_t
 Module OID Information Structure.
 

Detailed Description

Function Documentation

- + +

◆ onlp_module_hdr_get()

+
@@ -161,7 +147,9 @@ Functions - + +

◆ onlp_module_hw_init()

+
@@ -185,7 +173,9 @@ Functions - + +

◆ onlp_module_info_from_json()

+
@@ -220,7 +210,9 @@ Functions - + +

◆ onlp_module_info_get()

+
@@ -255,7 +247,9 @@ Functions - + +

◆ onlp_module_info_to_json()

+
@@ -297,7 +291,9 @@ Functions - + +

◆ onlp_module_info_to_user_json()

+
@@ -339,7 +335,9 @@ Functions - + +

◆ onlp_module_sw_denit()

+
@@ -358,7 +356,9 @@ Functions - + +

◆ onlp_module_sw_init()

+
@@ -380,9 +380,9 @@ Functions diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__oid-psu.html b/packages/base/any/onlp/src/onlp/doc/html/group__oid-psu.html index abd76453..56510f7e 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__oid-psu.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__oid-psu.html @@ -3,16 +3,15 @@ - + +ONLP: PSUs + - @@ -21,7 +20,7 @@
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + +
+
@@ -94,7 +78,7 @@ Data Structures
- + @@ -122,31 +106,40 @@ Typedefs Enumerations

Macros

#define ONLP_PSU_INFO_CAP_IS_SET(_pinfo, _name)   ((_pinfo)->caps & ONLP_PSU_CAPS_##_name)
#define ONLP_PSU_INFO_CAP_IS_SET(_pinfo, _name)   ((_pinfo)->caps & ONLP_PSU_CAPS_##_name)
 
#define ONLP_PSU_STATUS_PRESENT(_pi)   ( (_pi).status & ONLP_PSU_STATUS_PRESENT )
 
enum  onlp_psu_caps_e {
  ONLP_PSU_CAPS_GET_TYPE = (1 << 0), -ONLP_PSU_CAPS_GET_VIN = (1 << 1), -ONLP_PSU_CAPS_GET_VOUT = (1 << 2), -ONLP_PSU_CAPS_GET_IIN = (1 << 3), +
+  ONLP_PSU_CAPS_GET_VIN = (1 << 1), +
+  ONLP_PSU_CAPS_GET_VOUT = (1 << 2), +
+  ONLP_PSU_CAPS_GET_IIN = (1 << 3),
  ONLP_PSU_CAPS_GET_IOUT = (1 << 4), -ONLP_PSU_CAPS_GET_PIN = (1 << 5), -ONLP_PSU_CAPS_GET_POUT = (1 << 6) +
+  ONLP_PSU_CAPS_GET_PIN = (1 << 5), +
+  ONLP_PSU_CAPS_GET_POUT = (1 << 6)
}
 
enum  onlp_psu_type_e {
  ONLP_PSU_TYPE_AC, -ONLP_PSU_TYPE_DC12, -ONLP_PSU_TYPE_DC48, -ONLP_PSU_TYPE_LAST = ONLP_PSU_TYPE_DC48, +
+  ONLP_PSU_TYPE_DC12, +
+  ONLP_PSU_TYPE_DC48, +
+  ONLP_PSU_TYPE_LAST = ONLP_PSU_TYPE_DC48,
  ONLP_PSU_TYPE_COUNT, -ONLP_PSU_TYPE_INVALID = -1 +
+  ONLP_PSU_TYPE_INVALID = -1
}
 
- @@ -199,7 +192,9 @@ Variables

Functions

+
int onlp_psu_sw_init (void)
 Software initialization of the PSU module.
 

Detailed Description

Macro Definition Documentation

- + +

◆ ONLP_PSU_CAPS_VALID

+
@@ -216,7 +211,9 @@ Variables - + +

◆ ONLP_PSU_INFO_CAP_IS_SET

+
@@ -243,7 +240,9 @@ Variables - + +

◆ ONLP_PSU_STATUS_FAILED

+
@@ -260,7 +259,9 @@ Variables - + +

◆ ONLP_PSU_STATUS_MISSING

+
@@ -277,7 +278,9 @@ Variables - + +

◆ ONLP_PSU_STATUS_PRESENT

+
@@ -294,7 +297,9 @@ Variables - + +

◆ ONLP_PSU_TYPE_STRINGS

+
@@ -303,16 +308,13 @@ Variables
-Value:
{\
-
"AC", \
-
"DC12", \
-
"DC48", \
-
}
-

Strings macro.

+Value:
{\
"AC", \
"DC12", \
"DC48", \
}

Strings macro.

- + +

◆ ONLP_PSU_TYPE_VALID

+
@@ -330,7 +332,9 @@ Variables

Typedef Documentation

- + +

◆ onlp_psu_caps_t

+
@@ -343,7 +347,9 @@ Variables - + +

◆ onlp_psu_info_t

+
@@ -356,7 +362,9 @@ Variables - + +

◆ onlp_psu_type_t

+
@@ -370,7 +378,9 @@ Variables

Enumeration Type Documentation

- + +

◆ onlp_psu_caps_e

+
@@ -380,10 +390,13 @@ Variables

onlp_psu_caps

+
36  {
37  ONLP_PSU_CAPS_GET_TYPE = (1 << 0),
38  ONLP_PSU_CAPS_GET_VIN = (1 << 1),
39  ONLP_PSU_CAPS_GET_VOUT = (1 << 2),
40  ONLP_PSU_CAPS_GET_IIN = (1 << 3),
41  ONLP_PSU_CAPS_GET_IOUT = (1 << 4),
42  ONLP_PSU_CAPS_GET_PIN = (1 << 5),
43  ONLP_PSU_CAPS_GET_POUT = (1 << 6),
enum onlp_psu_caps_e onlp_psu_caps_t
+
+
+
+ +

◆ onlp_psu_type_e

-
-
-
@@ -393,11 +406,14 @@ Variables

onlp_psu_type

- +
47  {
48  ONLP_PSU_TYPE_AC,
49  ONLP_PSU_TYPE_DC12,
50  ONLP_PSU_TYPE_DC48,
51  ONLP_PSU_TYPE_LAST = ONLP_PSU_TYPE_DC48,
52  ONLP_PSU_TYPE_COUNT,
53  ONLP_PSU_TYPE_INVALID = -1,
enum onlp_psu_type_e onlp_psu_type_t
+

Function Documentation

- + +

◆ onlp_psu_caps_desc()

+
@@ -414,7 +430,9 @@ Variables - + +

◆ onlp_psu_caps_name()

+
@@ -431,7 +449,9 @@ Variables - + +

◆ onlp_psu_caps_valid()

+
@@ -448,7 +468,9 @@ Variables - + +

◆ onlp_psu_caps_value()

+
@@ -481,7 +503,9 @@ Variables - + +

◆ onlp_psu_hdr_get()

+
@@ -516,7 +540,9 @@ Variables - + +

◆ onlp_psu_hw_init()

+
@@ -540,7 +566,9 @@ Variables - + +

◆ onlp_psu_info_from_json()

+
@@ -575,7 +603,9 @@ Variables - + +

◆ onlp_psu_info_get()

+
@@ -610,7 +640,9 @@ Variables - + +

◆ onlp_psu_info_to_json()

+
@@ -652,7 +684,9 @@ Variables - + +

◆ onlp_psu_info_to_user_json()

+
@@ -694,7 +728,9 @@ Variables - + +

◆ onlp_psu_sw_denit()

+
@@ -713,7 +749,9 @@ Variables - + +

◆ onlp_psu_type_desc()

+
@@ -730,7 +768,9 @@ Variables - + +

◆ onlp_psu_type_name()

+
@@ -747,7 +787,9 @@ Variables - + +

◆ onlp_psu_type_value()

+
@@ -781,7 +823,9 @@ Variables

Variable Documentation

- + +

◆ onlp_psu_caps_desc_map

+
@@ -794,7 +838,9 @@ Variables - + +

◆ onlp_psu_caps_map

+
@@ -807,7 +853,9 @@ Variables - + +

◆ onlp_psu_type_desc_map

+
@@ -820,7 +868,9 @@ Variables - + +

◆ onlp_psu_type_map

+
@@ -836,9 +886,9 @@ Variables diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__oid-sfp.html b/packages/base/any/onlp/src/onlp/doc/html/group__oid-sfp.html index 827adc0b..287de676 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__oid-sfp.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__oid-sfp.html @@ -3,16 +3,15 @@ - + +ONLP: SFPs + - @@ -21,7 +20,7 @@
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + +
+
@@ -111,8 +95,7 @@ Macros
typedef enum onlp_sfp_control_e onlp_sfp_control_t
 
typedef enum
-onlp_sfp_control_flag_e 
onlp_sfp_control_flag_t
typedef enum onlp_sfp_control_flag_e onlp_sfp_control_flag_t
 
typedef enum onlp_sfp_type_e onlp_sfp_type_t
 
enum  onlp_sfp_control_e {
  ONLP_SFP_CONTROL_RESET, -ONLP_SFP_CONTROL_RESET_STATE, -ONLP_SFP_CONTROL_RX_LOS, -ONLP_SFP_CONTROL_TX_FAULT, +
+  ONLP_SFP_CONTROL_RESET_STATE, +
+  ONLP_SFP_CONTROL_RX_LOS, +
+  ONLP_SFP_CONTROL_TX_FAULT,
  ONLP_SFP_CONTROL_TX_DISABLE, -ONLP_SFP_CONTROL_TX_DISABLE_CHANNEL, -ONLP_SFP_CONTROL_LP_MODE, -ONLP_SFP_CONTROL_POWER_OVERRIDE, +
+  ONLP_SFP_CONTROL_TX_DISABLE_CHANNEL, +
+  ONLP_SFP_CONTROL_LP_MODE, +
+  ONLP_SFP_CONTROL_POWER_OVERRIDE,
  ONLP_SFP_CONTROL_LAST = ONLP_SFP_CONTROL_POWER_OVERRIDE, -ONLP_SFP_CONTROL_COUNT, -ONLP_SFP_CONTROL_INVALID = -1 +
+  ONLP_SFP_CONTROL_COUNT, +
+  ONLP_SFP_CONTROL_INVALID = -1
}
 
enum  onlp_sfp_control_flag_e {
  ONLP_SFP_CONTROL_FLAG_RESET = (1 << 0), -ONLP_SFP_CONTROL_FLAG_RESET_STATE = (1 << 1), -ONLP_SFP_CONTROL_FLAG_RX_LOS = (1 << 2), -ONLP_SFP_CONTROL_FLAG_TX_FAULT = (1 << 3), +
+  ONLP_SFP_CONTROL_FLAG_RESET_STATE = (1 << 1), +
+  ONLP_SFP_CONTROL_FLAG_RX_LOS = (1 << 2), +
+  ONLP_SFP_CONTROL_FLAG_TX_FAULT = (1 << 3),
  ONLP_SFP_CONTROL_FLAG_TX_DISABLE = (1 << 4), -ONLP_SFP_CONTROL_FLAG_TX_DISABLE_CHANNEL = (1 << 5), -ONLP_SFP_CONTROL_FLAG_LP_MODE = (1 << 6), -ONLP_SFP_CONTROL_FLAG_POWER_OVERRIDE = (1 << 7) +
+  ONLP_SFP_CONTROL_FLAG_TX_DISABLE_CHANNEL = (1 << 5), +
+  ONLP_SFP_CONTROL_FLAG_LP_MODE = (1 << 6), +
+  ONLP_SFP_CONTROL_FLAG_POWER_OVERRIDE = (1 << 7)
}
 
enum  onlp_sfp_type_e {
  ONLP_SFP_TYPE_SFP, -ONLP_SFP_TYPE_QSFP, -ONLP_SFP_TYPE_SFP28, -ONLP_SFP_TYPE_QSFP28, +
+  ONLP_SFP_TYPE_QSFP, +
+  ONLP_SFP_TYPE_SFP28, +
+  ONLP_SFP_TYPE_QSFP28,
  ONLP_SFP_TYPE_LAST = ONLP_SFP_TYPE_QSFP28, -ONLP_SFP_TYPE_COUNT, -ONLP_SFP_TYPE_INVALID = -1 +
+  ONLP_SFP_TYPE_COUNT, +
+  ONLP_SFP_TYPE_INVALID = -1
}
 
- @@ -249,11 +251,11 @@ int  - - @@ -295,7 +297,9 @@ Variables

Functions

+
int onlp_sfp_sw_init (void)
 Software initialization of the SFP module.
 
int onlp_sfp_info_from_json (cJSON *cj, onlp_sfp_info_t *info)
 Convert a JSON object to an SFP info structure. More...
 
+
int onlp_sfp_hw_denit (void)
 Hardware deinitialize the SFP subsystem.
 
+
int onlp_sfp_inventory_show (aim_pvs_t *pvs)
 Show the current SFP inventory.
 

Detailed Description

Macro Definition Documentation

- + +

◆ ONLP_SFP_BLOCK_DATA_SIZE

+
@@ -308,7 +312,9 @@ Variables - + +

◆ ONLP_SFP_CONTROL_FLAG_VALID

+
@@ -325,7 +331,9 @@ Variables - + +

◆ ONLP_SFP_CONTROL_STRINGS

+
@@ -334,21 +342,13 @@ Variables
-Value:
{\
-
"RESET", \
-
"RESET_STATE", \
-
"RX_LOS", \
-
"TX_FAULT", \
-
"TX_DISABLE", \
-
"TX_DISABLE_CHANNEL", \
-
"LP_MODE", \
-
"POWER_OVERRIDE", \
-
}
-

Strings macro.

+Value:
{\
"RESET", \
"RESET_STATE", \
"RX_LOS", \
"TX_FAULT", \
"TX_DISABLE", \
"TX_DISABLE_CHANNEL", \
"LP_MODE", \
"POWER_OVERRIDE", \
}

Strings macro.

- + +

◆ ONLP_SFP_CONTROL_VALID

+
@@ -365,7 +365,9 @@ Variables - + +

◆ ONLP_SFP_TYPE_STRINGS

+
@@ -374,17 +376,13 @@ Variables
-Value:
{\
-
"SFP", \
-
"QSFP", \
-
"SFP28", \
-
"QSFP28", \
-
}
-

Strings macro.

+Value:
{\
"SFP", \
"QSFP", \
"SFP28", \
"QSFP28", \
}

Strings macro.

- + +

◆ ONLP_SFP_TYPE_VALID

+
@@ -402,7 +400,9 @@ Variables

Typedef Documentation

- + +

◆ onlp_sfp_bitmap_t

+
@@ -415,7 +415,9 @@ Variables - + +

◆ onlp_sfp_control_flag_t

+
@@ -428,7 +430,9 @@ Variables - + +

◆ onlp_sfp_control_t

+
@@ -441,7 +445,9 @@ Variables - + +

◆ onlp_sfp_info_t

+
@@ -454,7 +460,9 @@ Variables - + +

◆ onlp_sfp_type_t

+
@@ -468,7 +476,9 @@ Variables

Enumeration Type Documentation

- + +

◆ onlp_sfp_control_e

+
@@ -478,10 +488,13 @@ Variables

onlp_sfp_control

+
41  {
42  ONLP_SFP_CONTROL_RESET,
43  ONLP_SFP_CONTROL_RESET_STATE,
44  ONLP_SFP_CONTROL_RX_LOS,
45  ONLP_SFP_CONTROL_TX_FAULT,
46  ONLP_SFP_CONTROL_TX_DISABLE,
47  ONLP_SFP_CONTROL_TX_DISABLE_CHANNEL,
48  ONLP_SFP_CONTROL_LP_MODE,
49  ONLP_SFP_CONTROL_POWER_OVERRIDE,
50  ONLP_SFP_CONTROL_LAST = ONLP_SFP_CONTROL_POWER_OVERRIDE,
51  ONLP_SFP_CONTROL_COUNT,
52  ONLP_SFP_CONTROL_INVALID = -1,
enum onlp_sfp_control_e onlp_sfp_control_t
+
+
+
+ +

◆ onlp_sfp_control_flag_e

-
-
-
@@ -491,10 +504,13 @@ Variables

onlp_sfp_control_flag

+
58  {
59  ONLP_SFP_CONTROL_FLAG_RESET = (1 << 0),
60  ONLP_SFP_CONTROL_FLAG_RESET_STATE = (1 << 1),
61  ONLP_SFP_CONTROL_FLAG_RX_LOS = (1 << 2),
62  ONLP_SFP_CONTROL_FLAG_TX_FAULT = (1 << 3),
63  ONLP_SFP_CONTROL_FLAG_TX_DISABLE = (1 << 4),
64  ONLP_SFP_CONTROL_FLAG_TX_DISABLE_CHANNEL = (1 << 5),
65  ONLP_SFP_CONTROL_FLAG_LP_MODE = (1 << 6),
66  ONLP_SFP_CONTROL_FLAG_POWER_OVERRIDE = (1 << 7),
enum onlp_sfp_control_flag_e onlp_sfp_control_flag_t
+
+
+
+ +

◆ onlp_sfp_type_e

- - -
@@ -504,11 +520,14 @@ Variables

onlp_sfp_type

- +
70  {
71  ONLP_SFP_TYPE_SFP,
72  ONLP_SFP_TYPE_QSFP,
73  ONLP_SFP_TYPE_SFP28,
74  ONLP_SFP_TYPE_QSFP28,
75  ONLP_SFP_TYPE_LAST = ONLP_SFP_TYPE_QSFP28,
76  ONLP_SFP_TYPE_COUNT,
77  ONLP_SFP_TYPE_INVALID = -1,
enum onlp_sfp_type_e onlp_sfp_type_t
+

Function Documentation

- + +

◆ onlp_sfp_bitmap_get()

+
@@ -532,7 +551,9 @@ Variables - + +

◆ onlp_sfp_bitmap_t_init()

+
@@ -554,7 +575,9 @@ Variables - + +

◆ onlp_sfp_control_desc()

+
@@ -571,7 +594,9 @@ Variables - + +

◆ onlp_sfp_control_flag_desc()

+
@@ -588,7 +613,9 @@ Variables - + +

◆ onlp_sfp_control_flag_name()

+
@@ -605,7 +632,9 @@ Variables - + +

◆ onlp_sfp_control_flag_valid()

+
@@ -622,7 +651,9 @@ Variables - + +

◆ onlp_sfp_control_flag_value()

+
@@ -655,7 +686,9 @@ Variables - + +

◆ onlp_sfp_control_flags_get()

+
@@ -690,7 +723,9 @@ Variables - + +

◆ onlp_sfp_control_get()

+
@@ -732,7 +767,9 @@ Variables - + +

◆ onlp_sfp_control_name()

+
@@ -749,7 +786,9 @@ Variables - + +

◆ onlp_sfp_control_set()

+
@@ -791,7 +830,9 @@ Variables - + +

◆ onlp_sfp_control_value()

+
@@ -824,7 +865,9 @@ Variables - + +

◆ onlp_sfp_dev_alloc_read()

+
@@ -881,7 +924,9 @@ Variables - + +

◆ onlp_sfp_dev_read()

+
@@ -938,7 +983,9 @@ Variables - + +

◆ onlp_sfp_dev_readb()

+
@@ -981,7 +1028,9 @@ Variables - + +

◆ onlp_sfp_dev_readw()

+
@@ -1024,7 +1073,9 @@ Variables - + +

◆ onlp_sfp_dev_write()

+
@@ -1080,7 +1131,9 @@ Variables - + +

◆ onlp_sfp_dev_writeb()

+
@@ -1129,7 +1182,9 @@ Variables - + +

◆ onlp_sfp_dev_writew()

+
@@ -1178,7 +1233,9 @@ Variables - + +

◆ onlp_sfp_hdr_get()

+
@@ -1213,7 +1270,9 @@ Variables - + +

◆ onlp_sfp_hw_init()

+
@@ -1237,7 +1296,9 @@ Variables - + +

◆ onlp_sfp_info_dom_get()

+
@@ -1272,7 +1333,9 @@ Variables - + +

◆ onlp_sfp_info_from_json()

+
@@ -1307,7 +1370,9 @@ Variables - + +

◆ onlp_sfp_info_get()

+
@@ -1342,7 +1407,9 @@ Variables - + +

◆ onlp_sfp_info_to_json()

+
@@ -1384,7 +1451,9 @@ Variables - + +

◆ onlp_sfp_info_to_user_json()

+
@@ -1426,7 +1495,9 @@ Variables - + +

◆ onlp_sfp_is_present()

+
@@ -1455,7 +1526,9 @@ Variables - + +

◆ onlp_sfp_port_valid()

+
@@ -1479,7 +1552,9 @@ Variables - + +

◆ onlp_sfp_post_insert()

+
@@ -1515,7 +1590,9 @@ Variables - + +

◆ onlp_sfp_presence_bitmap_get()

+
@@ -1540,7 +1617,9 @@ Variables - + +

◆ onlp_sfp_rx_los_bitmap_get()

+
@@ -1565,7 +1644,9 @@ Variables - + +

◆ onlp_sfp_sw_denit()

+
@@ -1585,7 +1666,9 @@ Variables - + +

◆ onlp_sfp_type_desc()

+
@@ -1602,7 +1685,9 @@ Variables - + +

◆ onlp_sfp_type_get()

+
@@ -1637,7 +1722,9 @@ Variables - + +

◆ onlp_sfp_type_name()

+
@@ -1654,7 +1741,9 @@ Variables - + +

◆ onlp_sfp_type_value()

+
@@ -1688,7 +1777,9 @@ Variables

Variable Documentation

- + +

◆ onlp_sfp_control_desc_map

+
@@ -1701,7 +1792,9 @@ Variables - + +

◆ onlp_sfp_control_flag_desc_map

+
@@ -1714,7 +1807,9 @@ Variables - + +

◆ onlp_sfp_control_flag_map

+
@@ -1727,7 +1822,9 @@ Variables - + +

◆ onlp_sfp_control_map

+
@@ -1740,7 +1837,9 @@ Variables - + +

◆ onlp_sfp_type_desc_map

+
@@ -1753,7 +1852,9 @@ Variables - + +

◆ onlp_sfp_type_map

+
@@ -1769,9 +1870,9 @@ Variables diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__oid-thermal.html b/packages/base/any/onlp/src/onlp/doc/html/group__oid-thermal.html index cac771e6..3e95eb48 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__oid-thermal.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__oid-thermal.html @@ -3,16 +3,15 @@ - + +ONLP: Thermals + - @@ -21,7 +20,7 @@
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + +
+
@@ -100,7 +84,7 @@ Macros
 
#define ONLP_THERMAL_THRESHOLD_INIT_DEFAULTS
 
#define ONLP_THERMAL_INFO_CAP_IS_SET(_pinfo, _name)   ((_pinfo)->caps & ONLP_THERMAL_CAPS_##_name)
#define ONLP_THERMAL_INFO_CAP_IS_SET(_pinfo, _name)   ((_pinfo)->caps & ONLP_THERMAL_CAPS_##_name)
 
#define ONLP_THERMAL_CAPS_VALID(_e)   (onlp_thermal_caps_valid((_e)))
 
typedef enum onlp_thermal_caps_e onlp_thermal_caps_t
 
typedef enum
-onlp_thermal_threshold_e 
onlp_thermal_threshold_t
typedef enum onlp_thermal_threshold_e onlp_thermal_threshold_t
 
typedef struct onlp_thermal_info_s onlp_thermal_info_t
 
- -

Enumerations

enum  onlp_thermal_caps_e { ONLP_THERMAL_CAPS_GET_TEMPERATURE = (1 << 0), -ONLP_THERMAL_CAPS_GET_WARNING_THRESHOLD = (1 << 1), -ONLP_THERMAL_CAPS_GET_ERROR_THRESHOLD = (1 << 2), -ONLP_THERMAL_CAPS_GET_SHUTDOWN_THRESHOLD = (1 << 3) +
enum  onlp_thermal_caps_e {
+  ONLP_THERMAL_CAPS_GET_TEMPERATURE = (1 << 0), +
+  ONLP_THERMAL_CAPS_GET_WARNING_THRESHOLD = (1 << 1), +
+  ONLP_THERMAL_CAPS_GET_ERROR_THRESHOLD = (1 << 2), +
+  ONLP_THERMAL_CAPS_GET_SHUTDOWN_THRESHOLD = (1 << 3) +
}
 
enum  onlp_thermal_threshold_e { ONLP_THERMAL_THRESHOLD_WARNING_DEFAULT = 45000, -ONLP_THERMAL_THRESHOLD_ERROR_DEFAULT = 55000, -ONLP_THERMAL_THRESHOLD_SHUTDOWN_DEFAULT = 60000 +
enum  onlp_thermal_threshold_e {
+  ONLP_THERMAL_THRESHOLD_WARNING_DEFAULT = 45000, +
+  ONLP_THERMAL_THRESHOLD_ERROR_DEFAULT = 55000, +
+  ONLP_THERMAL_THRESHOLD_SHUTDOWN_DEFAULT = 60000 +
}
 
- @@ -188,7 +180,9 @@ Variables

Functions

+
int onlp_thermal_sw_init (void)
 Software initialization of the thermal module.
 

Detailed Description

Macro Definition Documentation

- + +

◆ ONLP_THERMAL_CAPS_ALL

+
@@ -201,7 +195,9 @@ Variables - + +

◆ ONLP_THERMAL_CAPS_GET_ANY_THRESHOLD

+
@@ -210,14 +206,13 @@ Variables
-Value:
( ONLP_THERMAL_CAPS_GET_WARNING_THRESHOLD | \
-
ONLP_THERMAL_CAPS_GET_ERROR_THRESHOLD | \
-
ONLP_THERMAL_CAPS_GET_SHUTDOWN_THRESHOLD )
-

Shortcut for determining the availability of any threshold value.

+Value:
( ONLP_THERMAL_CAPS_GET_WARNING_THRESHOLD | \
ONLP_THERMAL_CAPS_GET_ERROR_THRESHOLD | \
ONLP_THERMAL_CAPS_GET_SHUTDOWN_THRESHOLD )

Shortcut for determining the availability of any threshold value.

- + +

◆ ONLP_THERMAL_CAPS_VALID

+
@@ -234,7 +229,9 @@ Variables - + +

◆ ONLP_THERMAL_INFO_CAP_IS_SET

+
@@ -261,7 +258,9 @@ Variables - + +

◆ ONLP_THERMAL_THRESHOLD_INIT_DEFAULTS

+
@@ -270,14 +269,13 @@ Variables
-Value:
{ ONLP_THERMAL_THRESHOLD_WARNING_DEFAULT, \
-
ONLP_THERMAL_THRESHOLD_ERROR_DEFAULT, \
-
ONLP_THERMAL_THRESHOLD_SHUTDOWN_DEFAULT }
-

Shortcut for all default thermal threshold value.

+Value:
{ ONLP_THERMAL_THRESHOLD_WARNING_DEFAULT, \
ONLP_THERMAL_THRESHOLD_ERROR_DEFAULT, \
ONLP_THERMAL_THRESHOLD_SHUTDOWN_DEFAULT }

Shortcut for all default thermal threshold value.

- + +

◆ ONLP_THERMAL_THRESHOLD_VALID

+
@@ -295,7 +293,9 @@ Variables

Typedef Documentation

- + +

◆ onlp_thermal_caps_t

+
@@ -308,7 +308,9 @@ Variables - + +

◆ onlp_thermal_info_t

+
@@ -321,7 +323,9 @@ Variables - + +

◆ onlp_thermal_threshold_t

+
@@ -335,7 +339,9 @@ Variables

Enumeration Type Documentation

- + +

◆ onlp_thermal_caps_e

+
@@ -345,10 +351,13 @@ Variables

onlp_thermal_caps

+
37  {
38  ONLP_THERMAL_CAPS_GET_TEMPERATURE = (1 << 0),
39  ONLP_THERMAL_CAPS_GET_WARNING_THRESHOLD = (1 << 1),
40  ONLP_THERMAL_CAPS_GET_ERROR_THRESHOLD = (1 << 2),
41  ONLP_THERMAL_CAPS_GET_SHUTDOWN_THRESHOLD = (1 << 3),
enum onlp_thermal_caps_e onlp_thermal_caps_t
+
+
+
+ +

◆ onlp_thermal_threshold_e

-
-
-
@@ -358,11 +367,14 @@ Variables

onlp_thermal_threshold

- +
45  {
46  ONLP_THERMAL_THRESHOLD_WARNING_DEFAULT = 45000,
47  ONLP_THERMAL_THRESHOLD_ERROR_DEFAULT = 55000,
48  ONLP_THERMAL_THRESHOLD_SHUTDOWN_DEFAULT = 60000,
enum onlp_thermal_threshold_e onlp_thermal_threshold_t
+

Function Documentation

- + +

◆ onlp_thermal_caps_desc()

+
@@ -379,7 +391,9 @@ Variables - + +

◆ onlp_thermal_caps_name()

+
@@ -396,7 +410,9 @@ Variables - + +

◆ onlp_thermal_caps_valid()

+
@@ -413,7 +429,9 @@ Variables - + +

◆ onlp_thermal_caps_value()

+
@@ -446,7 +464,9 @@ Variables - + +

◆ onlp_thermal_hdr_get()

+
@@ -481,7 +501,9 @@ Variables - + +

◆ onlp_thermal_hw_init()

+
@@ -505,7 +527,9 @@ Variables - + +

◆ onlp_thermal_info_from_json()

+
@@ -540,7 +564,9 @@ Variables - + +

◆ onlp_thermal_info_get()

+
@@ -575,7 +601,9 @@ Variables - + +

◆ onlp_thermal_info_to_json()

+
@@ -617,7 +645,9 @@ Variables - + +

◆ onlp_thermal_info_to_user_json()

+
@@ -660,7 +690,9 @@ Variables - + +

◆ onlp_thermal_sw_denit()

+
@@ -679,7 +711,9 @@ Variables - + +

◆ onlp_thermal_threshold_desc()

+
@@ -696,7 +730,9 @@ Variables - + +

◆ onlp_thermal_threshold_name()

+
@@ -713,7 +749,9 @@ Variables - + +

◆ onlp_thermal_threshold_valid()

+
@@ -730,7 +768,9 @@ Variables - + +

◆ onlp_thermal_threshold_value()

+
@@ -764,7 +804,9 @@ Variables

Variable Documentation

- + +

◆ onlp_thermal_caps_desc_map

+
@@ -777,7 +819,9 @@ Variables - + +

◆ onlp_thermal_caps_map

+
@@ -790,7 +834,9 @@ Variables - + +

◆ onlp_thermal_threshold_desc_map

+
@@ -803,7 +849,9 @@ Variables - + +

◆ onlp_thermal_threshold_map

+
@@ -819,9 +867,9 @@ Variables diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__oid-types.html b/packages/base/any/onlp/src/onlp/doc/html/group__oid-types.html index 46700892..ac6c1f0e 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__oid-types.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__oid-types.html @@ -3,16 +3,15 @@ - + +ONLP: OID Types + - @@ -21,7 +20,7 @@
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + +
+
@@ -106,9 +90,9 @@ Modules
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + +
+
@@ -96,23 +80,23 @@ Data Structures
#define ONLP_OID_TYPE_GET(_id)   ( ( (_id) >> 24) )
 
#define ONLP_OID_TYPE_CREATE(_type, _id)   ( ( (_type) << 24) | (_id))
#define ONLP_OID_TYPE_CREATE(_type, _id)   ( ( (_type) << 24) | (_id))
 
#define ONLP_OID_IS_TYPE(_type, _id)   (ONLP_OID_TYPE_GET((_id)) == _type)
#define ONLP_OID_IS_TYPE(_type, _id)   (ONLP_OID_TYPE_GET((_id)) == _type)
 
#define ONLP_OID_ID_GET(_id)   (_id & 0xFFFFFF)
 
#define ONLP_OID_TYPE_VALIDATE(_type, _oid)
#define ONLP_OID_TYPE_VALIDATE(_type, _oid)
 
#define ONLP_OID_TYPE_VALIDATE_NR(_type, _oid)
#define ONLP_OID_TYPE_VALIDATE_NR(_type, _oid)
 
#define ONLP_OID_TYPE_VALIDATE_GET_ID(_type, _oid, _id)
#define ONLP_OID_TYPE_VALIDATE_GET_ID(_type, _oid, _id)
 
#define ONLP_OID_TYPE_VALIDATE_GET_ID_NR(_type, _oid, _id)
#define ONLP_OID_TYPE_VALIDATE_GET_ID_NR(_type, _oid, _id)
 
#define ONLP_OID_IS_TYPE_FLAGS(_flags, _id)   ((_flags & (1 << ONLP_OID_TYPE_GET(_id))))
#define ONLP_OID_IS_TYPE_FLAGS(_flags, _id)   ((_flags & (1 << ONLP_OID_TYPE_GET(_id))))
 
#define ONLP_OID_IS_TYPE_FLAGSZ(_flags, _id)   ((_flags == 0) || ONLP_OID_IS_TYPE_FLAGS(_flags, _id))
#define ONLP_OID_IS_TYPE_FLAGSZ(_flags, _id)   ((_flags == 0) || ONLP_OID_IS_TYPE_FLAGS(_flags, _id))
 
#define ONLP_CHASSIS_ID_CREATE(_id)   ONLP_OID_TYPE_CREATE(ONLP_OID_TYPE_CHASSIS, _id)
 
 
#define ONLP_OID_THERMAL_VALIDATE_NR(_id)   ONLP_OID_TYPE_VALIDATE_NR(ONLP_OID_TYPE_THERMAL, _id)
 
#define ONLP_OID_THERMAL_VALIDATE_GET_ID(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID(ONLP_OID_TYPE_THERMAL, _oid, _id)
#define ONLP_OID_THERMAL_VALIDATE_GET_ID(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID(ONLP_OID_TYPE_THERMAL, _oid, _id)
 
#define ONLP_OID_THERMAL_VALIDATE_GET_ID_NR(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID_NR(ONLP_OID_TYPE_THERMAL, _oid, _id)
#define ONLP_OID_THERMAL_VALIDATE_GET_ID_NR(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID_NR(ONLP_OID_TYPE_THERMAL, _oid, _id)
 
#define ONLP_OID_IS_FAN(_id)   ONLP_OID_IS_TYPE(ONLP_OID_TYPE_FAN, _id)
 
 
#define ONLP_OID_FAN_VALIDATE_NR(_id)   ONLP_OID_TYPE_VALIDATE_NR(ONLP_OID_TYPE_FAN, _id)
 
#define ONLP_OID_FAN_VALIDATE_GET_ID(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID(ONLP_OID_TYPE_FAN, _oid, _id)
#define ONLP_OID_FAN_VALIDATE_GET_ID(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID(ONLP_OID_TYPE_FAN, _oid, _id)
 
#define ONLP_OID_FAN_VALIDATE_GET_ID_NR(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID_NR(ONLP_OID_TYPE_FAN, _oid, _id)
#define ONLP_OID_FAN_VALIDATE_GET_ID_NR(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID_NR(ONLP_OID_TYPE_FAN, _oid, _id)
 
#define ONLP_OID_IS_PSU(_id)   ONLP_OID_IS_TYPE(ONLP_OID_TYPE_PSU, _id)
 
 
#define ONLP_OID_PSU_VALIDATE_NR(_id)   ONLP_OID_TYPE_VALIDATE_NR(ONLP_OID_TYPE_PSU, _id)
 
#define ONLP_OID_PSU_VALIDATE_GET_ID(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID(ONLP_OID_TYPE_PSU, _oid, _id)
#define ONLP_OID_PSU_VALIDATE_GET_ID(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID(ONLP_OID_TYPE_PSU, _oid, _id)
 
#define ONLP_OID_PSU_VALIDATE_GET_ID_NR(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID_NR(ONLP_OID_TYPE_PSU, _oid, _id)
#define ONLP_OID_PSU_VALIDATE_GET_ID_NR(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID_NR(ONLP_OID_TYPE_PSU, _oid, _id)
 
#define ONLP_OID_IS_LED(_id)   ONLP_OID_IS_TYPE(ONLP_OID_TYPE_LED, _id)
 
 
#define ONLP_OID_LED_VALIDATE_NR(_id)   ONLP_OID_TYPE_VALIDATE_NR(ONLP_OID_TYPE_LED, _id)
 
#define ONLP_OID_LED_VALIDATE_GET_ID(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID(ONLP_OID_TYPE_LED, _oid, _id)
#define ONLP_OID_LED_VALIDATE_GET_ID(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID(ONLP_OID_TYPE_LED, _oid, _id)
 
#define ONLP_OID_LED_VALIDATE_GET_ID_NR(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID_NR(ONLP_OID_TYPE_LED, _oid, _id)
#define ONLP_OID_LED_VALIDATE_GET_ID_NR(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID_NR(ONLP_OID_TYPE_LED, _oid, _id)
 
#define ONLP_OID_IS_SFP(_id)   ONLP_OID_IS_TYPE(ONLP_OID_TYPE_SFP, _id)
 
 
#define ONLP_OID_SFP_VALIDATE_NR(_id)   ONLP_OID_TYPE_VALIDATE_NR(ONLP_OID_TYPE_SFP, _id)
 
#define ONLP_OID_SFP_VALIDATE_GET_ID(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID(ONLP_OID_TYPE_SFP, _oid, _id)
#define ONLP_OID_SFP_VALIDATE_GET_ID(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID(ONLP_OID_TYPE_SFP, _oid, _id)
 
#define ONLP_OID_SFP_VALIDATE_GET_ID_NR(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID_NR(ONLP_OID_TYPE_SFP, _oid, _id)
#define ONLP_OID_SFP_VALIDATE_GET_ID_NR(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID_NR(ONLP_OID_TYPE_SFP, _oid, _id)
 
#define ONLP_OID_IS_MODULE(_id)   ONLP_OID_IS_TYPE(ONLP_OID_TYPE_MODULE, _id)
 
 
#define ONLP_OID_MODULE_VALIDATE_NR(_id)   ONLP_OID_TYPE_VALIDATE_NR(ONLP_OID_TYPE_MODULE, _id)
 
#define ONLP_OID_MODULE_VALIDATE_GET_ID(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID(ONLP_OID_TYPE_MODULE, _oid, _id)
#define ONLP_OID_MODULE_VALIDATE_GET_ID(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID(ONLP_OID_TYPE_MODULE, _oid, _id)
 
#define ONLP_OID_MODULE_VALIDATE_GET_ID_NR(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID_NR(ONLP_OID_TYPE_MODULE, _oid, _id)
#define ONLP_OID_MODULE_VALIDATE_GET_ID_NR(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID_NR(ONLP_OID_TYPE_MODULE, _oid, _id)
 
#define ONLP_OID_IS_GENERIC(_id)   ONLP_OID_IS_TYPE(ONLP_OID_TYPE_GENERIC, _id)
 
 
#define ONLP_OID_GENERIC_VALIDATE_NR(_id)   ONLP_OID_TYPE_VALIDATE_NR(ONLP_OID_TYPE_GENERIC, _id)
 
#define ONLP_OID_GENERIC_VALIDATE_GET_ID(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID(ONLP_OID_TYPE_GENERIC, _oid, _id)
#define ONLP_OID_GENERIC_VALIDATE_GET_ID(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID(ONLP_OID_TYPE_GENERIC, _oid, _id)
 
#define ONLP_OID_GENERIC_VALIDATE_GET_ID_NR(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID_NR(ONLP_OID_TYPE_GENERIC, _oid, _id)
#define ONLP_OID_GENERIC_VALIDATE_GET_ID_NR(_oid, _id)   ONLP_OID_TYPE_VALIDATE_GET_ID_NR(ONLP_OID_TYPE_GENERIC, _oid, _id)
 
#define ONLP_OID_ID_VALIDATE_RANGE(_id, _min, _max)   ( (_id) >= (_min) && (_id) <= (_max)) ? ONLP_STATUS_OK : ONLP_STATUS_E_INVALID
#define ONLP_OID_ID_VALIDATE_RANGE(_id, _min, _max)   ( (_id) >= (_min) && (_id) <= (_max)) ? ONLP_STATUS_OK : ONLP_STATUS_E_INVALID
 
#define ONLP_OID_CHASSIS   ONLP_OID_TYPE_CREATE(ONLP_OID_TYPE_CHASSIS, 1)
 
 
#define ONLP_OID_TABLE_SIZE_BYTES   (sizeof(onlp_oid_t)*ONLP_OID_TABLE_SIZE)
 
#define ONLP_OID_TABLE_COPY(_dst, _src)   memcpy(_dst, _src, ONLP_OID_TABLE_SIZE_BYTES)
#define ONLP_OID_TABLE_COPY(_dst, _src)   memcpy(_dst, _src, ONLP_OID_TABLE_SIZE_BYTES)
 
#define ONLP_OID_TABLE_CLEAR(_table)   memset(_table, 0, ONLP_OID_TABLE_SIZE_BYTES)
 
#define ONLP_OID_THERMAL_ENTRY(_id, _desc, _parent_type, _parent_id)   { ONLP_THERMAL_ID_CREATE(_id), _desc, ONLP_OID_TYPE_CREATE(_parent_type, _parent_id) }
#define ONLP_OID_THERMAL_ENTRY(_id, _desc, _parent_type, _parent_id)   { ONLP_THERMAL_ID_CREATE(_id), _desc, ONLP_OID_TYPE_CREATE(_parent_type, _parent_id) }
 
#define ONLP_OID_STATUS_FLAGS_GET(_ptr)   (((onlp_oid_hdr_t*)_ptr)->status)
 
#define ONLP_OID_STATUS_FLAGS_CLR(_ptr)   ONLP_OID_STATUS_FLAGS_GET(_ptr) = 0
 
#define ONLP_OID_STATUS_FLAG_GET_VALUE(_ptr, _name)   AIM_FLAG_GET_VALUE(ONLP_OID_STATUS_FLAGS_GET(_ptr), ONLP_OID_STATUS_FLAG_##_name)
#define ONLP_OID_STATUS_FLAG_GET_VALUE(_ptr, _name)   AIM_FLAG_GET_VALUE(ONLP_OID_STATUS_FLAGS_GET(_ptr), ONLP_OID_STATUS_FLAG_##_name)
 
#define ONLP_OID_STATUS_FLAG_SET_VALUE(_ptr, _name, _value)   AIM_FLAG_SET_VALUE(ONLP_OID_STATUS_FLAGS_GET(_ptr), ONLP_OID_STATUS_FLAG_##_name, _value)
#define ONLP_OID_STATUS_FLAG_SET_VALUE(_ptr, _name, _value)   AIM_FLAG_SET_VALUE(ONLP_OID_STATUS_FLAGS_GET(_ptr), ONLP_OID_STATUS_FLAG_##_name, _value)
 
#define ONLP_OID_STATUS_FLAG_SET(_ptr, _name)   AIM_FLAG_SET(ONLP_OID_STATUS_FLAGS_GET(_ptr), ONLP_OID_STATUS_FLAG_##_name)
#define ONLP_OID_STATUS_FLAG_SET(_ptr, _name)   AIM_FLAG_SET(ONLP_OID_STATUS_FLAGS_GET(_ptr), ONLP_OID_STATUS_FLAG_##_name)
 
#define ONLP_OID_STATUS_FLAG_CLR(_ptr, _name)   AIM_FLAG_CLR(ONLP_OID_STATUS_FLAGS_GET(_ptr), ONLP_OID_STATUS_FLAG_##_name)
#define ONLP_OID_STATUS_FLAG_CLR(_ptr, _name)   AIM_FLAG_CLR(ONLP_OID_STATUS_FLAGS_GET(_ptr), ONLP_OID_STATUS_FLAG_##_name)
 
#define ONLP_OID_STATUS_FLAG_IS_SET(_ptr, _name)   AIM_FLAG_IS_SET(ONLP_OID_STATUS_FLAGS_GET(_ptr), ONLP_OID_STATUS_FLAG_##_name)
#define ONLP_OID_STATUS_FLAG_IS_SET(_ptr, _name)   AIM_FLAG_IS_SET(ONLP_OID_STATUS_FLAGS_GET(_ptr), ONLP_OID_STATUS_FLAG_##_name)
 
#define ONLP_OID_STATUS_FLAG_NOT_SET(_ptr, _name)   AIM_FLAG_NOT_SET(ONLP_OID_STATUS_FLAGS_GET(_ptr), ONLP_OID_STATUS_FLAG_##_name)
#define ONLP_OID_STATUS_FLAG_NOT_SET(_ptr, _name)   AIM_FLAG_NOT_SET(ONLP_OID_STATUS_FLAGS_GET(_ptr), ONLP_OID_STATUS_FLAG_##_name)
 
#define ONLP_OID_PRESENT(_ptr)   ONLP_OID_STATUS_FLAG_IS_SET(_ptr, PRESENT)
 
#define ONLP_OID_FAILED(_ptr)   ONLP_OID_STATUS_FLAG_IS_SET(_ptr, FAILED)
 
#define ONLP_OID_TABLE_ITER_EXPR(_table, _oidp, _expr)
#define ONLP_OID_TABLE_ITER_EXPR(_table, _oidp, _expr)
 Iterate over all OIDS in the given table that match the given expression. More...
 
#define ONLP_OID_TABLE_ITER(_table, _oidp)   ONLP_OID_TABLE_ITER_EXPR(_table, _oidp, 1)
#define ONLP_OID_TABLE_ITER(_table, _oidp)   ONLP_OID_TABLE_ITER_EXPR(_table, _oidp, 1)
 Iterate over all OIDs in the given table. More...
 
#define ONLP_OID_TABLE_ITER_TYPE(_table, _oidp, _type)   ONLP_OID_TABLE_ITER_EXPR(_table, _oidp, ONLP_OID_IS_TYPE(ONLP_OID_TYPE_##_type, *_oidp))
#define ONLP_OID_TABLE_ITER_TYPE(_table, _oidp, _type)   ONLP_OID_TABLE_ITER_EXPR(_table, _oidp, ONLP_OID_IS_TYPE(ONLP_OID_TYPE_##_type, *_oidp))
 Iterate over all OIDs in the given table of the given type. More...
 
#define ONLP_OID_JSON_FLAG_VALID(_e)   (onlp_oid_json_flag_valid((_e)))
 
typedef uint32_t onlp_oid_status_flags_t
 
typedef char onlp_oid_desc_t [ONLP_OID_DESC_SIZE]
typedef char onlp_oid_desc_t[ONLP_OID_DESC_SIZE]
 
typedef onlp_oid_t onlp_oid_table_t [ONLP_OID_TABLE_SIZE]
typedef onlp_oid_t onlp_oid_table_t[ONLP_OID_TABLE_SIZE]
 
typedef struct onlp_oid_hdr_s onlp_oid_hdr_t
 
typedef int(* onlp_oid_iterate_f )(onlp_oid_t oid, void *cookie)
 
typedef int(* onlp_oid_iterate_f) (onlp_oid_t oid, void *cookie)
 
- - @@ -335,7 +340,7 @@ Functions - + @@ -347,7 +352,7 @@ Functions - @@ -355,7 +360,7 @@ int  - @@ -439,7 +444,9 @@ Variables

Enumerations

enum  onlp_oid_json_flag_e { ONLP_OID_JSON_FLAG_RECURSIVE = (1 << 0), -ONLP_OID_JSON_FLAG_UNSUPPORTED_FIELDS = (1 << 1), -ONLP_OID_JSON_FLAG_TO_USER_JSON = (1 << 2) +
enum  onlp_oid_json_flag_e {
+  ONLP_OID_JSON_FLAG_RECURSIVE = (1 << 0), +
+  ONLP_OID_JSON_FLAG_UNSUPPORTED_FIELDS = (1 << 1), +
+  ONLP_OID_JSON_FLAG_TO_USER_JSON = (1 << 2) +
}
 
enum  onlp_oid_status_flag_e { ONLP_OID_STATUS_FLAG_PRESENT = (1 << 0), -ONLP_OID_STATUS_FLAG_FAILED = (1 << 1), -ONLP_OID_STATUS_FLAG_OPERATIONAL = (1 << 2), -ONLP_OID_STATUS_FLAG_UNPLUGGED = (1 << 3) +
enum  onlp_oid_status_flag_e {
+  ONLP_OID_STATUS_FLAG_PRESENT = (1 << 0), +
+  ONLP_OID_STATUS_FLAG_FAILED = (1 << 1), +
+  ONLP_OID_STATUS_FLAG_OPERATIONAL = (1 << 2), +
+  ONLP_OID_STATUS_FLAG_UNPLUGGED = (1 << 3) +
}
 
enum  onlp_oid_type_e {
  ONLP_OID_TYPE_CHASSIS = 1, -ONLP_OID_TYPE_MODULE = 2, -ONLP_OID_TYPE_THERMAL = 3, -ONLP_OID_TYPE_FAN = 4, +
+  ONLP_OID_TYPE_MODULE = 2, +
+  ONLP_OID_TYPE_THERMAL = 3, +
+  ONLP_OID_TYPE_FAN = 4,
  ONLP_OID_TYPE_PSU = 5, -ONLP_OID_TYPE_LED = 6, -ONLP_OID_TYPE_SFP = 7, -ONLP_OID_TYPE_GENERIC = 8 +
+  ONLP_OID_TYPE_LED = 6, +
+  ONLP_OID_TYPE_SFP = 7, +
+  ONLP_OID_TYPE_GENERIC = 8
}
 
enum  onlp_oid_type_flag_e {
  ONLP_OID_TYPE_FLAG_CHASSIS = (1 << 1), -ONLP_OID_TYPE_FLAG_MODULE = (1 << 2), -ONLP_OID_TYPE_FLAG_THERMAL = (1 << 3), -ONLP_OID_TYPE_FLAG_FAN = (1 << 4), +
+  ONLP_OID_TYPE_FLAG_MODULE = (1 << 2), +
+  ONLP_OID_TYPE_FLAG_THERMAL = (1 << 3), +
+  ONLP_OID_TYPE_FLAG_FAN = (1 << 4),
  ONLP_OID_TYPE_FLAG_PSU = (1 << 5), -ONLP_OID_TYPE_FLAG_LED = (1 << 6), -ONLP_OID_TYPE_FLAG_SFP = (1 << 7), -ONLP_OID_TYPE_FLAG_GENERIC = (1 << 8) +
+  ONLP_OID_TYPE_FLAG_LED = (1 << 6), +
+  ONLP_OID_TYPE_FLAG_SFP = (1 << 7), +
+  ONLP_OID_TYPE_FLAG_GENERIC = (1 << 8)
}
 
int onlp_oid_info_get (onlp_oid_t oid, onlp_oid_hdr_t **info)
 Get the information structure for a given OID. More...
 
int onlp_oid_iterate (onlp_oid_t root, onlp_oid_type_flags_t types, onlp_oid_iterate_f itf, void *cookie)
int onlp_oid_iterate (onlp_oid_t root, onlp_oid_type_flags_t types, onlp_oid_iterate_f itf, void *cookie)
 Iterate over all platform OIDs. More...
 
int onlp_oid_info_get_all (onlp_oid_t root, onlp_oid_type_flags_t types, uint32_t flags, biglist_t **list)
int onlp_oid_get_all_free (biglist_t *list)
 Free a list returned by onlp_oid_info_get_all() or onlp_oid_hdr_get_all() More...
 
+
int onlp_oid_is_present (onlp_oid_t *oid)
 Return whether an OID is present or not.
 
 
int onlp_oid_to_user_str (onlp_oid_t oid, char *rstr)
 
+
int onlp_oid_from_str (char *str, onlp_oid_t *roid)
 String Represenation -> OID.
 

Detailed Description

Macro Definition Documentation

- + +

◆ ONLP_CHASSIS_ID_CREATE

+
@@ -456,7 +463,9 @@ Variables - + +

◆ ONLP_FAN_ID_CREATE

+
@@ -473,7 +482,9 @@ Variables - + +

◆ ONLP_GENERIC_ID_CREATE

+
@@ -490,7 +501,9 @@ Variables - + +

◆ ONLP_LED_ID_CREATE

+
@@ -507,7 +520,9 @@ Variables - + +

◆ ONLP_MODULE_ID_CREATE

+
@@ -524,7 +539,9 @@ Variables - + +

◆ ONLP_OID_CHASSIS

+
@@ -537,7 +554,9 @@ Variables - + +

◆ ONLP_OID_CHASSIS_VALIDATE

+
@@ -554,7 +573,9 @@ Variables - + +

◆ ONLP_OID_CHASSIS_VALIDATE_NR

+
@@ -571,7 +592,9 @@ Variables - + +

◆ ONLP_OID_DESC_SIZE

+
@@ -584,7 +607,9 @@ Variables - + +

◆ ONLP_OID_FAILED

+
@@ -601,7 +626,9 @@ Variables - + +

◆ ONLP_OID_FAN_VALIDATE

+
@@ -618,7 +645,9 @@ Variables - + +

◆ ONLP_OID_FAN_VALIDATE_GET_ID

+
@@ -645,7 +674,9 @@ Variables - + +

◆ ONLP_OID_FAN_VALIDATE_GET_ID_NR

+
@@ -672,7 +703,9 @@ Variables - + +

◆ ONLP_OID_FAN_VALIDATE_NR

+
@@ -689,7 +722,9 @@ Variables - + +

◆ ONLP_OID_GENERIC_VALIDATE

+
@@ -706,7 +741,9 @@ Variables - + +

◆ ONLP_OID_GENERIC_VALIDATE_GET_ID

+
@@ -733,7 +770,9 @@ Variables - + +

◆ ONLP_OID_GENERIC_VALIDATE_GET_ID_NR

+
@@ -760,7 +799,9 @@ Variables - + +

◆ ONLP_OID_GENERIC_VALIDATE_NR

+
@@ -777,7 +818,9 @@ Variables - + +

◆ ONLP_OID_ID_GET

+
@@ -794,7 +837,9 @@ Variables - + +

◆ ONLP_OID_ID_VALIDATE_RANGE

+
@@ -827,7 +872,9 @@ Variables - + +

◆ ONLP_OID_IS_CHASSIS

+
@@ -844,7 +891,9 @@ Variables - + +

◆ ONLP_OID_IS_FAN

+
@@ -861,7 +910,9 @@ Variables - + +

◆ ONLP_OID_IS_GENERIC

+
@@ -878,7 +929,9 @@ Variables - + +

◆ ONLP_OID_IS_LED

+
@@ -895,7 +948,9 @@ Variables - + +

◆ ONLP_OID_IS_MODULE

+
@@ -912,7 +967,9 @@ Variables - + +

◆ ONLP_OID_IS_PSU

+
@@ -929,7 +986,9 @@ Variables - + +

◆ ONLP_OID_IS_SFP

+
@@ -946,7 +1005,9 @@ Variables - + +

◆ ONLP_OID_IS_THERMAL

+
@@ -963,7 +1024,9 @@ Variables - + +

◆ ONLP_OID_IS_TYPE

+
@@ -990,7 +1053,9 @@ Variables - + +

◆ ONLP_OID_IS_TYPE_FLAGS

+
@@ -1017,7 +1082,9 @@ Variables - + +

◆ ONLP_OID_IS_TYPE_FLAGSZ

+
@@ -1044,7 +1111,9 @@ Variables - + +

◆ ONLP_OID_JSON_FLAG_VALID

+
@@ -1061,7 +1130,9 @@ Variables - + +

◆ ONLP_OID_LED_VALIDATE

+
@@ -1078,7 +1149,9 @@ Variables - + +

◆ ONLP_OID_LED_VALIDATE_GET_ID

+
@@ -1105,7 +1178,9 @@ Variables - + +

◆ ONLP_OID_LED_VALIDATE_GET_ID_NR

+
@@ -1132,7 +1207,9 @@ Variables - + +

◆ ONLP_OID_LED_VALIDATE_NR

+
@@ -1149,7 +1226,9 @@ Variables - + +

◆ ONLP_OID_MODULE_VALIDATE

+
@@ -1166,7 +1245,9 @@ Variables - + +

◆ ONLP_OID_MODULE_VALIDATE_GET_ID

+
@@ -1193,7 +1274,9 @@ Variables - + +

◆ ONLP_OID_MODULE_VALIDATE_GET_ID_NR

+
@@ -1220,7 +1303,9 @@ Variables - + +

◆ ONLP_OID_MODULE_VALIDATE_NR

+
@@ -1237,7 +1322,9 @@ Variables - + +

◆ ONLP_OID_PRESENT

+
@@ -1254,7 +1341,9 @@ Variables - + +

◆ ONLP_OID_PSU_VALIDATE

+
@@ -1271,7 +1360,9 @@ Variables - + +

◆ ONLP_OID_PSU_VALIDATE_GET_ID

+
@@ -1298,7 +1389,9 @@ Variables - + +

◆ ONLP_OID_PSU_VALIDATE_GET_ID_NR

+
@@ -1325,7 +1418,9 @@ Variables - + +

◆ ONLP_OID_PSU_VALIDATE_NR

+
@@ -1342,7 +1437,9 @@ Variables - + +

◆ ONLP_OID_SFP_VALIDATE

+
@@ -1359,7 +1456,9 @@ Variables - + +

◆ ONLP_OID_SFP_VALIDATE_GET_ID

+
@@ -1386,7 +1485,9 @@ Variables - + +

◆ ONLP_OID_SFP_VALIDATE_GET_ID_NR

+
@@ -1413,7 +1514,9 @@ Variables - + +

◆ ONLP_OID_SFP_VALIDATE_NR

+
@@ -1430,7 +1533,9 @@ Variables - + +

◆ ONLP_OID_STATUS_FLAG_CLR

+
@@ -1457,7 +1562,9 @@ Variables - + +

◆ ONLP_OID_STATUS_FLAG_GET_VALUE

+
@@ -1484,7 +1591,9 @@ Variables - + +

◆ ONLP_OID_STATUS_FLAG_IS_SET

+
@@ -1511,7 +1620,9 @@ Variables - + +

◆ ONLP_OID_STATUS_FLAG_NOT_SET

+
@@ -1538,7 +1649,9 @@ Variables - + +

◆ ONLP_OID_STATUS_FLAG_SET

+
@@ -1565,7 +1678,9 @@ Variables - + +

◆ ONLP_OID_STATUS_FLAG_SET_VALUE

+
@@ -1598,7 +1713,9 @@ Variables - + +

◆ ONLP_OID_STATUS_FLAG_VALID

+
@@ -1615,7 +1732,9 @@ Variables - + +

◆ ONLP_OID_STATUS_FLAGS_CLR

+
@@ -1632,7 +1751,9 @@ Variables - + +

◆ ONLP_OID_STATUS_FLAGS_GET

+
@@ -1649,7 +1770,9 @@ Variables - + +

◆ ONLP_OID_TABLE_CLEAR

+
@@ -1666,7 +1789,9 @@ Variables - + +

◆ ONLP_OID_TABLE_COPY

+
@@ -1693,7 +1818,9 @@ Variables - + +

◆ ONLP_OID_TABLE_ITER

+
@@ -1728,7 +1855,9 @@ Variables - + +

◆ ONLP_OID_TABLE_ITER_EXPR

+
@@ -1757,9 +1886,7 @@ Variables
-Value:
for(_oidp = _table; _oidp < (_table+ONLP_OID_TABLE_SIZE); _oidp++) \
-
if( (*_oidp) && (_expr) )
-
#define ONLP_OID_TABLE_SIZE
Definition: oids.h:271
+Value:
for(_oidp = _table; _oidp < (_table+ONLP_OID_TABLE_SIZE); _oidp++) \
if( (*_oidp) && (_expr) )
#define ONLP_OID_TABLE_SIZE
Definition: oids.h:271

Iterate over all OIDS in the given table that match the given expression.

Parameters
@@ -1773,7 +1900,9 @@ Variables
@@ -1815,7 +1944,9 @@ Variables - + +

◆ ONLP_OID_TABLE_SIZE

+
@@ -1828,7 +1959,9 @@ Variables - + +

◆ ONLP_OID_TABLE_SIZE_BYTES

+
@@ -1841,7 +1974,9 @@ Variables - + +

◆ ONLP_OID_THERMAL_ENTRY

+
@@ -1880,7 +2015,9 @@ Variables - + +

◆ ONLP_OID_THERMAL_VALIDATE

+
@@ -1897,7 +2034,9 @@ Variables - + +

◆ ONLP_OID_THERMAL_VALIDATE_GET_ID

+
@@ -1924,7 +2063,9 @@ Variables - + +

◆ ONLP_OID_THERMAL_VALIDATE_GET_ID_NR

+
@@ -1951,7 +2092,9 @@ Variables - + +

◆ ONLP_OID_THERMAL_VALIDATE_NR

+
@@ -1968,7 +2111,9 @@ Variables - + +

◆ ONLP_OID_TYPE_CREATE

+
@@ -1995,7 +2140,9 @@ Variables - + +

◆ ONLP_OID_TYPE_FLAG_VALID

+
@@ -2012,7 +2159,9 @@ Variables - + +

◆ ONLP_OID_TYPE_GET

+
@@ -2029,7 +2178,9 @@ Variables - + +

◆ ONLP_OID_TYPE_VALID

+
@@ -2046,7 +2197,9 @@ Variables - + +

◆ ONLP_OID_TYPE_VALIDATE

+
@@ -2069,17 +2222,14 @@ Variables
-Value:
do { \
-
if(!ONLP_OID_IS_TYPE(_type, _oid)) { \
-
return ONLP_STATUS_E_PARAM; \
-
} \
-
} while(0)
-
#define ONLP_OID_IS_TYPE(_type, _id)
Definition: oids.h:113
+Value:
do { \
if(!ONLP_OID_IS_TYPE(_type, _oid)) { \
return ONLP_STATUS_E_PARAM; \
} \
} while(0)
#define ONLP_OID_IS_TYPE(_type, _id)
Definition: oids.h:113

Return an error if the given OID is not of the given type

- + +

◆ ONLP_OID_TYPE_VALIDATE_GET_ID

+
@@ -2108,17 +2258,14 @@ Variables
-Value:
do { \
-
ONLP_OID_TYPE_VALIDATE(_type, _oid); \
-
_id = ONLP_OID_ID_GET(_oid); \
-
} while(0)
-
#define ONLP_OID_ID_GET(_id)
Definition: oids.h:115
-
#define ONLP_OID_TYPE_VALIDATE(_type, _oid)
Definition: oids.h:117
+Value:
do { \
ONLP_OID_TYPE_VALIDATE(_type, _oid); \
_id = ONLP_OID_ID_GET(_oid); \
} while(0)
#define ONLP_OID_ID_GET(_id)
Definition: oids.h:115

Validate that the given OID is of the given type and retreive the ID

- + +

◆ ONLP_OID_TYPE_VALIDATE_GET_ID_NR

+
@@ -2147,17 +2294,14 @@ Variables
-Value:
do { \
- -
_id = ONLP_OID_ID_GET(_oid); \
-
}
-
#define ONLP_OID_TYPE_VALIDATE_NR(_type, _oid)
Definition: oids.h:124
-
#define ONLP_OID_ID_GET(_id)
Definition: oids.h:115
+Value:
do { \
ONLP_OID_TYPE_VALIDATE_NR(_type, _oid); \
_id = ONLP_OID_ID_GET(_oid); \
}
#define ONLP_OID_ID_GET(_id)
Definition: oids.h:115

Validate that the given OID is of the given type and retreive the ID

- + +

◆ ONLP_OID_TYPE_VALIDATE_NR

+
@@ -2180,17 +2324,14 @@ Variables
-Value:
do { \
-
if(!ONLP_OID_IS_TYPE(_type, _oid)) { \
-
return; \
-
} \
-
} while(0)
-
#define ONLP_OID_IS_TYPE(_type, _id)
Definition: oids.h:113
+Value:
do { \
if(!ONLP_OID_IS_TYPE(_type, _oid)) { \
return; \
} \
} while(0)
#define ONLP_OID_IS_TYPE(_type, _id)
Definition: oids.h:113

Return if the given OID is not of the given type

- + +

◆ ONLP_PSU_ID_CREATE

+
@@ -2207,7 +2348,9 @@ Variables - + +

◆ ONLP_SFP_ID_CREATE

+
@@ -2224,7 +2367,9 @@ Variables - + +

◆ ONLP_THERMAL_ID_CREATE

+
@@ -2242,7 +2387,9 @@ Variables

Typedef Documentation

- + +

◆ onlp_oid_desc_t

+
@@ -2255,7 +2402,9 @@ Variables - + +

◆ onlp_oid_hdr_t

+
@@ -2268,7 +2417,9 @@ Variables - + +

◆ onlp_oid_id_t

+
@@ -2281,12 +2432,14 @@ Variables - + +

◆ onlp_oid_iterate_f

+
- +
typedef int(* onlp_oid_iterate_f)(onlp_oid_t oid, void *cookie)typedef int(* onlp_oid_iterate_f) (onlp_oid_t oid, void *cookie)
@@ -2294,7 +2447,9 @@ Variables
@@ -2307,7 +2462,9 @@ Variables - + +

◆ onlp_oid_status_flag_t

+
@@ -2320,7 +2477,9 @@ Variables - + +

◆ onlp_oid_status_flags_t

+
@@ -2333,7 +2492,9 @@ Variables - + +

◆ onlp_oid_t

+
@@ -2347,7 +2508,9 @@ Variables - + +

◆ onlp_oid_table_t

+
@@ -2360,7 +2523,9 @@ Variables - + +

◆ onlp_oid_type_flag_t

+
@@ -2373,7 +2538,9 @@ Variables - + +

◆ onlp_oid_type_flags_t

+
@@ -2386,7 +2553,9 @@ Variables - + +

◆ onlp_oid_type_t

+
@@ -2400,7 +2569,9 @@ Variables

Enumeration Type Documentation

- + +

◆ onlp_oid_json_flag_e

+
@@ -2410,10 +2581,13 @@ Variables

onlp_oid_json_flag

+
59  {
60  ONLP_OID_JSON_FLAG_RECURSIVE = (1 << 0),
61  ONLP_OID_JSON_FLAG_UNSUPPORTED_FIELDS = (1 << 1),
62  ONLP_OID_JSON_FLAG_TO_USER_JSON = (1 << 2),
enum onlp_oid_json_flag_e onlp_oid_json_flag_t
+
+
+
+ +

◆ onlp_oid_status_flag_e

- - -
@@ -2423,10 +2597,13 @@ Variables

onlp_oid_status_flag

+
66  {
67  ONLP_OID_STATUS_FLAG_PRESENT = (1 << 0),
68  ONLP_OID_STATUS_FLAG_FAILED = (1 << 1),
69  ONLP_OID_STATUS_FLAG_OPERATIONAL = (1 << 2),
70  ONLP_OID_STATUS_FLAG_UNPLUGGED = (1 << 3),
enum onlp_oid_status_flag_e onlp_oid_status_flag_t
+
+
+
+ +

◆ onlp_oid_type_e

- - -
@@ -2436,10 +2613,13 @@ Variables

onlp_oid_type

+
74  {
75  ONLP_OID_TYPE_CHASSIS = 1,
76  ONLP_OID_TYPE_MODULE = 2,
77  ONLP_OID_TYPE_THERMAL = 3,
78  ONLP_OID_TYPE_FAN = 4,
79  ONLP_OID_TYPE_PSU = 5,
80  ONLP_OID_TYPE_LED = 6,
81  ONLP_OID_TYPE_SFP = 7,
82  ONLP_OID_TYPE_GENERIC = 8,
enum onlp_oid_type_e onlp_oid_type_t
+
+
+
+ +

◆ onlp_oid_type_flag_e

- - -
@@ -2449,11 +2629,14 @@ Variables

onlp_oid_type_flag

- +
86  {
87  ONLP_OID_TYPE_FLAG_CHASSIS = (1 << 1),
88  ONLP_OID_TYPE_FLAG_MODULE = (1 << 2),
89  ONLP_OID_TYPE_FLAG_THERMAL = (1 << 3),
90  ONLP_OID_TYPE_FLAG_FAN = (1 << 4),
91  ONLP_OID_TYPE_FLAG_PSU = (1 << 5),
92  ONLP_OID_TYPE_FLAG_LED = (1 << 6),
93  ONLP_OID_TYPE_FLAG_SFP = (1 << 7),
94  ONLP_OID_TYPE_FLAG_GENERIC = (1 << 8),
enum onlp_oid_type_flag_e onlp_oid_type_flag_t
+

Function Documentation

- + +

◆ onlp_oid_from_json()

+
@@ -2502,7 +2685,9 @@ Variables - + +

◆ onlp_oid_get_all_free()

+
@@ -2526,7 +2711,9 @@ Variables - + +

◆ onlp_oid_hdr_from_json()

+
@@ -2561,7 +2748,9 @@ Variables - + +

◆ onlp_oid_hdr_get()

+
@@ -2596,7 +2785,9 @@ Variables - + +

◆ onlp_oid_hdr_get_all()

+
@@ -2645,7 +2836,9 @@ Variables - + +

◆ onlp_oid_hdr_to_json()

+
@@ -2687,7 +2880,9 @@ Variables - + +

◆ onlp_oid_info_get()

+
@@ -2722,7 +2917,9 @@ Variables - + +

◆ onlp_oid_info_get_all()

+
@@ -2771,7 +2968,9 @@ Variables - + +

◆ onlp_oid_info_to_json()

+
@@ -2813,7 +3012,9 @@ Variables - + +

◆ onlp_oid_iterate()

+
@@ -2832,7 +3033,7 @@ Variables - + @@ -2862,7 +3063,9 @@ Variables - + +

◆ onlp_oid_json_flag_desc()

+
onlp_oid_iterate_f onlp_oid_iterate_f  itf,
@@ -2879,7 +3082,9 @@ Variables - + +

◆ onlp_oid_json_flag_name()

+
@@ -2896,7 +3101,9 @@ Variables - + +

◆ onlp_oid_json_flag_valid()

+
@@ -2913,7 +3120,9 @@ Variables - + +

◆ onlp_oid_json_flag_value()

+
@@ -2946,7 +3155,9 @@ Variables - + +

◆ onlp_oid_json_verify()

+
@@ -2963,7 +3174,9 @@ Variables - + +

◆ onlp_oid_status_flag_desc()

+
@@ -2980,7 +3193,9 @@ Variables - + +

◆ onlp_oid_status_flag_name()

+
@@ -2997,7 +3212,9 @@ Variables - + +

◆ onlp_oid_status_flag_valid()

+
@@ -3014,7 +3231,9 @@ Variables - + +

◆ onlp_oid_status_flag_value()

+
@@ -3047,7 +3266,9 @@ Variables - + +

◆ onlp_oid_table_from_json()

+
@@ -3082,7 +3303,9 @@ Variables - + +

◆ onlp_oid_table_to_json()

+
@@ -3117,7 +3340,9 @@ Variables - + +

◆ onlp_oid_to_json()

+
@@ -3159,7 +3384,9 @@ Variables - + +

◆ onlp_oid_to_str()

+
@@ -3186,7 +3413,9 @@ Variables - + +

◆ onlp_oid_to_user_json()

+
@@ -3228,7 +3457,9 @@ Variables - + +

◆ onlp_oid_to_user_str()

+
@@ -3255,7 +3486,9 @@ Variables - + +

◆ onlp_oid_type_desc()

+
@@ -3272,7 +3505,9 @@ Variables - + +

◆ onlp_oid_type_flag_desc()

+
@@ -3289,7 +3524,9 @@ Variables - + +

◆ onlp_oid_type_flag_name()

+
@@ -3306,7 +3543,9 @@ Variables - + +

◆ onlp_oid_type_flag_valid()

+
@@ -3323,7 +3562,9 @@ Variables - + +

◆ onlp_oid_type_flag_value()

+
@@ -3356,7 +3597,9 @@ Variables - + +

◆ onlp_oid_type_name()

+
@@ -3373,7 +3616,9 @@ Variables - + +

◆ onlp_oid_type_valid()

+
@@ -3390,7 +3635,9 @@ Variables - + +

◆ onlp_oid_type_value()

+
@@ -3424,7 +3671,9 @@ Variables

Variable Documentation

- + +

◆ onlp_oid_json_flag_desc_map

+
@@ -3437,7 +3686,9 @@ Variables - + +

◆ onlp_oid_json_flag_map

+
@@ -3450,7 +3701,9 @@ Variables - + +

◆ onlp_oid_status_flag_desc_map

+
@@ -3463,7 +3716,9 @@ Variables - + +

◆ onlp_oid_status_flag_map

+
@@ -3476,7 +3731,9 @@ Variables - + +

◆ onlp_oid_type_desc_map

+
@@ -3489,7 +3746,9 @@ Variables - + +

◆ onlp_oid_type_flag_desc_map

+
@@ -3502,7 +3761,9 @@ Variables - + +

◆ onlp_oid_type_flag_map

+
@@ -3515,7 +3776,9 @@ Variables - + +

◆ onlp_oid_type_map

+
@@ -3531,9 +3794,9 @@ Variables diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__onlp-appication.html b/packages/base/any/onlp/src/onlp/doc/html/group__onlp-appication.html index 24860fbe..70721fd5 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__onlp-appication.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__onlp-appication.html @@ -3,16 +3,15 @@ - + +ONLP: ONLP Application Interfaces + - @@ -21,7 +20,7 @@
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + +
+
@@ -95,9 +79,9 @@ Modules
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + +
+
@@ -136,8 +120,7 @@ Macros
- +

Typedefs

typedef struct
-onlp_config_settings_s 
onlp_config_settings_t
typedef struct onlp_config_settings_s onlp_config_settings_t
 

@@ -156,7 +139,9 @@ Variables

Detailed Description

Macro Definition Documentation

- + +

◆ ONLP_CONFIG_API_LOCK_GLOBAL_SHARED

+
@@ -170,7 +155,9 @@ Variables - + +

◆ ONLP_CONFIG_API_LOCK_TIMEOUT

+
@@ -184,7 +171,9 @@ Variables - + +

◆ ONLP_CONFIG_CONFIGURATION_ENV

+
@@ -198,7 +187,9 @@ Variables - + +

◆ ONLP_CONFIG_CONFIGURATION_FILENAME

+
@@ -212,7 +203,9 @@ Variables - + +

◆ ONLP_CONFIG_INCLUDE_API_LOCK

+
@@ -226,7 +219,9 @@ Variables - + +

◆ ONLP_CONFIG_INCLUDE_API_PROFILING

+
@@ -240,7 +235,9 @@ Variables - + +

◆ ONLP_CONFIG_INCLUDE_LOGGING

+
@@ -254,7 +251,9 @@ Variables - + +

◆ ONLP_CONFIG_INCLUDE_PLATFORM_ERROR_CHECK

+
@@ -268,7 +267,9 @@ Variables - + +

◆ ONLP_CONFIG_INCLUDE_PLATFORM_OVERRIDES

+
@@ -282,7 +283,9 @@ Variables - + +

◆ ONLP_CONFIG_INCLUDE_SHLOCK_GLOBAL_INIT

+
@@ -296,7 +299,9 @@ Variables - + +

◆ ONLP_CONFIG_INCLUDE_THERMAL_THRESHOLDS

+
@@ -310,7 +315,9 @@ Variables - + +

◆ ONLP_CONFIG_INCLUDE_UCLI

+
@@ -324,7 +331,9 @@ Variables - + +

◆ ONLP_CONFIG_INFO_STR_MAX

+
@@ -338,7 +347,9 @@ Variables - + +

◆ ONLP_CONFIG_LOG_BITS_DEFAULT

+
@@ -352,7 +363,9 @@ Variables - + +

◆ ONLP_CONFIG_LOG_CUSTOM_BITS_DEFAULT

+
@@ -366,7 +379,9 @@ Variables - + +

◆ ONLP_CONFIG_LOG_OPTIONS_DEFAULT

+
@@ -380,7 +395,9 @@ Variables - + +

◆ ONLP_CONFIG_PLATFORM_FILENAME

+
@@ -394,7 +411,9 @@ Variables - + +

◆ ONLP_CONFIG_PLATFORM_NAME

+
@@ -408,7 +427,9 @@ Variables - + +

◆ ONLP_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS

+
@@ -422,7 +443,9 @@ Variables - + +

◆ ONLP_CONFIG_PORTING_STDLIB

+
@@ -437,7 +460,9 @@ Variables

Typedef Documentation

- + +

◆ onlp_config_settings_t

+
@@ -451,7 +476,9 @@ Variables

Function Documentation

- + +

◆ onlp_config_lookup()

+
@@ -475,7 +502,9 @@ Variables - + +

◆ onlp_config_show()

+
@@ -500,7 +529,9 @@ Variables

Variable Documentation

- + +

◆ onlp_config_settings

+
@@ -516,9 +547,9 @@ Variables diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__onlp-main.html b/packages/base/any/onlp/src/onlp/doc/html/group__onlp-main.html index 9339d1e7..3267acc2 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__onlp-main.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__onlp-main.html @@ -3,16 +3,15 @@ - + +ONLP: ONLP + - @@ -21,7 +20,7 @@
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + +
+
@@ -95,9 +79,9 @@ Modules
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + +
+
@@ -110,9 +94,9 @@ Modules
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + + +
@@ -82,9 +66,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__platform.html b/packages/base/any/onlp/src/onlp/doc/html/group__platform.html index 39d3d748..a44228ba 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__platform.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__platform.html @@ -3,16 +3,15 @@ - + + ONLP: Platform Initialization and Management + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + + +
@@ -84,11 +68,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - @@ -104,25 +88,27 @@ int  - - -

Functions

+
char * onlp_platform_name_get (void)
 Get the current ONL platform name.
 
+
int onlp_platform_sw_init (const char *platform)
 Platform software init.
 
int onlp_platform_manager_stop (int block)
 Stop the platform management thread. More...
 
+
int onlp_platform_manager_join (void)
 Join the platform management thread.
 
void onlp_platform_manager_manage (void)
 Perform any pending platform management activities. More...
 
+
void onlp_platform_manager_daemon (const char *name, const char *logfile, const char *pidfile, char **argv)
 Run in platform manager dameon mode.
 
+
int onlp_platform_debug (aim_pvs_t *pvs, int argc, char **argv)
 Call the platform debug hook.
 

Detailed Description

Function Documentation

- + +

◆ onlp_platform_hw_init()

+
@@ -146,7 +132,9 @@ int 
+ +

◆ onlp_platform_manager_manage()

+
@@ -165,7 +153,9 @@ int 
+ +

◆ onlp_platform_manager_start()

+
@@ -189,7 +179,9 @@ int 
+ +

◆ onlp_platform_manager_stop()

+
@@ -213,7 +205,9 @@ int 
+ +

◆ onlp_platform_sw_denit()

+
@@ -235,9 +229,9 @@ int  - @@ -109,7 +93,9 @@ int 
diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__platformi.html b/packages/base/any/onlp/src/onlp/doc/html/group__platformi.html index f1b93127..1ffa0a87 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__platformi.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__platformi.html @@ -3,16 +3,15 @@ - + + ONLP: platformi + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + + +
@@ -96,7 +80,7 @@ Functions
int onlp_platformi_hw_init (uint32_t flags)
 Platform module hardware initialization. More...
 
+
int onlp_platformi_manage_init (void)
 Initialize the platform manager features.
 

Detailed Description

Function Documentation

- + +

◆ onlp_platformi_get()

+
@@ -133,7 +119,9 @@ int 
+ +

◆ onlp_platformi_hw_init()

+
@@ -157,7 +145,9 @@ int 
+ +

◆ onlp_platformi_manage_fans()

+
@@ -176,7 +166,9 @@ int 
+ +

◆ onlp_platformi_manage_leds()

+
@@ -195,7 +187,9 @@ int 
+ +

◆ onlp_platformi_set()

+
@@ -219,7 +213,9 @@ int 
+ +

◆ onlp_platformi_sw_init()

+
@@ -241,9 +237,9 @@ int 
diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__psui.html b/packages/base/any/onlp/src/onlp/doc/html/group__psui.html index cab44ffc..95bbdae6 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__psui.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__psui.html @@ -3,16 +3,15 @@ - + + ONLP: psui + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + + +
@@ -85,13 +69,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - +

Macros

#define ONLP_CHASSIS_PSU_INFO_ENTRY_INIT(_id, _desc)
#define ONLP_CHASSIS_PSU_INFO_ENTRY_INIT(_id, _desc)
 Initialize a static PSU info structure. More...
 
- @@ -113,7 +97,9 @@ int 

Functions

+
int onlp_psui_sw_init (void)
 Software initialization of the PSU module.
 

Detailed Description

Macro Definition Documentation

- + +

◆ ONLP_CHASSIS_PSU_INFO_ENTRY_INIT

+
@@ -136,21 +122,16 @@ int 
-Value:
{ \
-
{ \
-
.id = _id, \
-
.description = _desc, \
-
-
}, \
-
}
-
#define ONLP_OID_CHASSIS
Definition: oids.h:260
+Value:
{ \
{ \
.id = _id, \
.description = _desc, \
.poid = ONLP_OID_CHASSIS, \
}, \
}
#define ONLP_OID_CHASSIS
Definition: oids.h:260

Initialize a static PSU info structure.

Function Documentation

- + +

◆ onlp_psui_hdr_get()

+
@@ -185,7 +166,9 @@ int 
+ +

◆ onlp_psui_hw_init()

+
@@ -209,7 +192,9 @@ int 
+ +

◆ onlp_psui_id_validate()

+
@@ -233,7 +218,9 @@ int 
+ +

◆ onlp_psui_info_get()

+
@@ -268,7 +255,9 @@ int 
+ +

◆ onlp_psui_sw_denit()

+
@@ -290,9 +279,9 @@ int 
diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__sfpi.html b/packages/base/any/onlp/src/onlp/doc/html/group__sfpi.html index df95dc79..d473c03c 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__sfpi.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__sfpi.html @@ -3,16 +3,15 @@ - + + ONLP: sfpi + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + + +
@@ -84,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - @@ -148,7 +132,9 @@ int 

Functions

+
int onlp_sfpi_sw_init (void)
 Software initialization of the SFP module.
 

Detailed Description

Function Documentation

- + +

◆ onlp_sfpi_bitmap_get()

+
@@ -172,7 +158,9 @@ int 
+ +

◆ onlp_sfpi_control_get()

+
@@ -214,7 +202,9 @@ int 
+ +

◆ onlp_sfpi_control_set()

+
@@ -256,7 +246,9 @@ int 
+ +

◆ onlp_sfpi_control_supported()

+
@@ -299,7 +291,9 @@ int 
+ +

◆ onlp_sfpi_dev_read()

+
@@ -356,7 +350,9 @@ int 
+ +

◆ onlp_sfpi_dev_readb()

+
@@ -399,7 +395,9 @@ int 
+ +

◆ onlp_sfpi_dev_readw()

+
@@ -442,7 +440,9 @@ int 
+ +

◆ onlp_sfpi_dev_write()

+
@@ -498,7 +498,9 @@ int 
+ +

◆ onlp_sfpi_dev_writeb()

+
@@ -547,7 +549,9 @@ int 
+ +

◆ onlp_sfpi_dev_writew()

+
@@ -596,7 +600,9 @@ int 
+ +

◆ onlp_sfpi_hdr_get()

+
@@ -631,7 +637,9 @@ int 
+ +

◆ onlp_sfpi_hw_init()

+
@@ -655,7 +663,9 @@ int 
+ +

◆ onlp_sfpi_is_present()

+
@@ -684,7 +694,9 @@ An error condition. - + +

◆ onlp_sfpi_port_map()

+
@@ -720,7 +732,9 @@ An error condition. - + +

◆ onlp_sfpi_post_insert()

+
@@ -756,7 +770,9 @@ An error condition. - + +

◆ onlp_sfpi_presence_bitmap_get()

+
@@ -780,7 +796,9 @@ An error condition. - + +

◆ onlp_sfpi_rx_los_bitmap_get()

+
@@ -804,7 +822,9 @@ An error condition. - + +

◆ onlp_sfpi_sw_denit()

+
@@ -823,7 +843,9 @@ An error condition. - + +

◆ onlp_sfpi_type_get()

+
@@ -861,9 +883,9 @@ An error condition. diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__stdattrs.html b/packages/base/any/onlp/src/onlp/doc/html/group__stdattrs.html index 3891a781..f9cd60cf 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__stdattrs.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__stdattrs.html @@ -3,16 +3,15 @@ - + +ONLP: Standard Attribute Structures + - @@ -21,7 +20,7 @@
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + +
+
@@ -92,22 +76,22 @@ Data Structures
-

Typedefs

+
typedef struct onlp_asset_info_s onlp_asset_info_t
 This structure describes general asset information that may be associated with a particular OID.
 
- - - @@ -116,9 +100,9 @@ int  diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__thermali.html b/packages/base/any/onlp/src/onlp/doc/html/group__thermali.html index ef31e0fe..eee99c63 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__thermali.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__thermali.html @@ -3,16 +3,15 @@ - + +ONLP: thermali + - @@ -21,7 +20,7 @@

Functions

+
int onlp_asset_info_show (onlp_asset_info_t *aip, aim_pvs_t *pvs)
 Show an asset structure.
 
+
int onlp_asset_info_free (onlp_asset_info_t *aip)
 Free an asset structure.
 
+
int onlp_asset_info_to_json (onlp_asset_info_t *aip, cJSON **rv)
 Asset info to JSON.
 
diff --git a/packages/base/any/onlp/src/onlp/doc/html/group__system-interfaces.html b/packages/base/any/onlp/src/onlp/doc/html/group__system-interfaces.html index 2ec5499c..e8b1906d 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/group__system-interfaces.html +++ b/packages/base/any/onlp/src/onlp/doc/html/group__system-interfaces.html @@ -3,16 +3,15 @@ - + + ONLP: General System Interfaces + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + + +
@@ -94,9 +78,9 @@ Modules
-
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + +
+
@@ -85,16 +69,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - + - + - +

Macros

#define ONLP_THERMAL_INFO_ENTRY_INIT(_id, _desc, _parent)
#define ONLP_THERMAL_INFO_ENTRY_INIT(_id, _desc, _parent)
 
#define ONLP_CHASSIS_THERMAL_INFO_ENTRY_INIT(_id, _desc)   ONLP_THERMAL_INFO_ENTRY_INIT(_id, _desc, ONLP_OID_CHASSIS)
#define ONLP_CHASSIS_THERMAL_INFO_ENTRY_INIT(_id, _desc)   ONLP_THERMAL_INFO_ENTRY_INIT(_id, _desc, ONLP_OID_CHASSIS)
 
#define ONLP_PSU_THERMAL_INFO_ENTRY_INIT(_id, _desc, _psu_id)   ONLP_THERMAL_INFO_ENTRY_INIT(_id, _desc, ONLP_PSU_ID_CREATE(_psu_id))
#define ONLP_PSU_THERMAL_INFO_ENTRY_INIT(_id, _desc, _psu_id)   ONLP_THERMAL_INFO_ENTRY_INIT(_id, _desc, ONLP_PSU_ID_CREATE(_psu_id))
 
- @@ -116,7 +100,9 @@ int 

Functions

+
int onlp_thermali_sw_init (void)
 Software initialization of the Thermal module.
 

Detailed Description

Macro Definition Documentation

- + +

◆ ONLP_CHASSIS_THERMAL_INFO_ENTRY_INIT

+
@@ -143,7 +129,9 @@ int 
+ +

◆ ONLP_PSU_THERMAL_INFO_ENTRY_INIT

+
@@ -176,7 +164,9 @@ int 
+ +

◆ ONLP_THERMAL_INFO_ENTRY_INIT

+
@@ -205,23 +195,16 @@ int 
-Value:
{ \
-
{ \
-
-
.description = _desc, \
-
.poid = ONLP_OID_CHASSIS, \
-
.status = ONLP_OID_STATUS_FLAG_PRESENT, \
-
}, \
-
.caps = ONLP_THERMAL_CAPS_GET_TEMPERATURE, \
-
}
-
#define ONLP_THERMAL_ID_CREATE(_id)
Definition: oids.h:153
+Value:
{ \
{ \
.id = ONLP_THERMAL_ID_CREATE(_id), \
.description = _desc, \
.poid = ONLP_OID_CHASSIS, \
.status = ONLP_OID_STATUS_FLAG_PRESENT, \
}, \
.caps = ONLP_THERMAL_CAPS_GET_TEMPERATURE, \
}
#define ONLP_THERMAL_ID_CREATE(_id)
Definition: oids.h:153
#define ONLP_OID_CHASSIS
Definition: oids.h:260

This macro should be used in your implementation to declare your static chassis thermal sensors.

Function Documentation

- + +

◆ onlp_thermali_hdr_get()

+
@@ -256,7 +239,9 @@ int 
+ +

◆ onlp_thermali_hw_init()

+
@@ -280,7 +265,9 @@ int 
+ +

◆ onlp_thermali_id_validate()

+
@@ -304,7 +291,9 @@ int 
+ +

◆ onlp_thermali_info_get()

+
@@ -339,7 +328,9 @@ int ",""],legend:[1,"
","
"],thead:[1,"
+ +

◆ onlp_thermali_sw_denit()

+
@@ -361,9 +352,9 @@ int ",""],legend:[1,"
","
"],thead:[1,"
diff --git a/packages/base/any/onlp/src/onlp/doc/html/index.html b/packages/base/any/onlp/src/onlp/doc/html/index.html index 938f7604..78e22636 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/index.html +++ b/packages/base/any/onlp/src/onlp/doc/html/index.html @@ -3,16 +3,15 @@ - + + ONLP: This is the main page. + - @@ -21,7 +20,7 @@ -
+
ONLP
Open Network Linux Platform APIs
@@ -31,41 +30,26 @@
- + - + + + + +
@@ -89,9 +73,9 @@ Section2
diff --git a/packages/base/any/onlp/src/onlp/doc/html/jquery.js b/packages/base/any/onlp/src/onlp/doc/html/jquery.js index 92dbb494..3f1abfb2 100644 --- a/packages/base/any/onlp/src/onlp/doc/html/jquery.js +++ b/packages/base/any/onlp/src/onlp/doc/html/jquery.js @@ -13,19 +13,75 @@ * * Date: Mon Nov 21 21:11:03 2011 -0500 */ -(function(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bb.jQuery,bH=bb.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b40){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bb.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bb.attachEvent("onload",bF.ready);var b0=false;try{b0=bb.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0&&typeof b0==="object"&&"setInterval" in b0},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){var b0,b1;try{if(bb.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bb.execScript||function(b1){bb["eval"].call(bb,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b40&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b21?aJ.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aJ.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv
a";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bM,bU,bV,bT,bN,bO,bL,bS,bR,e,bP,bQ=av.getElementsByTagName("body")[0];if(!bQ){return}bL=1;bS="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bR="visibility:hidden;border:0;";e="style='"+bS+"border:5px solid #000;padding:0;'";bP="
";bM=av.createElement("div");bM.style.cssText=bR+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bQ.insertBefore(bM,bQ.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="
t
";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="
";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bS+bR;bv.innerHTML=bP;bU=bv.firstChild;bV=bU.firstChild;bN=bU.nextSibling.firstChild.firstChild;bO={doesNotAddBorder:(bV.offsetTop!==5),doesAddBorderForTableAndCells:(bN.offsetTop===5)};bV.style.position="fixed";bV.style.top="20px";bO.fixedPosition=(bV.offsetTop===20||bV.offsetTop===15);bV.style.position=bV.style.top="";bU.style.overflow="hidden";bU.style.position="relative";bO.subtractsBorderForOverflowNotVisible=(bV.offsetTop===-5);bO.doesNotIncludeMarginInBodyOffset=(bQ.offsetTop!==bL);bQ.removeChild(bM);bv=bM=null;b.extend(bJ,bO)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aU,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType; -if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aY:be)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(bx,bz){var by,bA,bv,e,bw=0;if(bz&&bx.nodeType===1){bA=bz.toLowerCase().split(af);e=bA.length;for(;bw=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bb,bI])}}for(bC=0;bCbA){bH.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aO.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bf.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); +(function(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bb.jQuery,bH=bb.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b40){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bb.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bb.attachEvent("onload",bF.ready);var b0=false;try{b0=bb.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0&&typeof b0==="object"&&"setInterval" in b0},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){var b0,b1;try{if(bb.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bb.execScript||function(b1){bb["eval"].call(bb,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b40&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b21?aJ.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aJ.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv
a";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bM,bU,bV,bT,bN,bO,bL,bS,bR,e,bP,bQ=av.getElementsByTagName("body")[0];if(!bQ){return}bL=1;bS="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bR="visibility:hidden;border:0;";e="style='"+bS+"border:5px solid #000;padding:0;'";bP="
";bM=av.createElement("div");bM.style.cssText=bR+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bQ.insertBefore(bM,bQ.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="
t
";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="
";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bS+bR;bv.innerHTML=bP;bU=bv.firstChild;bV=bU.firstChild;bN=bU.nextSibling.firstChild.firstChild;bO={doesNotAddBorder:(bV.offsetTop!==5),doesAddBorderForTableAndCells:(bN.offsetTop===5)};bV.style.position="fixed";bV.style.top="20px";bO.fixedPosition=(bV.offsetTop===20||bV.offsetTop===15);bV.style.position=bV.style.top="";bU.style.overflow="hidden";bU.style.position="relative";bO.subtractsBorderForOverflowNotVisible=(bV.offsetTop===-5);bO.doesNotIncludeMarginInBodyOffset=(bQ.offsetTop!==bL);bQ.removeChild(bM);bv=bM=null;b.extend(bJ,bO)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aU,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType;if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aY:be)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(bx,bz){var by,bA,bv,e,bw=0;if(bz&&bx.nodeType===1){bA=bz.toLowerCase().split(af);e=bA.length;for(;bw=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bb,bI])}}for(bC=0;bCbA){bH.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aO.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bf.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); /* * Sizzle CSS Selector Engine * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. * More information: http://sizzlejs.com/ */ -(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1 -},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/
","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},ac=a(av); -ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
","
"]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1>");try{for(var bw=0,bv=this.length;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]===""&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length; -if(bA>0){if(bv!=="border"){for(;bx)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b -})}})(window); +(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/
",""],legend:[1,"
","
"],thead:[1,"
","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},ac=a(av);ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
","
"]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1>");try{for(var bw=0,bv=this.length;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]===""&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length;if(bA>0){if(bv!=="border"){for(;bx)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);/* + * jQuery UI 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI + */ +(function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function j(m,l,i,n){a.each(f,function(){l-=parseFloat(a.curCSS(m,"padding"+this,true))||0;if(i){l-=parseFloat(a.curCSS(m,"border"+this+"Width",true))||0}if(n){l-=parseFloat(a.curCSS(m,"margin"+this,true))||0}});return l}a.fn["inner"+e]=function(i){if(i===d){return k["inner"+e].call(this)}return this.each(function(){a(this).css(h,j(this,i)+"px")})};a.fn["outer"+e]=function(i,l){if(typeof i!=="number"){return k["outer"+e].call(this,i)}return this.each(function(){a(this).css(h,j(this,i,true,l)+"px")})}});function c(g,e){var j=g.nodeName.toLowerCase();if("area"===j){var i=g.parentNode,h=i.name,f;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"==j?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));f.offsetHeight;a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(e,g,f){var j=e.plugins[g];if(!j||!e.element[0].parentNode){return}for(var h=0;h0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(j,f,i,h,e,g){return a.ui.isOverAxis(j,i,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);/* + * jQuery UI Widget 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Widget + */ +(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,f,g){var j,i,h=this.options[e];g=g||{};f=b.Event(f);f.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f.target=this.element[0];i=f.originalEvent;if(i){for(j in i){if(!(j in f)){f[j]=i[j]}}}this.element.trigger(f,g);return !(b.isFunction(h)&&h.call(this.element[0],f,g)===false||f.isDefaultPrevented())}}})(jQuery);/* + * jQuery UI Mouse 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Mouse + * + * Depends: + * jquery.ui.widget.js + */ +(function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap(c('
').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g
');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(hl.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/* + * jQuery hashchange event - v1.3 - 7/21/2010 + * http://benalman.com/projects/jquery-hashchange-plugin/ + * + * Copyright (c) 2010 "Cowboy" Ben Alman + * Dual licensed under the MIT and GPL licenses. + * http://benalman.com/about/license/ + */ +(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$(' + + +
+
+
Data Structures
+
+
+
Here are the data structures with brief descriptions:
+
+ + + + +
 Conlp_onie_info_s
 Conlp_onie_vx_s
 Conlp_platform_info_s
 Conlplib_config_settings_s
+
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/bc_s.png b/packages/base/any/onlp/src/onlplib/doc/html/bc_s.png new file mode 100644 index 00000000..224b29aa Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/bc_s.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/bdwn.png b/packages/base/any/onlp/src/onlplib/doc/html/bdwn.png new file mode 100644 index 00000000..940a0b95 Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/bdwn.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/classes.html b/packages/base/any/onlp/src/onlplib/doc/html/classes.html new file mode 100644 index 00000000..42316e16 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/classes.html @@ -0,0 +1,106 @@ + + + + + + +onlplib: Data Structure Index + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + +
+ + + + +
+ +
+ +
+
+
Data Structure Index
+
+
+ + + + + + +
  o  
+
onlp_onie_vx_s   onlplib_config_settings_s   
onlp_platform_info_s   
onlp_onie_info_s   
+ +
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/closed.png b/packages/base/any/onlp/src/onlplib/doc/html/closed.png new file mode 100644 index 00000000..98cc2c90 Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/closed.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/crc32_8h_source.html b/packages/base/any/onlp/src/onlplib/doc/html/crc32_8h_source.html new file mode 100644 index 00000000..84dc7656 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/crc32_8h_source.html @@ -0,0 +1,132 @@ + + + + + + +onlplib: module/inc/onlplib/crc32.h Source File + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
crc32.h
+
+
+
1 /************************************************************
+
2  * <bsn.cl fy=2014 v=onl>
+
3  *
+
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
+
5  *
+
6  * Licensed under the Eclipse Public License, Version 1.0 (the
+
7  * "License"); you may not use this file except in compliance
+
8  * with the License. You may obtain a copy of the License at
+
9  *
+
10  * http://www.eclipse.org/legal/epl-v10.html
+
11  *
+
12  * Unless required by applicable law or agreed to in writing,
+
13  * software distributed under the License is distributed on an
+
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+
15  * either express or implied. See the License for the specific
+
16  * language governing permissions and limitations under the
+
17  * License.
+
18  *
+
19  * </bsn.cl>
+
20  ************************************************************
+
21  *
+
22  * CRC32 Calculations
+
23  *
+
24  ***********************************************************/
+
25 #ifndef __ONLP_CRC32_H__
+
26 #define __ONLP_CRC32_H__
+
27 
+
28 #include <stdint.h>
+
29 
+
38 uint32_t onlp_crc32(uint32_t crc, const void *buf, int size);
+
39 
+
40 #endif /* __ONLP_CRC32_H__ */
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/dir_3dea1d56c0092d428197e14273c6b711.html b/packages/base/any/onlp/src/onlplib/doc/html/dir_3dea1d56c0092d428197e14273c6b711.html new file mode 100644 index 00000000..33a96aeb --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/dir_3dea1d56c0092d428197e14273c6b711.html @@ -0,0 +1,130 @@ + + + + + + +onlplib: module/inc/onlplib Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + +
+ +
+ + +
+
+
+
onlplib Directory Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

file  crc32.h [code]
 
file  file.h [code]
 
file  file_uds.h [code]
 
file  gpio.h [code]
 
file  i2c.h [code]
 
file  mmap.h [code]
 
file  onie.h [code]
 
file  onlplib_config.h [code]
 onlplib Configuration Header
 
file  onlplib_dox.h [code]
 
file  onlplib_porting.h [code]
 onlplib Porting Macros.
 
file  pi.h [code]
 
file  sfp.h [code]
 
file  shlocks.h [code]
 
file  thermal.h [code]
 
file  util.h [code]
 
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/dir_9b91cb305f6dfd5edb8153d5019adc55.html b/packages/base/any/onlp/src/onlplib/doc/html/dir_9b91cb305f6dfd5edb8153d5019adc55.html new file mode 100644 index 00000000..fcaa73ff --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/dir_9b91cb305f6dfd5edb8153d5019adc55.html @@ -0,0 +1,100 @@ + + + + + + +onlplib: module/inc Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + +
+ +
+ + +
+
+
+
inc Directory Reference
+
+
+ + + + +

+Directories

directory  onlplib
 
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/dir_a7b0466279106ea0b8f86f609f621680.html b/packages/base/any/onlp/src/onlplib/doc/html/dir_a7b0466279106ea0b8f86f609f621680.html new file mode 100644 index 00000000..9f83ac4b --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/dir_a7b0466279106ea0b8f86f609f621680.html @@ -0,0 +1,100 @@ + + + + + + +onlplib: module Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + +
+ +
+ + +
+
+
+
module Directory Reference
+
+
+ + + + +

+Directories

directory  inc
 
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/doxygen.css b/packages/base/any/onlp/src/onlplib/doc/html/doxygen.css new file mode 100644 index 00000000..02e8b015 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/doxygen.css @@ -0,0 +1,1440 @@ +/* The standard CSS for doxygen 1.8.8 */ + +body, table, div, p, dl { + font: 400 14px/22px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1.groupheader { + font-size: 150%; +} + +.title { + font: 400 14px/28px Roboto,sans-serif; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2.groupheader { + border-bottom: 1px solid #879ECB; + color: #354C7B; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +dt { + font-weight: bold; +} + +div.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; +} + +p.startli, p.startdd { + margin-top: 2px; +} + +p.starttd { + margin-top: 0px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.qindex, div.navtab{ + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #9CAFD4; + color: #ffffff; + border: 1px double #869DCA; +} + +.contents a.qindexHL:visited { + color: #ffffff; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited, a.line, a.line:visited { + color: #4665A2; +} + +a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 4px 6px; + margin: 4px 8px 4px 2px; + background-color: #FBFCFD; + border: 1px solid #C4CFE5; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +div.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +blockquote { + background-color: #F7F8FB; + border-left: 2px solid #9CAFD4; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memSeparator { + border-bottom: 1px solid #DEE4F0; + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight { + width: 100%; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: bold; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + border-top-left-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + -moz-border-radius-topleft: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + -webkit-border-top-left-radius: 4px; + +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 10px 2px 10px; + background-color: #FBFCFD; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFFFF; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #728DC1; + border-top:1px solid #5373B4; + border-left:1px solid #5373B4; + border-right:1px solid #C4CFE5; + border-bottom:1px solid #C4CFE5; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view inside a (index) page */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #9CAFD4; + border-bottom: 1px solid #9CAFD4; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F7F8FB; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #3D578C; +} + +.arrow { + color: #9CAFD4; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + font-size: 80%; + display: inline-block; + width: 16px; + height: 22px; +} + +.icon { + font-family: Arial, Helvetica; + font-weight: bold; + font-size: 12px; + height: 14px; + width: 16px; + display: inline-block; + background-color: #728DC1; + color: white; + text-align: center; + border-radius: 4px; + margin-left: 2px; + margin-right: 2px; +} + +.icona { + width: 24px; + height: 22px; + display: inline-block; +} + +.iconfopen { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('ftv2folderopen.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.iconfclosed { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('ftv2folderclosed.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.icondoc { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('ftv2doc.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +table.directory { + font: 400 14px Roboto,sans-serif; +} + +/* @end */ + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + /*width: 100%;*/ + margin-bottom: 10px; + border: 1px solid #A8B8D9; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #A8B8D9; + /*width: 100%;*/ +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + font-size: 90%; + color: #253555; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #A8B8D9; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: #283A5D; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color:#6884BD; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#364D7C; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +dl +{ + padding: 0 0 0 10px; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ +dl.section +{ + margin-left: 0px; + padding-left: 0px; +} + +dl.note +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00D000; +} + +dl.deprecated +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #505050; +} + +dl.todo +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00C0E0; +} + +dl.test +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #3030E0; +} + +dl.bug +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectname +{ + font: 300% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 120% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #5373B4; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.diagraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #90A5CE; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#334975; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; +} + +dl.citelist dd { + margin:2px 0; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F4F6FA; + border: 1px solid #D8DFEE; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 20px 10px 10px; + width: 200px; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #4665A2; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +/* tooltip related style info */ + +.ttc { + position: absolute; + display: none; +} + +#powerTip { + cursor: default; + white-space: nowrap; + background-color: white; + border: 1px solid gray; + border-radius: 4px 4px 4px 4px; + box-shadow: 1px 1px 7px gray; + display: none; + font-size: smaller; + max-width: 80%; + opacity: 0.9; + padding: 1ex 1em 1em; + position: absolute; + z-index: 2147483647; +} + +#powerTip div.ttdoc { + color: grey; + font-style: italic; +} + +#powerTip div.ttname a { + font-weight: bold; +} + +#powerTip div.ttname { + font-weight: bold; +} + +#powerTip div.ttdeci { + color: #006318; +} + +#powerTip div { + margin: 0px; + padding: 0px; + font: 12px/16px Roboto,sans-serif; +} + +#powerTip:before, #powerTip:after { + content: ""; + position: absolute; + margin: 0px; +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.s:after, #powerTip.s:before, +#powerTip.w:after, #powerTip.w:before, +#powerTip.e:after, #powerTip.e:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.nw:after, #powerTip.nw:before, +#powerTip.sw:after, #powerTip.sw:before { + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; +} + +#powerTip.n:after, #powerTip.s:after, +#powerTip.w:after, #powerTip.e:after, +#powerTip.nw:after, #powerTip.ne:after, +#powerTip.sw:after, #powerTip.se:after { + border-color: rgba(255, 255, 255, 0); +} + +#powerTip.n:before, #powerTip.s:before, +#powerTip.w:before, #powerTip.e:before, +#powerTip.nw:before, #powerTip.ne:before, +#powerTip.sw:before, #powerTip.se:before { + border-color: rgba(128, 128, 128, 0); +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.nw:after, #powerTip.nw:before { + top: 100%; +} + +#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { + border-top-color: #ffffff; + border-width: 10px; + margin: 0px -10px; +} +#powerTip.n:before { + border-top-color: #808080; + border-width: 11px; + margin: 0px -11px; +} +#powerTip.n:after, #powerTip.n:before { + left: 50%; +} + +#powerTip.nw:after, #powerTip.nw:before { + right: 14px; +} + +#powerTip.ne:after, #powerTip.ne:before { + left: 14px; +} + +#powerTip.s:after, #powerTip.s:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.sw:after, #powerTip.sw:before { + bottom: 100%; +} + +#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { + border-bottom-color: #ffffff; + border-width: 10px; + margin: 0px -10px; +} + +#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { + border-bottom-color: #808080; + border-width: 11px; + margin: 0px -11px; +} + +#powerTip.s:after, #powerTip.s:before { + left: 50%; +} + +#powerTip.sw:after, #powerTip.sw:before { + right: 14px; +} + +#powerTip.se:after, #powerTip.se:before { + left: 14px; +} + +#powerTip.e:after, #powerTip.e:before { + left: 100%; +} +#powerTip.e:after { + border-left-color: #ffffff; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.e:before { + border-left-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +#powerTip.w:after, #powerTip.w:before { + right: 100%; +} +#powerTip.w:after { + border-right-color: #ffffff; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.w:before { + border-right-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/doxygen.png b/packages/base/any/onlp/src/onlplib/doc/html/doxygen.png new file mode 100644 index 00000000..3ff17d80 Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/doxygen.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/dynsections.js b/packages/base/any/onlp/src/onlplib/doc/html/dynsections.js new file mode 100644 index 00000000..85e18369 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/dynsections.js @@ -0,0 +1,97 @@ +function toggleVisibility(linkObj) +{ + var base = $(linkObj).attr('id'); + var summary = $('#'+base+'-summary'); + var content = $('#'+base+'-content'); + var trigger = $('#'+base+'-trigger'); + var src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; +} + +function updateStripes() +{ + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); +} + +function toggleLevel(level) +{ + $('table.directory tr').each(function() { + var l = this.id.split('_').length-1; + var i = $('#img'+this.id.substring(3)); + var a = $('#arr'+this.id.substring(3)); + if (l + + + + + +onlplib: module/inc/onlplib/file.h Source File + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
file.h
+
+
+
1 /************************************************************
+
2  * <bsn.cl fy=2014 v=onl>
+
3  *
+
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
+
5  *
+
6  * Licensed under the Eclipse Public License, Version 1.0 (the
+
7  * "License"); you may not use this file except in compliance
+
8  * with the License. You may obtain a copy of the License at
+
9  *
+
10  * http://www.eclipse.org/legal/epl-v10.html
+
11  *
+
12  * Unless required by applicable law or agreed to in writing,
+
13  * software distributed under the License is distributed on an
+
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+
15  * either express or implied. See the License for the specific
+
16  * language governing permissions and limitations under the
+
17  * License.
+
18  *
+
19  * </bsn.cl>
+
20  ************************************************************
+
21  *
+
22  *
+
23  *
+
24  ***********************************************************/
+
25 #ifndef __ONLPLIB_FILE_H__
+
26 #define __ONLPLIB_FILE_H__
+
27 
+
28 #include <onlplib/onlplib_config.h>
+
29 
+
35 int onlp_file_vsize(const char* fmt, va_list vargs);
+
36 
+
42 int onlp_file_size(const char* fmt, ...);
+
43 
+
52 int onlp_file_vread(uint8_t* data, int max, int* len, const char* fmt, va_list vargs);
+
53 
+
62 int onlp_file_read(uint8_t* data, int max, int* len, const char* fmt, ...);
+
63 
+
64 
+
71 int onlp_file_vread_all(uint8_t** data, const char* fmt, va_list vargs);
+
72 
+
79 int onlp_file_read_all(uint8_t** data, const char* fmt, ...);
+
80 
+
89 int onlp_file_vread_str(char** str, const char* fmt, va_list vargs);
+
90 
+
99 int onlp_file_read_str(char** str, const char* fmt, ...);
+
100 
+
111 int onlp_file_vread_str_dst(char* dst, int size, const char* fmt, va_list vargs);
+
112 
+
123 int onlp_file_read_str_dst(char* dst, int size, const char* fmt, ...);
+
124 
+
131 int onlp_file_vread_int(int* value, const char* fmt, va_list vargs);
+
132 
+
139 int onlp_file_read_int(int* value, const char* fmt, ...);
+
140 
+
146 int onlp_file_read_int_max(int* value, char** files);
+
147 
+
148 
+
155 int onlp_file_join_files(char** rv, const char* string, char** files);
+
156 
+
164 int onlp_file_vwrite(uint8_t* data, int len, const char* fmt, va_list vargs);
+
165 
+
173 int onlp_file_write(uint8_t* data, int len, const char* fmt, ...);
+
174 
+
175 
+
182 int onlp_file_vwrite_str(const char* str, const char* fmt, va_list vargs);
+
183 
+
184 
+
191 int onlp_file_write_str(const char* str, const char* fmt, ...);
+
192 
+
199 int onlp_file_vwrite_int(int value, const char* fmt, va_list vargs);
+
200 
+
207 int onlp_file_write_int(int value, const char* fmt, ...);
+
208 
+
209 
+
216 int onlp_file_open(int flags, int log, const char* fmt, ...);
+
217 
+
218 
+
225 int onlp_file_vopen(int flags, int log, const char* fmt, va_list vargs);
+
226 
+
227 
+
231 int onlp_file_find(char* root, char* fname, char** rpath);
+
232 
+
233 #endif /* __ONLPLIB_FILE_H__ */
+
onlplib Configuration Header
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/file__uds_8h_source.html b/packages/base/any/onlp/src/onlplib/doc/html/file__uds_8h_source.html new file mode 100644 index 00000000..31e0334d --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/file__uds_8h_source.html @@ -0,0 +1,180 @@ + + + + + + +onlplib: module/inc/onlplib/file_uds.h Source File + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
file_uds.h
+
+
+
1 /************************************************************
+
2  * <bsn.cl fy=2017 v=onl>
+
3  *
+
4  * Copyright 2017 Big Switch Networks, Inc.
+
5  *
+
6  * Licensed under the Eclipse Public License, Version 1.0 (the
+
7  * "License"); you may not use this file except in compliance
+
8  * with the License. You may obtain a copy of the License at
+
9  *
+
10  * http://www.eclipse.org/legal/epl-v10.html
+
11  *
+
12  * Unless required by applicable law or agreed to in writing,
+
13  * software distributed under the License is distributed on an
+
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+
15  * either express or implied. See the License for the specific
+
16  * language governing permissions and limitations under the
+
17  * License.
+
18  *
+
19  * </bsn.cl>
+
20  ************************************************************
+
21  *
+
22  * This module provides a domain socket registration and handling
+
23  * service.
+
24  *
+
25  * Clients register a filesystem path they wish to publish
+
26  * as a domain socket their handlers are called when
+
27  * the domain socket is accessed.
+
28  *
+
29  * Some ONLP data can only be retreived by accessing another process
+
30  * Which cannot be part of the ONLP layer itself for various reasons.
+
31  *
+
32  * The ONLP File APIs support unix domain sockets for all operations
+
33  * as if they were regular files. This module provides a common
+
34  * framework for clients to implement the server side of the
+
35  * domain socket as well.
+
36  *
+
37  * Some examples of how this is used:
+
38  * - Reporting the switch internal thermal temperature
+
39  * - This can only be accessed by the code managing the switch.
+
40  * - In this case the switch management agent exports a domain socket
+
41  * that reports the temperature when the socket is read and the
+
42  * thermali implementation uses that domain socket to satisfy
+
43  * the request for the OID.
+
44  *
+
45  * - SFP Access through the switch
+
46  * - Some platforms implement SFP I2C access through a bus connected
+
47  * to the switch itself.
+
48  * - Only the agent running the switch can access the SFP eeproms.
+
49  * - In this case the strategy is for the switch agent to export domain
+
50  * sockets for each SFP which can be used to read the SFP status/eeprom
+
51  * etc. The SFPI interface then reads these domain sockets to get the
+
52  * required information.
+
53  *
+
54  * Standardizing on this method allows all system ONLP clients to access
+
55  * all data, even if that data is present only in seperate processes.
+
56  *
+
57  *
+
58  ***********************************************************/
+
59 #ifndef __ONLPLIB_FILE_UDS_H__
+
60 #define __ONLPLIB_FILE_UDS_H__
+
61 
+
62 #include <onlplib/onlplib_config.h>
+
63 
+
67 typedef struct onlp_file_uds_s onlp_file_uds_t;
+
68 
+
69 
+
74 int onlp_file_uds_create(onlp_file_uds_t** fuds);
+
75 
+
82 typedef int (*onlp_file_uds_handler_t)(int fd, void* cookie);
+
83 
+
91 int onlp_file_uds_add(onlp_file_uds_t* fuds,
+
92  const char* path,
+
93  onlp_file_uds_handler_t handler, void* cookie);
+
94 
+
100 void onlp_file_uds_remove(onlp_file_uds_t* fuds, const char* path);
+
101 
+
107 void onlp_file_uds_destroy(onlp_file_uds_t* fuds);
+
108 
+
109 #endif /* __ONLPLIB_FILE_UDS_H__ */
+
onlplib Configuration Header
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/files.html b/packages/base/any/onlp/src/onlplib/doc/html/files.html new file mode 100644 index 00000000..307c8235 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/files.html @@ -0,0 +1,118 @@ + + + + + + +onlplib: File List + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + +
+ + + + +
+ +
+ +
+
+
File List
+
+
+
Here is a list of all documented files with brief descriptions:
+
[detail level 1234]
+ + + + + + + + + + + + + + + + + + +
  module
  inc
  onlplib
 crc32.h
 file.h
 file_uds.h
 gpio.h
 i2c.h
 mmap.h
 onie.h
 onlplib_config.hOnlplib Configuration Header
 onlplib_dox.h
 onlplib_porting.hOnlplib Porting Macros
 pi.h
 sfp.h
 shlocks.h
 thermal.h
 util.h
+
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/ftv2blank.png b/packages/base/any/onlp/src/onlplib/doc/html/ftv2blank.png new file mode 100644 index 00000000..63c605bb Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/ftv2blank.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/ftv2doc.png b/packages/base/any/onlp/src/onlplib/doc/html/ftv2doc.png new file mode 100644 index 00000000..17edabff Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/ftv2doc.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/ftv2folderclosed.png b/packages/base/any/onlp/src/onlplib/doc/html/ftv2folderclosed.png new file mode 100644 index 00000000..bb8ab35e Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/ftv2folderclosed.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/ftv2folderopen.png b/packages/base/any/onlp/src/onlplib/doc/html/ftv2folderopen.png new file mode 100644 index 00000000..d6c7f676 Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/ftv2folderopen.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/ftv2lastnode.png b/packages/base/any/onlp/src/onlplib/doc/html/ftv2lastnode.png new file mode 100644 index 00000000..63c605bb Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/ftv2lastnode.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/ftv2link.png b/packages/base/any/onlp/src/onlplib/doc/html/ftv2link.png new file mode 100644 index 00000000..17edabff Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/ftv2link.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/ftv2mlastnode.png b/packages/base/any/onlp/src/onlplib/doc/html/ftv2mlastnode.png new file mode 100644 index 00000000..0b63f6d3 Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/ftv2mlastnode.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/ftv2mnode.png b/packages/base/any/onlp/src/onlplib/doc/html/ftv2mnode.png new file mode 100644 index 00000000..0b63f6d3 Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/ftv2mnode.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/ftv2node.png b/packages/base/any/onlp/src/onlplib/doc/html/ftv2node.png new file mode 100644 index 00000000..63c605bb Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/ftv2node.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/ftv2plastnode.png b/packages/base/any/onlp/src/onlplib/doc/html/ftv2plastnode.png new file mode 100644 index 00000000..c6ee22f9 Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/ftv2plastnode.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/ftv2pnode.png b/packages/base/any/onlp/src/onlplib/doc/html/ftv2pnode.png new file mode 100644 index 00000000..c6ee22f9 Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/ftv2pnode.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/ftv2splitbar.png b/packages/base/any/onlp/src/onlplib/doc/html/ftv2splitbar.png new file mode 100644 index 00000000..fe895f2c Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/ftv2splitbar.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/ftv2vertline.png b/packages/base/any/onlp/src/onlplib/doc/html/ftv2vertline.png new file mode 100644 index 00000000..63c605bb Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/ftv2vertline.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/functions.html b/packages/base/any/onlp/src/onlplib/doc/html/functions.html new file mode 100644 index 00000000..4302c9c7 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/functions.html @@ -0,0 +1,116 @@ + + + + + + +onlplib: Data Fields + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + +
+ + + + +
+ +
+ +
+
Here is a list of all documented struct and union fields with links to the struct/union documentation for each field:
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/functions_vars.html b/packages/base/any/onlp/src/onlplib/doc/html/functions_vars.html new file mode 100644 index 00000000..780c1935 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/functions_vars.html @@ -0,0 +1,116 @@ + + + + + + +onlplib: Data Fields - Variables + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + +
+ + + + +
+ +
+ +
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/globals.html b/packages/base/any/onlp/src/onlplib/doc/html/globals.html new file mode 100644 index 00000000..099cb1f7 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/globals.html @@ -0,0 +1,148 @@ + + + + + + +onlplib: Globals + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + +
+ + + + +
+ +
+ +
+
Here is a list of all documented functions, variables, defines, enums, and typedefs with links to the documentation:
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/globals_defs.html b/packages/base/any/onlp/src/onlplib/doc/html/globals_defs.html new file mode 100644 index 00000000..d1a02f60 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/globals_defs.html @@ -0,0 +1,136 @@ + + + + + + +onlplib: Globals + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + +
+ + + + +
+ +
+ +
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/globals_func.html b/packages/base/any/onlp/src/onlplib/doc/html/globals_func.html new file mode 100644 index 00000000..48d05905 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/globals_func.html @@ -0,0 +1,109 @@ + + + + + + +onlplib: Globals + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + +
+ + + + +
+ +
+ +
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/globals_type.html b/packages/base/any/onlp/src/onlplib/doc/html/globals_type.html new file mode 100644 index 00000000..eaf336c9 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/globals_type.html @@ -0,0 +1,106 @@ + + + + + + +onlplib: Globals + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + +
+ + + + +
+ +
+ +
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/globals_vars.html b/packages/base/any/onlp/src/onlplib/doc/html/globals_vars.html new file mode 100644 index 00000000..f8134bf1 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/globals_vars.html @@ -0,0 +1,106 @@ + + + + + + +onlplib: Globals + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + +
+ + + + +
+ +
+ +
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/gpio_8h_source.html b/packages/base/any/onlp/src/onlplib/doc/html/gpio_8h_source.html new file mode 100644 index 00000000..3cf634a4 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/gpio_8h_source.html @@ -0,0 +1,146 @@ + + + + + + +onlplib: module/inc/onlplib/gpio.h Source File + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
gpio.h
+
+
+
1 /************************************************************
+
2  * <bsn.cl fy=2014 v=onl>
+
3  *
+
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
+
5  *
+
6  * Licensed under the Eclipse Public License, Version 1.0 (the
+
7  * "License"); you may not use this file except in compliance
+
8  * with the License. You may obtain a copy of the License at
+
9  *
+
10  * http://www.eclipse.org/legal/epl-v10.html
+
11  *
+
12  * Unless required by applicable law or agreed to in writing,
+
13  * software distributed under the License is distributed on an
+
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+
15  * either express or implied. See the License for the specific
+
16  * language governing permissions and limitations under the
+
17  * License.
+
18  *
+
19  * </bsn.cl>
+
20  ************************************************************
+
21  *
+
22  *
+
23  *
+
24  ***********************************************************/
+
25 #ifndef __ONLP_GPIO_H__
+
26 #define __ONLP_GPIO_H__
+
27 
+
28 #include <onlplib/onlplib_config.h>
+
29 
+
30 typedef enum onlp_gpio_direction_e {
+
31  ONLP_GPIO_DIRECTION_NONE,
+
32  ONLP_GPIO_DIRECTION_IN,
+
33  ONLP_GPIO_DIRECTION_OUT,
+
34  ONLP_GPIO_DIRECTION_LOW,
+
35  ONLP_GPIO_DIRECTION_HIGH,
+
36 } onlp_gpio_direction_t;
+
37 
+
43 int onlp_gpio_export(int gpio, onlp_gpio_direction_t dir);
+
44 
+
51 int onlp_gpio_set(int gpio, int v);
+
52 
+
58 int onlp_gpio_get(int gpio, int* rv);
+
59 
+
60 
+
61 #endif /* __ONLP_GPIO_H__ */
+
onlplib Configuration Header
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/group__onlplib-config.html b/packages/base/any/onlp/src/onlplib/doc/html/group__onlplib-config.html new file mode 100644 index 00000000..d04fbdc1 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/group__onlplib-config.html @@ -0,0 +1,380 @@ + + + + + + +onlplib: Compile Time Configuration + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + +
+ + + + +
+ +
+ +
+ +
+
Compile Time Configuration
+
+
+ + + + +

+Data Structures

struct  onlplib_config_settings_s
 
+ + + + + + + + + + + + + + + + + + + + + + + +

+Macros

#define ONLPLIB_CONFIG_INCLUDE_LOGGING   1
 
#define ONLPLIB_CONFIG_LOG_OPTIONS_DEFAULT   AIM_LOG_OPTIONS_DEFAULT
 
#define ONLPLIB_CONFIG_LOG_BITS_DEFAULT   AIM_LOG_BITS_DEFAULT
 
#define ONLPLIB_CONFIG_LOG_CUSTOM_BITS_DEFAULT   0
 
#define ONLPLIB_CONFIG_PORTING_STDLIB   1
 
#define ONLPLIB_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS   ONLPLIB_CONFIG_PORTING_STDLIB
 
#define ONLPLIB_CONFIG_INCLUDE_UCLI   0
 
#define ONLPLIB_CONFIG_INCLUDE_I2C   1
 
#define ONLPLIB_CONFIG_I2C_BLOCK_SIZE   32
 
#define ONLPLIB_CONFIG_I2C_READ_RETRY_COUNT   16
 
#define ONLPLIB_CONFIG_I2C_USE_CUSTOM_HEADER   1
 
+ + + +

+Typedefs

typedef struct
+onlplib_config_settings_s 
onlplib_config_settings_t
 
+ + + + + + + +

+Functions

const char * onlplib_config_lookup (const char *setting)
 Lookup a configuration setting. More...
 
int onlplib_config_show (struct aim_pvs_s *pvs)
 Show the compile-time configuration. More...
 
+ + + +

+Variables

onlplib_config_settings_t onlplib_config_settings []
 
+

Detailed Description

+

Macro Definition Documentation

+ +
+
+ + + + +
#define ONLPLIB_CONFIG_I2C_BLOCK_SIZE   32
+
+

ONLPLIB_CONFIG_I2C_BLOCK_SIZE

+

Maximum read and write block size.

+ +
+
+ +
+
+ + + + +
#define ONLPLIB_CONFIG_I2C_READ_RETRY_COUNT   16
+
+

ONLPLIB_CONFIG_I2C_READ_RETRY_COUNT

+

The number of I2C read retry attempts (if enabled).

+ +
+
+ +
+
+ + + + +
#define ONLPLIB_CONFIG_I2C_USE_CUSTOM_HEADER   1
+
+

ONLPLIB_CONFIG_I2C_USE_CUSTOM_HEADER

+

Include the custom i2c header (include/linux/i2c-devices.h) to avoid conflicts with the kernel and i2c-dev packages.

+ +
+
+ +
+
+ + + + +
#define ONLPLIB_CONFIG_INCLUDE_I2C   1
+
+

ONLPLIB_CONFIG_INCLUDE_I2C

+

Include Userspace I2C support.

+ +
+
+ +
+
+ + + + +
#define ONLPLIB_CONFIG_INCLUDE_LOGGING   1
+
+

ONLPLIB_CONFIG_INCLUDE_LOGGING

+

Include or exclude logging.

+ +
+
+ +
+
+ + + + +
#define ONLPLIB_CONFIG_INCLUDE_UCLI   0
+
+

ONLPLIB_CONFIG_INCLUDE_UCLI

+

Include generic uCli support.

+ +
+
+ +
+
+ + + + +
#define ONLPLIB_CONFIG_LOG_BITS_DEFAULT   AIM_LOG_BITS_DEFAULT
+
+

ONLPLIB_CONFIG_LOG_BITS_DEFAULT

+

Default enabled log bits.

+ +
+
+ +
+
+ + + + +
#define ONLPLIB_CONFIG_LOG_CUSTOM_BITS_DEFAULT   0
+
+

ONLPLIB_CONFIG_LOG_CUSTOM_BITS_DEFAULT

+

Default enabled custom log bits.

+ +
+
+ +
+
+ + + + +
#define ONLPLIB_CONFIG_LOG_OPTIONS_DEFAULT   AIM_LOG_OPTIONS_DEFAULT
+
+

ONLPLIB_CONFIG_LOG_OPTIONS_DEFAULT

+

Default enabled log options.

+ +
+
+ +
+
+ + + + +
#define ONLPLIB_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS   ONLPLIB_CONFIG_PORTING_STDLIB
+
+

ONLPLIB_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS

+

Include standard library headers for stdlib porting macros.

+ +
+
+ +
+
+ + + + +
#define ONLPLIB_CONFIG_PORTING_STDLIB   1
+
+

ONLPLIB_CONFIG_PORTING_STDLIB

+

Default all porting macros to use the C standard libraries.

+ +
+
+

Typedef Documentation

+ +
+
+

All compile time options can be queried or displayedConfiguration settings structure.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + +
const char* onlplib_config_lookup (const char * setting)
+
+ +

Lookup a configuration setting.

+
Parameters
+ + +
settingThe name of the configuration option to lookup.
+
+
+ +
+
+ +
+
+ + + + + + + + +
int onlplib_config_show (struct aim_pvs_s * pvs)
+
+ +

Show the compile-time configuration.

+
Parameters
+ + +
pvsThe output stream.
+
+
+ +
+
+

Variable Documentation

+ +
+
+ + + + +
onlplib_config_settings_t onlplib_config_settings[]
+
+

Configuration settings table. onlplib_config_settings table.

+ +
+
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/group__onlplib-onlplib.html b/packages/base/any/onlp/src/onlplib/doc/html/group__onlplib-onlplib.html new file mode 100644 index 00000000..546ddcee --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/group__onlplib-onlplib.html @@ -0,0 +1,90 @@ + + + + + + +onlplib: Public Interface + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + +
+ + + + +
+ +
+ +
+ +
+
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/group__onlplib-porting.html b/packages/base/any/onlp/src/onlplib/doc/html/group__onlplib-porting.html new file mode 100644 index 00000000..ad5fc1d9 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/group__onlplib-porting.html @@ -0,0 +1,90 @@ + + + + + + +onlplib: Porting Macros + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + +
+ + + + +
+ +
+ +
+ +
+
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/group__onlplib.html b/packages/base/any/onlp/src/onlplib/doc/html/group__onlplib.html new file mode 100644 index 00000000..14ec67c7 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/group__onlplib.html @@ -0,0 +1,105 @@ + + + + + + +onlplib: onlplib - onlplib Description + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + +
+ + + + +
+ +
+ +
+ +
+
onlplib - onlplib Description
+
+
+ + + + + + + + +

+Modules

 Public Interface
 
 Compile Time Configuration
 
 Porting Macros
 
+

Detailed Description

+

onlplib Doxygen Header

+

The documentation overview for this module should go here.

+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/i2c_8h_source.html b/packages/base/any/onlp/src/onlplib/doc/html/i2c_8h_source.html new file mode 100644 index 00000000..4c0b3029 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/i2c_8h_source.html @@ -0,0 +1,283 @@ + + + + + + +onlplib: module/inc/onlplib/i2c.h Source File + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
i2c.h
+
+
+
1 /************************************************************
+
2  * <bsn.cl v=2014 v=onl>
+
3  *
+
4  * Copyright 2015 Big Switch Networks, Inc.
+
5  *
+
6  * Licensed under the Eclipse Public License, Version 1.0 (the
+
7  * "License"); you may not use this file except in compliance
+
8  * with the License. You may obtain a copy of the License at
+
9  *
+
10  * http://www.eclipse.org/legal/epl-v10.html
+
11  *
+
12  * Unless required by applicable law or agreed to in writing,
+
13  * software distributed under the License is distributed on an
+
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+
15  * either express or implied. See the License for the specific
+
16  * language governing permissions and limitations under the
+
17  * License.
+
18  *
+
19  * </bsn.cl>
+
20  ************************************************************
+
21  *
+
22  * Common I2C processing for all platform implementations.
+
23  *
+
24  ***********************************************************/
+
25 #ifndef __ONLP_I2C_H__
+
26 #define __ONLP_I2C_H__
+
27 
+
28 #include <onlplib/onlplib_config.h>
+
29 
+
30 #if ONLPLIB_CONFIG_INCLUDE_I2C == 1
+
31 
+
35 #define ONLP_I2C_F_TENBIT 0x1
+
36 
+
41 #define ONLP_I2C_F_FORCE 0x2
+
42 
+
46 #define ONLP_I2C_F_PEC 0x4
+
47 
+
48 
+
53 #define ONLP_I2C_F_NO_MUX_DESELECT 0x8
+
54 
+
62 #define ONLP_I2C_F_NO_MUX_SELECT 0x10
+
63 
+
67 #define ONLP_I2C_F_USE_BLOCK_READ 0x20
+
68 
+
72 #define ONLP_I2C_F_USE_SMBUS_BLOCK_READ 0x40
+
73 
+
77 #define ONLP_I2C_F_DISABLE_READ_RETRIES 0x80
+
78 
+
86 int onlp_i2c_open(int bus, uint8_t addr, uint32_t flags);
+
87 
+
88 
+
101 int onlp_i2c_read(int bus, uint8_t addr, uint8_t offset, int size,
+
102  uint8_t* rdata, uint32_t flags);
+
103 
+
113 int onlp_i2c_block_read(int bus, uint8_t addr, uint8_t offset, int size,
+
114  uint8_t* rdata, uint32_t flags);
+
115 
+
125 int onlp_i2c_write(int bus, uint8_t addr, uint8_t offset, int size,
+
126  uint8_t* data, uint32_t flags);
+
127 
+
136 int onlp_i2c_readb(int bus, uint8_t addr, uint8_t offset, uint32_t flags);
+
137 
+
146 int onlp_i2c_writeb(int bus, uint8_t addr, uint8_t offset, uint8_t byte,
+
147  uint32_t flags);
+
148 
+
149 
+
159 int onlp_i2c_modifyb(int bus, uint8_t addr, uint8_t offset,
+
160  uint8_t andmask, uint8_t ormask, uint32_t flags);
+
161 
+
170 int onlp_i2c_readw(int bus, uint8_t addr, uint8_t offset, uint32_t flags);
+
171 
+
180 int onlp_i2c_writew(int bus, uint8_t addr, uint8_t offset, uint16_t word,
+
181  uint32_t flags);
+
182 
+
183 
+
184 
+
185 /****************************************************************************
+
186  *
+
187  * I2C Mux/Device Management.
+
188  *
+
189  *
+
190  ***************************************************************************/
+
191 
+
195 typedef struct onlp_i2c_mux_driver_s {
+
197  const char* name;
+
198 
+
200  uint8_t control;
+
201 
+
203  struct {
+
204  int channel;
+
205  uint8_t value;
+
206  } channels[16];
+
207 
+
208 } onlp_i2c_mux_driver_t;
+
209 
+
210 
+
215 typedef struct onlp_i2c_mux_device_s {
+
216  /* Instance description. */
+
217  const char* name;
+
218 
+
220  int bus;
+
221 
+
223  uint8_t devaddr;
+
224 
+
226  onlp_i2c_mux_driver_t* driver;
+
227 
+
228 } onlp_i2c_mux_device_t;
+
229 
+
230 
+
234 typedef struct onlp_i2c_mux_channel_s {
+
235  onlp_i2c_mux_device_t* mux;
+
236  int channel;
+
237 } onlp_i2c_mux_channel_t;
+
238 
+
239 
+
243 typedef struct onlp_i2c_mux_channels_s {
+
244  onlp_i2c_mux_channel_t channels[8];
+
245 } onlp_i2c_mux_channels_t;
+
246 
+
247 
+
253 typedef struct onlp_i2c_dev_s {
+
254  const char* name;
+
255 
+
260  onlp_i2c_mux_channels_t ichannels;
+
261  onlp_i2c_mux_channels_t* pchannels;
+
262 
+
266  int bus;
+
267  uint8_t addr;
+
268 
+
269 } onlp_i2c_dev_t;
+
270 
+
271 
+
277 int onlp_i2c_mux_select(onlp_i2c_mux_device_t* muxdev, int channel);
+
278 
+
283 int onlp_i2c_mux_deselect(onlp_i2c_mux_device_t* muxdev);
+
284 
+
288 int onlp_i2c_mux_channel_select(onlp_i2c_mux_channel_t* mc);
+
289 
+
290 
+
294 int onlp_i2c_mux_channel_deselect(onlp_i2c_mux_channel_t* mc);
+
295 
+
296 
+
300 int onlp_i2c_mux_channels_select(onlp_i2c_mux_channels_t* channels);
+
301 
+
305 int onlp_i2c_mux_channels_deselect(onlp_i2c_mux_channels_t* channels);
+
306 
+
310 int onlp_i2c_dev_mux_channels_select(onlp_i2c_dev_t* dev);
+
311 
+
315 int onlp_i2c_dev_mux_channels_deselect(onlp_i2c_dev_t* dev);
+
316 
+
317 
+
321 int onlp_i2c_dev_read(onlp_i2c_dev_t* dev, uint8_t offset, int size,
+
322  uint8_t* rdata, uint32_t flags);
+
323 
+
327 int onlp_i2c_dev_write(onlp_i2c_dev_t* dev,
+
328  uint8_t offset, int size,
+
329  uint8_t* data, uint32_t flags);
+
330 
+
331 int onlp_i2c_dev_readb(onlp_i2c_dev_t* dev,
+
332  uint8_t offset, uint32_t flags);
+
333 
+
334 int onlp_i2c_dev_writeb(onlp_i2c_dev_t* dev,
+
335  uint8_t offset, uint8_t byte, uint32_t flags);
+
336 
+
337 int onlp_i2c_dev_readw(onlp_i2c_dev_t* dev,
+
338  uint8_t offset, uint32_t flags);
+
339 
+
340 int onlp_i2c_dev_writew(onlp_i2c_dev_t* dev,
+
341  uint8_t offset, uint16_t word, uint32_t flags);
+
342 
+
343 /**************************************************************************/
+
348 extern onlp_i2c_mux_driver_t onlp_i2c_mux_driver_pca9547a;
+
349 extern onlp_i2c_mux_driver_t onlp_i2c_mux_driver_pca9548;
+
350 
+
351 
+
352 
+
353 
+
354 
+
355 
+
356 #endif /* ONLPLIB_CONFIG_INCLUDE_I2C */
+
357 
+
358 #endif /* __ONLP_I2C_H__ */
+
onlplib Configuration Header
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/index.html b/packages/base/any/onlp/src/onlplib/doc/html/index.html new file mode 100644 index 00000000..428c0d32 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/index.html @@ -0,0 +1,90 @@ + + + + + + +onlplib: Main Page + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + +
+ + + + +
+ +
+ +
+
+
onlplib Documentation
+
+
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/jquery.js b/packages/base/any/onlp/src/onlplib/doc/html/jquery.js new file mode 100644 index 00000000..92dbb494 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/jquery.js @@ -0,0 +1,31 @@ +/* + * jQuery JavaScript Library v1.7.1 + * http://jquery.com/ + * + * Copyright 2011, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Mon Nov 21 21:11:03 2011 -0500 + */ +(function(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bb.jQuery,bH=bb.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b40){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bb.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bb.attachEvent("onload",bF.ready);var b0=false;try{b0=bb.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0&&typeof b0==="object"&&"setInterval" in b0},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){var b0,b1;try{if(bb.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bb.execScript||function(b1){bb["eval"].call(bb,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b40&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b21?aJ.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aJ.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv
a";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bM,bU,bV,bT,bN,bO,bL,bS,bR,e,bP,bQ=av.getElementsByTagName("body")[0];if(!bQ){return}bL=1;bS="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bR="visibility:hidden;border:0;";e="style='"+bS+"border:5px solid #000;padding:0;'";bP="
";bM=av.createElement("div");bM.style.cssText=bR+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bQ.insertBefore(bM,bQ.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="
t
";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="
";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bS+bR;bv.innerHTML=bP;bU=bv.firstChild;bV=bU.firstChild;bN=bU.nextSibling.firstChild.firstChild;bO={doesNotAddBorder:(bV.offsetTop!==5),doesAddBorderForTableAndCells:(bN.offsetTop===5)};bV.style.position="fixed";bV.style.top="20px";bO.fixedPosition=(bV.offsetTop===20||bV.offsetTop===15);bV.style.position=bV.style.top="";bU.style.overflow="hidden";bU.style.position="relative";bO.subtractsBorderForOverflowNotVisible=(bV.offsetTop===-5);bO.doesNotIncludeMarginInBodyOffset=(bQ.offsetTop!==bL);bQ.removeChild(bM);bv=bM=null;b.extend(bJ,bO)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aU,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType; +if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aY:be)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(bx,bz){var by,bA,bv,e,bw=0;if(bz&&bx.nodeType===1){bA=bz.toLowerCase().split(af);e=bA.length;for(;bw=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bb,bI])}}for(bC=0;bCbA){bH.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aO.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bf.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); +/* + * Sizzle CSS Selector Engine + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * More information: http://sizzlejs.com/ + */ +(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1 +},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/
","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},ac=a(av); +ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
","
"]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1>");try{for(var bw=0,bv=this.length;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]===""&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length; +if(bA>0){if(bv!=="border"){for(;bx)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b +})}})(window); diff --git a/packages/base/any/onlp/src/onlplib/doc/html/mmap_8h_source.html b/packages/base/any/onlp/src/onlplib/doc/html/mmap_8h_source.html new file mode 100644 index 00000000..98617ca8 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/mmap_8h_source.html @@ -0,0 +1,139 @@ + + + + + + +onlplib: module/inc/onlplib/mmap.h Source File + + + + + + + + + +
+
+
+ + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
mmap.h
+
+
+
1 /************************************************************
+
2  * <bsn.cl v=2014 v=onl>
+
3  *
+
4  * Copyright 2015 Big Switch Networks, Inc.
+
5  *
+
6  * Licensed under the Eclipse Public License, Version 1.0 (the
+
7  * "License"); you may not use this file except in compliance
+
8  * with the License. You may obtain a copy of the License at
+
9  *
+
10  * http://www.eclipse.org/legal/epl-v10.html
+
11  *
+
12  * Unless required by applicable law or agreed to in writing,
+
13  * software distributed under the License is distributed on an
+
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+
15  * either express or implied. See the License for the specific
+
16  * language governing permissions and limitations under the
+
17  * License.
+
18  *
+
19  * </bsn.cl>
+
20  ************************************************************
+
21  *
+
22  * Common mmap() platform support.
+
23  *
+
24  ***********************************************************/
+
25 #ifndef __ONLP_MMAP_H__
+
26 #define __ONLP_MMAP_H__
+
27 
+
28 #include <onlplib/onlplib_config.h>
+
29 #include <unistd.h>
+
30 #include <sys/mman.h>
+
31 
+
38 void* onlp_mmap(off_t pa, uint32_t size, const char* name);
+
39 
+
40 
+
41 
+
42 
+
43 
+
44 #endif /* __ONLP_MMAP_H__ */
+
onlplib Configuration Header
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/modules.html b/packages/base/any/onlp/src/onlplib/doc/html/modules.html new file mode 100644 index 00000000..61247a3e --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/modules.html @@ -0,0 +1,98 @@ + + + + + + +onlplib: Modules + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + +
+ + + + +
+ +
+ +
+
+
Modules
+
+
+
Here is a list of all modules:
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/nav_f.png b/packages/base/any/onlp/src/onlplib/doc/html/nav_f.png new file mode 100644 index 00000000..72a58a52 Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/nav_f.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/nav_g.png b/packages/base/any/onlp/src/onlplib/doc/html/nav_g.png new file mode 100644 index 00000000..2093a237 Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/nav_g.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/nav_h.png b/packages/base/any/onlp/src/onlplib/doc/html/nav_h.png new file mode 100644 index 00000000..33389b10 Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/nav_h.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/onie_8h_source.html b/packages/base/any/onlp/src/onlplib/doc/html/onie_8h_source.html new file mode 100644 index 00000000..7474e055 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/onie_8h_source.html @@ -0,0 +1,188 @@ + + + + + + +onlplib: module/inc/onlplib/onie.h Source File + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
onie.h
+
+
+
1 /************************************************************
+
2  * <bsn.cl fy=2014 v=onl>
+
3  *
+
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
+
5  *
+
6  * Licensed under the Eclipse Public License, Version 1.0 (the
+
7  * "License"); you may not use this file except in compliance
+
8  * with the License. You may obtain a copy of the License at
+
9  *
+
10  * http://www.eclipse.org/legal/epl-v10.html
+
11  *
+
12  * Unless required by applicable law or agreed to in writing,
+
13  * software distributed under the License is distributed on an
+
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+
15  * either express or implied. See the License for the specific
+
16  * language governing permissions and limitations under the
+
17  * License.
+
18  *
+
19  * </bsn.cl>
+
20  ************************************************************
+
21  *
+
22  * Common ONIE Infrastructure Support.
+
23  *
+
24  ***********************************************************/
+
25 #ifndef __ONLP_ONIE_H__
+
26 #define __ONLP_ONIE_H__
+
27 
+
28 #include <stdint.h>
+
29 #include <AIM/aim_pvs.h>
+
30 #include <IOF/iof.h>
+
31 #include <AIM/aim_list.h>
+
32 #include <cjson/cJSON.h>
+
33 
+
42 typedef struct onlp_onie_info_s {
+
43 
+
44  char* product_name;
+
45  char* part_number;
+
46  char* serial_number;
+
47  uint8_t mac[6];
+
48  char* manufacture_date;
+
49  uint8_t device_version;
+
50  char* label_revision;
+
51  char* platform_name;
+
52  char* onie_version;
+
53  uint16_t mac_range;
+
54  char* manufacturer;
+
55  char* country_code;
+
56  char* vendor;
+
57  char* diag_version;
+
58  char* service_tag;
+
59  uint32_t crc;
+
60 
+
64  list_head_t vx_list;
+
65 
+
66  /* Internal/debug */
+
67  char* _hdr_id_string;
+
68  uint8_t _hdr_version;
+
69  uint8_t _hdr_length;
+
70  uint8_t _hdr_valid_crc;
+
71 
+ +
73 
+
74 
+
75 typedef struct onlp_onie_vx_s {
+
76  list_links_t links;
+
77  uint8_t data[256];
+
78  int size;
+ +
80 
+
86 int onlp_onie_decode(onlp_onie_info_t* rv, const uint8_t* data, int size);
+
87 int onlp_onie_decode_file(onlp_onie_info_t* rv, const char* fmt, ...);
+
88 
+
92 void onlp_onie_info_free(onlp_onie_info_t* info);
+
93 
+
97 int onlp_onie_info_to_json(onlp_onie_info_t* info, cJSON** rv);
+
98 
+
102 int onlp_onie_info_from_json(cJSON* cj, onlp_onie_info_t* info);
+
103 
+
107 void onlp_onie_show(onlp_onie_info_t* info, aim_pvs_t* pvs);
+
108 
+
112 void onlp_onie_show_json(onlp_onie_info_t* info, aim_pvs_t* pvs);
+
113 
+
117 int onlp_onie_read_json(onlp_onie_info_t* info, const char* fname);
+
118 
+
119 #endif /* __ONLP_ONIE_H__ */
+
Definition: onie.h:75
+
list_head_t vx_list
Definition: onie.h:64
+
Definition: onie.h:42
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/onlplib__config_8h.html b/packages/base/any/onlp/src/onlplib/doc/html/onlplib__config_8h.html new file mode 100644 index 00000000..46cde34b --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/onlplib__config_8h.html @@ -0,0 +1,166 @@ + + + + + + +onlplib: module/inc/onlplib/onlplib_config.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
onlplib_config.h File Reference
+
+
+ +

onlplib Configuration Header +More...

+
#include <AIM/aim.h>
+#include "onlplib_porting.h"
+
+

Go to the source code of this file.

+ + + + +

+Data Structures

struct  onlplib_config_settings_s
 
+ + + + + + + + + + + + + + + + + + + + + + + +

+Macros

#define ONLPLIB_CONFIG_INCLUDE_LOGGING   1
 
#define ONLPLIB_CONFIG_LOG_OPTIONS_DEFAULT   AIM_LOG_OPTIONS_DEFAULT
 
#define ONLPLIB_CONFIG_LOG_BITS_DEFAULT   AIM_LOG_BITS_DEFAULT
 
#define ONLPLIB_CONFIG_LOG_CUSTOM_BITS_DEFAULT   0
 
#define ONLPLIB_CONFIG_PORTING_STDLIB   1
 
#define ONLPLIB_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS   ONLPLIB_CONFIG_PORTING_STDLIB
 
#define ONLPLIB_CONFIG_INCLUDE_UCLI   0
 
#define ONLPLIB_CONFIG_INCLUDE_I2C   1
 
#define ONLPLIB_CONFIG_I2C_BLOCK_SIZE   32
 
#define ONLPLIB_CONFIG_I2C_READ_RETRY_COUNT   16
 
#define ONLPLIB_CONFIG_I2C_USE_CUSTOM_HEADER   1
 
+ + + +

+Typedefs

typedef struct
+onlplib_config_settings_s 
onlplib_config_settings_t
 
+ + + + + + + +

+Functions

const char * onlplib_config_lookup (const char *setting)
 Lookup a configuration setting. More...
 
int onlplib_config_show (struct aim_pvs_s *pvs)
 Show the compile-time configuration. More...
 
+ + + +

+Variables

onlplib_config_settings_t onlplib_config_settings []
 
+

Detailed Description

+

onlplib Configuration Header

+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/onlplib__config_8h_source.html b/packages/base/any/onlp/src/onlplib/doc/html/onlplib__config_8h_source.html new file mode 100644 index 00000000..843da842 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/onlplib__config_8h_source.html @@ -0,0 +1,210 @@ + + + + + + +onlplib: module/inc/onlplib/onlplib_config.h Source File + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
onlplib_config.h
+
+
+Go to the documentation of this file.
1 /************************************************************
+
2  * <bsn.cl fy=2014 v=onl>
+
3  *
+
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
+
5  *
+
6  * Licensed under the Eclipse Public License, Version 1.0 (the
+
7  * "License"); you may not use this file except in compliance
+
8  * with the License. You may obtain a copy of the License at
+
9  *
+
10  * http://www.eclipse.org/legal/epl-v10.html
+
11  *
+
12  * Unless required by applicable law or agreed to in writing,
+
13  * software distributed under the License is distributed on an
+
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+
15  * either express or implied. See the License for the specific
+
16  * language governing permissions and limitations under the
+
17  * License.
+
18  *
+
19  * </bsn.cl>
+
20  ************************************************************
+
21  *
+
22  *
+
23  *
+
24  ***********************************************************/
+
25 
+
26 
+
27 /**************************************************************************/
+
36 #ifndef __ONLPLIB_CONFIG_H__
+
37 #define __ONLPLIB_CONFIG_H__
+
38 
+
39 #ifdef GLOBAL_INCLUDE_CUSTOM_CONFIG
+
40 #include <global_custom_config.h>
+
41 #endif
+
42 #ifdef ONLPLIB_INCLUDE_CUSTOM_CONFIG
+
43 #include <onlplib_custom_config.h>
+
44 #endif
+
45 
+
46 /* <auto.start.cdefs(ONLPLIB_CONFIG_HEADER).header> */
+
47 #include <AIM/aim.h>
+
54 #ifndef ONLPLIB_CONFIG_INCLUDE_LOGGING
+
55 #define ONLPLIB_CONFIG_INCLUDE_LOGGING 1
+
56 #endif
+
57 
+
64 #ifndef ONLPLIB_CONFIG_LOG_OPTIONS_DEFAULT
+
65 #define ONLPLIB_CONFIG_LOG_OPTIONS_DEFAULT AIM_LOG_OPTIONS_DEFAULT
+
66 #endif
+
67 
+
74 #ifndef ONLPLIB_CONFIG_LOG_BITS_DEFAULT
+
75 #define ONLPLIB_CONFIG_LOG_BITS_DEFAULT AIM_LOG_BITS_DEFAULT
+
76 #endif
+
77 
+
84 #ifndef ONLPLIB_CONFIG_LOG_CUSTOM_BITS_DEFAULT
+
85 #define ONLPLIB_CONFIG_LOG_CUSTOM_BITS_DEFAULT 0
+
86 #endif
+
87 
+
94 #ifndef ONLPLIB_CONFIG_PORTING_STDLIB
+
95 #define ONLPLIB_CONFIG_PORTING_STDLIB 1
+
96 #endif
+
97 
+
104 #ifndef ONLPLIB_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS
+
105 #define ONLPLIB_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS ONLPLIB_CONFIG_PORTING_STDLIB
+
106 #endif
+
107 
+
114 #ifndef ONLPLIB_CONFIG_INCLUDE_UCLI
+
115 #define ONLPLIB_CONFIG_INCLUDE_UCLI 0
+
116 #endif
+
117 
+
124 #ifndef ONLPLIB_CONFIG_INCLUDE_I2C
+
125 #define ONLPLIB_CONFIG_INCLUDE_I2C 1
+
126 #endif
+
127 
+
134 #ifndef ONLPLIB_CONFIG_I2C_BLOCK_SIZE
+
135 #define ONLPLIB_CONFIG_I2C_BLOCK_SIZE 32
+
136 #endif
+
137 
+
144 #ifndef ONLPLIB_CONFIG_I2C_READ_RETRY_COUNT
+
145 #define ONLPLIB_CONFIG_I2C_READ_RETRY_COUNT 16
+
146 #endif
+
147 
+
154 #ifndef ONLPLIB_CONFIG_I2C_USE_CUSTOM_HEADER
+
155 #define ONLPLIB_CONFIG_I2C_USE_CUSTOM_HEADER 1
+
156 #endif
+
157 
+
158 
+
159 
+ +
167  const char* name;
+
169  const char* value;
+ +
171 
+ +
175 
+
180 const char* onlplib_config_lookup(const char* setting);
+
181 
+
186 int onlplib_config_show(struct aim_pvs_s* pvs);
+
187 
+
188 /* <auto.end.cdefs(ONLPLIB_CONFIG_HEADER).header> */
+
189 
+
190 #include "onlplib_porting.h"
+
191 
+
192 #endif /* __ONLPLIB_CONFIG_H__ */
+
193 /* @} */
+
onlplib_config_settings_t onlplib_config_settings[]
+
Definition: onlplib_config.h:165
+
const char * value
Definition: onlplib_config.h:169
+
const char * onlplib_config_lookup(const char *setting)
Lookup a configuration setting.
+
const char * name
Definition: onlplib_config.h:167
+
struct onlplib_config_settings_s onlplib_config_settings_t
+
onlplib Porting Macros.
+
int onlplib_config_show(struct aim_pvs_s *pvs)
Show the compile-time configuration.
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/onlplib__dox_8h_source.html b/packages/base/any/onlp/src/onlplib/doc/html/onlplib__dox_8h_source.html new file mode 100644 index 00000000..f84eac59 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/onlplib__dox_8h_source.html @@ -0,0 +1,130 @@ + + + + + + +onlplib: module/inc/onlplib/onlplib_dox.h Source File + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
onlplib_dox.h
+
+
+
1 /************************************************************
+
2  * <bsn.cl fy=2014 v=onl>
+
3  *
+
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
+
5  *
+
6  * Licensed under the Eclipse Public License, Version 1.0 (the
+
7  * "License"); you may not use this file except in compliance
+
8  * with the License. You may obtain a copy of the License at
+
9  *
+
10  * http://www.eclipse.org/legal/epl-v10.html
+
11  *
+
12  * Unless required by applicable law or agreed to in writing,
+
13  * software distributed under the License is distributed on an
+
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+
15  * either express or implied. See the License for the specific
+
16  * language governing permissions and limitations under the
+
17  * License.
+
18  *
+
19  * </bsn.cl>
+
20  ************************************************************
+
21  *
+
22  *
+
23  *
+
24  ***********************************************************/
+
25 
+
26 /**************************************************************************/
+
31 #ifndef __ONLPLIB_DOX_H__
+
32 #define __ONLPLIB_DOX_H__
+
33 
+
51 #endif /* __ONLPLIB_DOX_H__ */
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/onlplib__porting_8h.html b/packages/base/any/onlp/src/onlplib/doc/html/onlplib__porting_8h.html new file mode 100644 index 00000000..bb69c82d --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/onlplib__porting_8h.html @@ -0,0 +1,112 @@ + + + + + + +onlplib: module/inc/onlplib/onlplib_porting.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
onlplib_porting.h File Reference
+
+
+ +

onlplib Porting Macros. +More...

+
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <stdarg.h>
+#include <memory.h>
+
+

Go to the source code of this file.

+

Detailed Description

+

onlplib Porting Macros.

+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/onlplib__porting_8h_source.html b/packages/base/any/onlp/src/onlplib/doc/html/onlplib__porting_8h_source.html new file mode 100644 index 00000000..63f0bf2b --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/onlplib__porting_8h_source.html @@ -0,0 +1,215 @@ + + + + + + +onlplib: module/inc/onlplib/onlplib_porting.h Source File + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
onlplib_porting.h
+
+
+Go to the documentation of this file.
1 /************************************************************
+
2  * <bsn.cl fy=2014 v=onl>
+
3  *
+
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
+
5  *
+
6  * Licensed under the Eclipse Public License, Version 1.0 (the
+
7  * "License"); you may not use this file except in compliance
+
8  * with the License. You may obtain a copy of the License at
+
9  *
+
10  * http://www.eclipse.org/legal/epl-v10.html
+
11  *
+
12  * Unless required by applicable law or agreed to in writing,
+
13  * software distributed under the License is distributed on an
+
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+
15  * either express or implied. See the License for the specific
+
16  * language governing permissions and limitations under the
+
17  * License.
+
18  *
+
19  * </bsn.cl>
+
20  ************************************************************
+
21  *
+
22  *
+
23  *
+
24  ***********************************************************/
+
25 
+
26 
+
27 /**************************************************************************/
+
36 #ifndef __ONLPLIB_PORTING_H__
+
37 #define __ONLPLIB_PORTING_H__
+
38 
+
39 
+
40 /* <auto.start.portingmacro(ALL).define> */
+
41 #if ONLPLIB_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS == 1
+
42 #include <stdio.h>
+
43 #include <stdlib.h>
+
44 #include <string.h>
+
45 #include <stdarg.h>
+
46 #include <memory.h>
+
47 #endif
+
48 
+
49 #ifndef ONLPLIB_MEMSET
+
50  #if defined(GLOBAL_MEMSET)
+
51  #define ONLPLIB_MEMSET GLOBAL_MEMSET
+
52  #elif ONLPLIB_CONFIG_PORTING_STDLIB == 1
+
53  #define ONLPLIB_MEMSET memset
+
54  #else
+
55  #error The macro ONLPLIB_MEMSET is required but cannot be defined.
+
56  #endif
+
57 #endif
+
58 
+
59 #ifndef ONLPLIB_MEMCPY
+
60  #if defined(GLOBAL_MEMCPY)
+
61  #define ONLPLIB_MEMCPY GLOBAL_MEMCPY
+
62  #elif ONLPLIB_CONFIG_PORTING_STDLIB == 1
+
63  #define ONLPLIB_MEMCPY memcpy
+
64  #else
+
65  #error The macro ONLPLIB_MEMCPY is required but cannot be defined.
+
66  #endif
+
67 #endif
+
68 
+
69 #ifndef ONLPLIB_STRNCPY
+
70  #if defined(GLOBAL_STRNCPY)
+
71  #define ONLPLIB_STRNCPY GLOBAL_STRNCPY
+
72  #elif ONLPLIB_CONFIG_PORTING_STDLIB == 1
+
73  #define ONLPLIB_STRNCPY strncpy
+
74  #else
+
75  #error The macro ONLPLIB_STRNCPY is required but cannot be defined.
+
76  #endif
+
77 #endif
+
78 
+
79 #ifndef ONLPLIB_VSNPRINTF
+
80  #if defined(GLOBAL_VSNPRINTF)
+
81  #define ONLPLIB_VSNPRINTF GLOBAL_VSNPRINTF
+
82  #elif ONLPLIB_CONFIG_PORTING_STDLIB == 1
+
83  #define ONLPLIB_VSNPRINTF vsnprintf
+
84  #else
+
85  #error The macro ONLPLIB_VSNPRINTF is required but cannot be defined.
+
86  #endif
+
87 #endif
+
88 
+
89 #ifndef ONLPLIB_SNPRINTF
+
90  #if defined(GLOBAL_SNPRINTF)
+
91  #define ONLPLIB_SNPRINTF GLOBAL_SNPRINTF
+
92  #elif ONLPLIB_CONFIG_PORTING_STDLIB == 1
+
93  #define ONLPLIB_SNPRINTF snprintf
+
94  #else
+
95  #error The macro ONLPLIB_SNPRINTF is required but cannot be defined.
+
96  #endif
+
97 #endif
+
98 
+
99 #ifndef ONLPLIB_STRLEN
+
100  #if defined(GLOBAL_STRLEN)
+
101  #define ONLPLIB_STRLEN GLOBAL_STRLEN
+
102  #elif ONLPLIB_CONFIG_PORTING_STDLIB == 1
+
103  #define ONLPLIB_STRLEN strlen
+
104  #else
+
105  #error The macro ONLPLIB_STRLEN is required but cannot be defined.
+
106  #endif
+
107 #endif
+
108 
+
109 #ifndef ONLPLIB_ATOI
+
110  #if defined(GLOBAL_ATOI)
+
111  #define ONLPLIB_ATOI GLOBAL_ATOI
+
112  #elif ONLPLIB_CONFIG_PORTING_STDLIB == 1
+
113  #define ONLPLIB_ATOI atoi
+
114  #else
+
115  #error The macro ONLPLIB_ATOI is required but cannot be defined.
+
116  #endif
+
117 #endif
+
118 
+
119 /* <auto.end.portingmacro(ALL).define> */
+
120 
+
121 
+
122 #endif /* __ONLPLIB_PORTING_H__ */
+
123 /* @} */
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/open.png b/packages/base/any/onlp/src/onlplib/doc/html/open.png new file mode 100644 index 00000000..30f75c7e Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/open.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/pi_8h_source.html b/packages/base/any/onlp/src/onlplib/doc/html/pi_8h_source.html new file mode 100644 index 00000000..289c8a5b --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/pi_8h_source.html @@ -0,0 +1,146 @@ + + + + + + +onlplib: module/inc/onlplib/pi.h Source File + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
pi.h
+
+
+
1 /**************************************************************
+
2  * <bsn.cl fy=2014 v=onl>
+
3  *
+
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
+
5  *
+
6  * Licensed under the Eclipse Public License, Version 1.0 (the
+
7  * "License"); you may not use this file except in compliance
+
8  * with the License. You may obtain a copy of the License at
+
9  *
+
10  * http://www.eclipse.org/legal/epl-v10.html
+
11  *
+
12  * Unless required by applicable law or agreed to in writing,
+
13  * software distributed under the License is distributed on an
+
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+
15  * either express or implied. See the License for the specific
+
16  * language governing permissions and limitations under the
+
17  * License.
+
18  *
+
19  * </bsn.cl>
+
20  **************************************************************
+
21  *
+
22  * Platform Information
+
23  *
+
24  ************************************************************/
+
25 #ifndef __ONLPLIB_PI_H__
+
26 #define __ONLPLIB_PI_H__
+
27 
+
28 #include <onlplib/onlplib_config.h>
+
29 
+
33 typedef struct onlp_platform_info_s {
+
34 
+ +
42 
+ +
47 
+ +
49 
+
50 void onlp_platform_info_show_json(onlp_platform_info_t* pi, aim_pvs_t* pvs);
+
51 
+
52 void onlp_platform_info_show(onlp_platform_info_t* pi, aim_pvs_t* pvs);
+
53 
+
54 #endif /* __ONLPLIB_PI_H__ */
+
char * other_versions
Definition: pi.h:46
+
Definition: pi.h:33
+
onlplib Configuration Header
+
char * cpld_versions
Definition: pi.h:41
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/all_0.html b/packages/base/any/onlp/src/onlplib/doc/html/search/all_0.html new file mode 100644 index 00000000..6f4ddc39 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/all_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/all_0.js b/packages/base/any/onlp/src/onlplib/doc/html/search/all_0.js new file mode 100644 index 00000000..df9d3f4e --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/all_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['cpld_5fversions',['cpld_versions',['../structonlp__platform__info__s.html#ae6e44f3d65c0e5911073aec2ede8964b',1,'onlp_platform_info_s']]], + ['compile_20time_20configuration',['Compile Time Configuration',['../group__onlplib-config.html',1,'']]] +]; diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/all_1.html b/packages/base/any/onlp/src/onlplib/doc/html/search/all_1.html new file mode 100644 index 00000000..fce68bd6 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/all_1.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/all_1.js b/packages/base/any/onlp/src/onlplib/doc/html/search/all_1.js new file mode 100644 index 00000000..81a77cdf --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/all_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['name',['name',['../structonlplib__config__settings__s.html#a93d785725174e62bf8c5463037756c8e',1,'onlplib_config_settings_s']]] +]; diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/all_2.html b/packages/base/any/onlp/src/onlplib/doc/html/search/all_2.html new file mode 100644 index 00000000..1ee90b94 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/all_2.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/all_2.js b/packages/base/any/onlp/src/onlplib/doc/html/search/all_2.js new file mode 100644 index 00000000..a5dd9238 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/all_2.js @@ -0,0 +1,26 @@ +var searchData= +[ + ['onlp_5fonie_5finfo_5fs',['onlp_onie_info_s',['../structonlp__onie__info__s.html',1,'']]], + ['onlp_5fonie_5fvx_5fs',['onlp_onie_vx_s',['../structonlp__onie__vx__s.html',1,'']]], + ['onlp_5fplatform_5finfo_5fs',['onlp_platform_info_s',['../structonlp__platform__info__s.html',1,'']]], + ['onlplib_20_2d_20onlplib_20description',['onlplib - onlplib Description',['../group__onlplib.html',1,'']]], + ['onlplib_5fconfig_2eh',['onlplib_config.h',['../onlplib__config_8h.html',1,'']]], + ['onlplib_5fconfig_5fi2c_5fblock_5fsize',['ONLPLIB_CONFIG_I2C_BLOCK_SIZE',['../group__onlplib-config.html#ga866d8aa98da341583de0a79c0f8ea06f',1,'onlplib_config.h']]], + ['onlplib_5fconfig_5fi2c_5fread_5fretry_5fcount',['ONLPLIB_CONFIG_I2C_READ_RETRY_COUNT',['../group__onlplib-config.html#gab5ad0583ab6038e0f03e82a969ed1909',1,'onlplib_config.h']]], + ['onlplib_5fconfig_5fi2c_5fuse_5fcustom_5fheader',['ONLPLIB_CONFIG_I2C_USE_CUSTOM_HEADER',['../group__onlplib-config.html#gac9796fabefa4088a6ce94204a9834063',1,'onlplib_config.h']]], + ['onlplib_5fconfig_5finclude_5fi2c',['ONLPLIB_CONFIG_INCLUDE_I2C',['../group__onlplib-config.html#gaf4e7be22bed4fe886ed9f2f0f888eff2',1,'onlplib_config.h']]], + ['onlplib_5fconfig_5finclude_5flogging',['ONLPLIB_CONFIG_INCLUDE_LOGGING',['../group__onlplib-config.html#gad8175cd4116cb1e3ea0758836c119cbc',1,'onlplib_config.h']]], + ['onlplib_5fconfig_5finclude_5fucli',['ONLPLIB_CONFIG_INCLUDE_UCLI',['../group__onlplib-config.html#ga20f364c8998cfb22bfc8cbf0a7932133',1,'onlplib_config.h']]], + ['onlplib_5fconfig_5flog_5fbits_5fdefault',['ONLPLIB_CONFIG_LOG_BITS_DEFAULT',['../group__onlplib-config.html#ga1db2ad2b4c0400580ff0afa4e63858b6',1,'onlplib_config.h']]], + ['onlplib_5fconfig_5flog_5fcustom_5fbits_5fdefault',['ONLPLIB_CONFIG_LOG_CUSTOM_BITS_DEFAULT',['../group__onlplib-config.html#gabd8ec32f33cf910c6ca556473f7b0d6f',1,'onlplib_config.h']]], + ['onlplib_5fconfig_5flog_5foptions_5fdefault',['ONLPLIB_CONFIG_LOG_OPTIONS_DEFAULT',['../group__onlplib-config.html#ga2a6ff3d7d9eb360374a05258bd9d0027',1,'onlplib_config.h']]], + ['onlplib_5fconfig_5flookup',['onlplib_config_lookup',['../group__onlplib-config.html#ga173a1bd1f1c02ff430714ee90b7dc367',1,'onlplib_config.h']]], + ['onlplib_5fconfig_5fporting_5finclude_5fstdlib_5fheaders',['ONLPLIB_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS',['../group__onlplib-config.html#ga8e32626fe42db3048ce8866d15551a82',1,'onlplib_config.h']]], + ['onlplib_5fconfig_5fporting_5fstdlib',['ONLPLIB_CONFIG_PORTING_STDLIB',['../group__onlplib-config.html#ga302f795ad8b5a94d7106a09fa43c33fb',1,'onlplib_config.h']]], + ['onlplib_5fconfig_5fsettings',['onlplib_config_settings',['../group__onlplib-config.html#ga684d29e51f4e9bd7961adcd8871e745d',1,'onlplib_config.h']]], + ['onlplib_5fconfig_5fsettings_5fs',['onlplib_config_settings_s',['../structonlplib__config__settings__s.html',1,'']]], + ['onlplib_5fconfig_5fsettings_5ft',['onlplib_config_settings_t',['../group__onlplib-config.html#ga893327b4949ae66bf46b7e455922be32',1,'onlplib_config.h']]], + ['onlplib_5fconfig_5fshow',['onlplib_config_show',['../group__onlplib-config.html#ga792b2b68d162facde1416432151490f5',1,'onlplib_config.h']]], + ['onlplib_5fporting_2eh',['onlplib_porting.h',['../onlplib__porting_8h.html',1,'']]], + ['other_5fversions',['other_versions',['../structonlp__platform__info__s.html#a0b238c4f78e3dbf2321e38f6501eeb42',1,'onlp_platform_info_s']]] +]; diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/all_3.html b/packages/base/any/onlp/src/onlplib/doc/html/search/all_3.html new file mode 100644 index 00000000..85c4a815 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/all_3.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/all_3.js b/packages/base/any/onlp/src/onlplib/doc/html/search/all_3.js new file mode 100644 index 00000000..4a727975 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/all_3.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['public_20interface',['Public Interface',['../group__onlplib-onlplib.html',1,'']]], + ['porting_20macros',['Porting Macros',['../group__onlplib-porting.html',1,'']]] +]; diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/all_4.html b/packages/base/any/onlp/src/onlplib/doc/html/search/all_4.html new file mode 100644 index 00000000..56eb97ca --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/all_4.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/all_4.js b/packages/base/any/onlp/src/onlplib/doc/html/search/all_4.js new file mode 100644 index 00000000..013f815a --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/all_4.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['value',['value',['../structonlplib__config__settings__s.html#af36227c679615d9a3e6d90abb5de9dd6',1,'onlplib_config_settings_s']]], + ['vx_5flist',['vx_list',['../structonlp__onie__info__s.html#a4ddf24a84601e4a767a1002375766f0a',1,'onlp_onie_info_s']]] +]; diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/classes_0.html b/packages/base/any/onlp/src/onlplib/doc/html/search/classes_0.html new file mode 100644 index 00000000..a7b6a289 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/classes_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/classes_0.js b/packages/base/any/onlp/src/onlplib/doc/html/search/classes_0.js new file mode 100644 index 00000000..d80b9e0f --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/classes_0.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['onlp_5fonie_5finfo_5fs',['onlp_onie_info_s',['../structonlp__onie__info__s.html',1,'']]], + ['onlp_5fonie_5fvx_5fs',['onlp_onie_vx_s',['../structonlp__onie__vx__s.html',1,'']]], + ['onlp_5fplatform_5finfo_5fs',['onlp_platform_info_s',['../structonlp__platform__info__s.html',1,'']]], + ['onlplib_5fconfig_5fsettings_5fs',['onlplib_config_settings_s',['../structonlplib__config__settings__s.html',1,'']]] +]; diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/close.png b/packages/base/any/onlp/src/onlplib/doc/html/search/close.png new file mode 100644 index 00000000..9342d3df Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/search/close.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/files_0.html b/packages/base/any/onlp/src/onlplib/doc/html/search/files_0.html new file mode 100644 index 00000000..73e9ff2c --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/files_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/files_0.js b/packages/base/any/onlp/src/onlplib/doc/html/search/files_0.js new file mode 100644 index 00000000..818ae9cf --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/files_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['onlplib_5fconfig_2eh',['onlplib_config.h',['../onlplib__config_8h.html',1,'']]], + ['onlplib_5fporting_2eh',['onlplib_porting.h',['../onlplib__porting_8h.html',1,'']]] +]; diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/functions_0.html b/packages/base/any/onlp/src/onlplib/doc/html/search/functions_0.html new file mode 100644 index 00000000..36aa6a65 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/functions_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/functions_0.js b/packages/base/any/onlp/src/onlplib/doc/html/search/functions_0.js new file mode 100644 index 00000000..546c1594 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/functions_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['onlplib_5fconfig_5flookup',['onlplib_config_lookup',['../group__onlplib-config.html#ga173a1bd1f1c02ff430714ee90b7dc367',1,'onlplib_config.h']]], + ['onlplib_5fconfig_5fshow',['onlplib_config_show',['../group__onlplib-config.html#ga792b2b68d162facde1416432151490f5',1,'onlplib_config.h']]] +]; diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/groups_0.html b/packages/base/any/onlp/src/onlplib/doc/html/search/groups_0.html new file mode 100644 index 00000000..e38d5827 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/groups_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/groups_0.js b/packages/base/any/onlp/src/onlplib/doc/html/search/groups_0.js new file mode 100644 index 00000000..4cf60dc1 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/groups_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['compile_20time_20configuration',['Compile Time Configuration',['../group__onlplib-config.html',1,'']]] +]; diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/groups_1.html b/packages/base/any/onlp/src/onlplib/doc/html/search/groups_1.html new file mode 100644 index 00000000..342911cd --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/groups_1.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/groups_1.js b/packages/base/any/onlp/src/onlplib/doc/html/search/groups_1.js new file mode 100644 index 00000000..94bcccc3 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/groups_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['onlplib_20_2d_20onlplib_20description',['onlplib - onlplib Description',['../group__onlplib.html',1,'']]] +]; diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/groups_2.html b/packages/base/any/onlp/src/onlplib/doc/html/search/groups_2.html new file mode 100644 index 00000000..1ac95e9d --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/groups_2.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/groups_2.js b/packages/base/any/onlp/src/onlplib/doc/html/search/groups_2.js new file mode 100644 index 00000000..4a727975 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/groups_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['public_20interface',['Public Interface',['../group__onlplib-onlplib.html',1,'']]], + ['porting_20macros',['Porting Macros',['../group__onlplib-porting.html',1,'']]] +]; diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/mag_sel.png b/packages/base/any/onlp/src/onlplib/doc/html/search/mag_sel.png new file mode 100644 index 00000000..81f6040a Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/search/mag_sel.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/nomatches.html b/packages/base/any/onlp/src/onlplib/doc/html/search/nomatches.html new file mode 100644 index 00000000..b1ded27e --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/nomatches.html @@ -0,0 +1,12 @@ + + + + + + + +
+
No Matches
+
+ + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/search.css b/packages/base/any/onlp/src/onlplib/doc/html/search/search.css new file mode 100644 index 00000000..4d7612ff --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/search.css @@ -0,0 +1,271 @@ +/*---------------- Search Box */ + +#FSearchBox { + float: left; +} + +#MSearchBox { + white-space : nowrap; + position: absolute; + float: none; + display: inline; + margin-top: 8px; + right: 0px; + width: 170px; + z-index: 102; + background-color: white; +} + +#MSearchBox .left +{ + display:block; + position:absolute; + left:10px; + width:20px; + height:19px; + background:url('search_l.png') no-repeat; + background-position:right; +} + +#MSearchSelect { + display:block; + position:absolute; + width:20px; + height:19px; +} + +.left #MSearchSelect { + left:4px; +} + +.right #MSearchSelect { + right:5px; +} + +#MSearchField { + display:block; + position:absolute; + height:19px; + background:url('search_m.png') repeat-x; + border:none; + width:111px; + margin-left:20px; + padding-left:4px; + color: #909090; + outline: none; + font: 9pt Arial, Verdana, sans-serif; +} + +#FSearchBox #MSearchField { + margin-left:15px; +} + +#MSearchBox .right { + display:block; + position:absolute; + right:10px; + top:0px; + width:20px; + height:19px; + background:url('search_r.png') no-repeat; + background-position:left; +} + +#MSearchClose { + display: none; + position: absolute; + top: 4px; + background : none; + border: none; + margin: 0px 4px 0px 0px; + padding: 0px 0px; + outline: none; +} + +.left #MSearchClose { + left: 6px; +} + +.right #MSearchClose { + right: 2px; +} + +.MSearchBoxActive #MSearchField { + color: #000000; +} + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #90A5CE; + background-color: #F9FAFC; + z-index: 1; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +.SelectItem { + font: 8pt Arial, Verdana, sans-serif; + padding-left: 2px; + padding-right: 12px; + border: 0px; +} + +span.SelectionMark { + margin-right: 4px; + font-family: monospace; + outline-style: none; + text-decoration: none; +} + +a.SelectItem { + display: block; + outline-style: none; + color: #000000; + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} + +a.SelectItem:focus, +a.SelectItem:active { + color: #000000; + outline-style: none; + text-decoration: none; +} + +a.SelectItem:hover { + color: #FFFFFF; + background-color: #3D578C; + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + width: 60ex; + height: 15em; +} + +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #000; + background-color: #EEF1F7; +} + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; + padding-bottom: 15px; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} + +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} + +body.SRPage { + margin: 5px 2px; +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} + +.SRPage .SRChildren { + display: none; +} + +.SRSymbol { + font-weight: bold; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +span.SRScope { + padding-left: 4px; +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; +} + +.SRResult { + display: none; +} + +DIV.searchresults { + margin-left: 10px; + margin-right: 10px; +} + +/*---------------- External search page results */ + +.searchresult { + background-color: #F0F3F8; +} + +.pages b { + color: white; + padding: 5px 5px 3px 5px; + background-image: url("../tab_a.png"); + background-repeat: repeat-x; + text-shadow: 0 1px 1px #000000; +} + +.pages { + line-height: 17px; + margin-left: 4px; + text-decoration: none; +} + +.hl { + font-weight: bold; +} + +#searchresults { + margin-bottom: 20px; +} + +.searchpages { + margin-top: 10px; +} + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/search.js b/packages/base/any/onlp/src/onlplib/doc/html/search/search.js new file mode 100644 index 00000000..f784dbcf --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/search.js @@ -0,0 +1,805 @@ +// Search script generated by doxygen +// Copyright (C) 2009 by Dimitri van Heesch. + +// The code in this file is loosly based on main.js, part of Natural Docs, +// which is Copyright (C) 2003-2008 Greg Valure +// Natural Docs is licensed under the GPL. + +var indexSectionsWithContent = +{ + 0: "cnopv", + 1: "o", + 2: "o", + 3: "o", + 4: "cnov", + 5: "o", + 6: "cop" +}; + +var indexSectionNames = +{ + 0: "all", + 1: "classes", + 2: "files", + 3: "functions", + 4: "variables", + 5: "typedefs", + 6: "groups" +}; + +function convertToId(search) +{ + var result = ''; + for (i=0;i do a search + { + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) // Up + { + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } + else if (e.keyCode==13 || e.keyCode==27) + { + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() + { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() + { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() + { + this.keyTimeout = 0; + + // strip leading whitespace + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + var code = searchValue.toLowerCase().charCodeAt(0); + var idxChar = searchValue.substr(0, 1).toLowerCase(); + if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair + { + idxChar = searchValue.substr(0, 2); + } + + var resultsPage; + var resultsPageWithSearch; + var hasResultsPage; + + var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); + if (idx!=-1) + { + var hexCode=idx.toString(16); + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; + resultsPageWithSearch = resultsPage+'?'+escape(searchValue); + hasResultsPage = true; + } + else // nothing available for this search term + { + resultsPage = this.resultsPath + '/nomatches.html'; + resultsPageWithSearch = resultsPage; + hasResultsPage = false; + } + + window.frames.MSearchResults.location = resultsPageWithSearch; + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + + if (domPopupSearchResultsWindow.style.display!='block') + { + var domSearchBox = this.DOMSearchBox(); + this.DOMSearchClose().style.display = 'inline'; + if (this.insideFrame) + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + domPopupSearchResultsWindow.style.position = 'relative'; + domPopupSearchResultsWindow.style.display = 'block'; + var width = document.body.clientWidth - 8; // the -8 is for IE :-( + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResults.style.width = width + 'px'; + } + else + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + } + } + + this.lastSearchValue = searchValue; + this.lastResultsPage = resultsPage; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) + { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) + { + this.DOMSearchBox().className = 'MSearchBoxActive'; + + var searchField = this.DOMSearchField(); + + if (searchField.value == this.searchLabel) // clear "Search" term upon entry + { + searchField.value = ''; + this.searchActive = true; + } + } + else if (!isActive) // directly remove the panel + { + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.DOMSearchField().value = this.searchLabel; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults(name) +{ + // The number of matches from the last run of . + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) + { + var parentElement = document.getElementById(id); + var element = parentElement.firstChild; + + while (element && element!=parentElement) + { + if (element.nodeName == 'DIV' && element.className == 'SRChildren') + { + return element; + } + + if (element.nodeName == 'DIV' && element.hasChildNodes()) + { + element = element.firstChild; + } + else if (element.nextSibling) + { + element = element.nextSibling; + } + else + { + do + { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) + { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) + { + var element = this.FindChildElement(id); + if (element) + { + if (element.style.display == 'block') + { + element.style.display = 'none'; + } + else + { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) + { + if (!search) // get search word from URL + { + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + var resultRows = document.getElementsByTagName("div"); + var matches = 0; + + var i = 0; + while (i < resultRows.length) + { + var row = resultRows.item(i); + if (row.className == "SRResult") + { + var rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) + { + row.style.display = 'block'; + matches++; + } + else + { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) // no results + { + document.getElementById("NoMatches").style.display='block'; + } + else // at least one result + { + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) + { + if (e.type == "keydown") + { + this.repeatOn = false; + this.lastKey = e.keyCode; + } + else if (e.type == "keypress") + { + if (!this.repeatOn) + { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } + else if (e.type == "keyup") + { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + var newIndex = itemIndex-1; + var focusItem = this.NavPrev(newIndex); + if (focusItem) + { + var child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') // children visible + { + var n=0; + var tmpElem; + while (1) // search for last child + { + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) + { + focusItem = tmpElem; + } + else // found it! + { + break; + } + n++; + } + } + } + if (focusItem) + { + focusItem.focus(); + } + else // return focus to search field + { + parent.document.getElementById("MSearchField").focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = itemIndex+1; + var focusItem; + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') // children visible + { + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } + else if (this.lastKey==39) // Right + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } + else if (this.lastKey==37) // Left + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + if (childIndex>0) + { + var newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } + else // already at first child, jump to parent + { + document.getElementById('Item'+itemIndex).focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = childIndex+1; + var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) // last child, jump to parent next parent + { + elem = this.NavNext(itemIndex+1); + } + if (elem) + { + elem.focus(); + } + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } +} + +function setKeyActions(elem,action) +{ + elem.setAttribute('onkeydown',action); + elem.setAttribute('onkeypress',action); + elem.setAttribute('onkeyup',action); +} + +function setClassAttr(elem,attr) +{ + elem.setAttribute('class',attr); + elem.setAttribute('className',attr); +} + +function createResults() +{ + var results = document.getElementById("SRResults"); + for (var e=0; e + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/typedefs_0.js b/packages/base/any/onlp/src/onlplib/doc/html/search/typedefs_0.js new file mode 100644 index 00000000..a4ee4a18 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/typedefs_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['onlplib_5fconfig_5fsettings_5ft',['onlplib_config_settings_t',['../group__onlplib-config.html#ga893327b4949ae66bf46b7e455922be32',1,'onlplib_config.h']]] +]; diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/variables_0.html b/packages/base/any/onlp/src/onlplib/doc/html/search/variables_0.html new file mode 100644 index 00000000..571f3948 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/variables_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/variables_0.js b/packages/base/any/onlp/src/onlplib/doc/html/search/variables_0.js new file mode 100644 index 00000000..5963d326 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/variables_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['cpld_5fversions',['cpld_versions',['../structonlp__platform__info__s.html#ae6e44f3d65c0e5911073aec2ede8964b',1,'onlp_platform_info_s']]] +]; diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/variables_1.html b/packages/base/any/onlp/src/onlplib/doc/html/search/variables_1.html new file mode 100644 index 00000000..cef7a9e3 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/variables_1.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/variables_1.js b/packages/base/any/onlp/src/onlplib/doc/html/search/variables_1.js new file mode 100644 index 00000000..81a77cdf --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/variables_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['name',['name',['../structonlplib__config__settings__s.html#a93d785725174e62bf8c5463037756c8e',1,'onlplib_config_settings_s']]] +]; diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/variables_2.html b/packages/base/any/onlp/src/onlplib/doc/html/search/variables_2.html new file mode 100644 index 00000000..b299c29c --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/variables_2.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/variables_2.js b/packages/base/any/onlp/src/onlplib/doc/html/search/variables_2.js new file mode 100644 index 00000000..c61dabd6 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/variables_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['onlplib_5fconfig_5fsettings',['onlplib_config_settings',['../group__onlplib-config.html#ga684d29e51f4e9bd7961adcd8871e745d',1,'onlplib_config.h']]], + ['other_5fversions',['other_versions',['../structonlp__platform__info__s.html#a0b238c4f78e3dbf2321e38f6501eeb42',1,'onlp_platform_info_s']]] +]; diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/variables_3.html b/packages/base/any/onlp/src/onlplib/doc/html/search/variables_3.html new file mode 100644 index 00000000..a7d21864 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/variables_3.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/search/variables_3.js b/packages/base/any/onlp/src/onlplib/doc/html/search/variables_3.js new file mode 100644 index 00000000..013f815a --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/search/variables_3.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['value',['value',['../structonlplib__config__settings__s.html#af36227c679615d9a3e6d90abb5de9dd6',1,'onlplib_config_settings_s']]], + ['vx_5flist',['vx_list',['../structonlp__onie__info__s.html#a4ddf24a84601e4a767a1002375766f0a',1,'onlp_onie_info_s']]] +]; diff --git a/packages/base/any/onlp/src/onlplib/doc/html/sfp_8h_source.html b/packages/base/any/onlp/src/onlplib/doc/html/sfp_8h_source.html new file mode 100644 index 00000000..f0ad29c5 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/sfp_8h_source.html @@ -0,0 +1,137 @@ + + + + + + +onlplib: module/inc/onlplib/sfp.h Source File + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
sfp.h
+
+
+
1 /**************************************************************
+
2  * <bsn.cl fy=2014 v=onl>
+
3  *
+
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
+
5  *
+
6  * Licensed under the Eclipse Public License, Version 1.0 (the
+
7  * "License"); you may not use this file except in compliance
+
8  * with the License. You may obtain a copy of the License at
+
9  *
+
10  * http://www.eclipse.org/legal/epl-v10.html
+
11  *
+
12  * Unless required by applicable law or agreed to in writing,
+
13  * software distributed under the License is distributed on an
+
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+
15  * either express or implied. See the License for the specific
+
16  * language governing permissions and limitations under the
+
17  * License.
+
18  *
+
19  * </bsn.cl>
+
20  **************************************************************
+
21  *
+
22  * Common SFP support routines.
+
23  *
+
24  ************************************************************/
+
25 #ifndef __ONLPLIB_SFP_H__
+
26 #define __ONLPLIB_SFP_H__
+
27 #include <onlplib/onlplib_config.h>
+
28 
+
40 int onlplib_sfp_is_present_file(const char* fname,
+
41  const char* present,
+
42  const char* notpresent);
+
54 int onlplib_sfp_reset_file(const char* file, const char* first, int delay_ms,
+
55  const char* second);
+
63 int onlplib_sfp_eeprom_read_file(const char* fname, uint8_t data[256]);
+
64 
+
65 #endif /* __ONLPLIB_SFP_H__ */
+
onlplib Configuration Header
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/shlocks_8h_source.html b/packages/base/any/onlp/src/onlplib/doc/html/shlocks_8h_source.html new file mode 100644 index 00000000..80bfe5c9 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/shlocks_8h_source.html @@ -0,0 +1,159 @@ + + + + + + +onlplib: module/inc/onlplib/shlocks.h Source File + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
shlocks.h
+
+
+
1 /************************************************************
+
2  * <bsn.cl v=2014 v=onl>
+
3  *
+
4  * Copyright 2015 Big Switch Networks, Inc.
+
5  *
+
6  * Licensed under the Eclipse Public License, Version 1.0 (the
+
7  * "License"); you may not use this file except in compliance
+
8  * with the License. You may obtain a copy of the License at
+
9  *
+
10  * http://www.eclipse.org/legal/epl-v10.html
+
11  *
+
12  * Unless required by applicable law or agreed to in writing,
+
13  * software distributed under the License is distributed on an
+
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+
15  * either express or implied. See the License for the specific
+
16  * language governing permissions and limitations under the
+
17  * License.
+
18  *
+
19  * </bsn.cl>
+
20  ************************************************************
+
21  *
+
22  *
+
23  *
+
24  ***********************************************************/
+
25 #ifndef __ONLP_SHLOCKS_H__
+
26 #define __ONLP_SHLOCKS_H__
+
27 
+
28 #include <onlplib/onlplib_config.h>
+
29 #include <pthread.h>
+
30 #include <sys/shm.h>
+
31 
+
32 typedef struct onlp_shlock_s onlp_shlock_t;
+
33 
+
43 int onlp_shmem_create(key_t id, uint32_t size, void** rv);
+
44 
+
45 
+
51 int onlp_shlock_create(key_t id, onlp_shlock_t** rv,
+
52  const char* name, ...);
+
53 
+
58 int onlp_shlock_destroy(onlp_shlock_t* shlock);
+
59 
+
64 int onlp_shlock_take(onlp_shlock_t* shlock);
+
65 
+
70 int onlp_shlock_give(onlp_shlock_t* shlock);
+
71 
+
76 const char* onlp_shlock_name(onlp_shlock_t* lock);
+
77 
+
78 
+
83 #define ONLP_SHLOCK_GLOBAL_KEY 0xF00DF00D
+
84 
+
90 void onlp_shlock_global_init(void);
+
91 
+
95 int onlp_shlock_global_take(void);
+
96 
+
100 int onlp_shlock_global_give(void);
+
101 
+
102 
+
103 #endif /* __ONLP_SHLOCKS_H__ */
+
onlplib Configuration Header
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/structonlp__onie__info__s.html b/packages/base/any/onlp/src/onlplib/doc/html/structonlp__onie__info__s.html new file mode 100644 index 00000000..e03181db --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/structonlp__onie__info__s.html @@ -0,0 +1,187 @@ + + + + + + +onlplib: onlp_onie_info_s Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
onlp_onie_info_s Struct Reference
+
+
+ +

#include <onie.h>

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Data Fields

+char * product_name
 
+char * part_number
 
+char * serial_number
 
+uint8_t mac [6]
 
+char * manufacture_date
 
+uint8_t device_version
 
+char * label_revision
 
+char * platform_name
 
+char * onie_version
 
+uint16_t mac_range
 
+char * manufacturer
 
+char * country_code
 
+char * vendor
 
+char * diag_version
 
+char * service_tag
 
+uint32_t crc
 
list_head_t vx_list
 
+char * _hdr_id_string
 
+uint8_t _hdr_version
 
+uint8_t _hdr_length
 
+uint8_t _hdr_valid_crc
 
+

Detailed Description

+

The ONIE specification defines the format of the system eeprom and the available fields that may be described there.

+

This structure contains the decoded fields for application and platform use.

+

Field Documentation

+ +
+
+ + + + +
list_head_t onlp_onie_info_s::vx_list
+
+

Vendor Extensions list, if available.

+ +
+
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/structonlp__onie__vx__s.html b/packages/base/any/onlp/src/onlplib/doc/html/structonlp__onie__vx__s.html new file mode 100644 index 00000000..fe50ee3b --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/structonlp__onie__vx__s.html @@ -0,0 +1,115 @@ + + + + + + +onlplib: onlp_onie_vx_s Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
onlp_onie_vx_s Struct Reference
+
+
+ + + + + + + + +

+Data Fields

+list_links_t links
 
+uint8_t data [256]
 
+int size
 
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/structonlp__platform__info__s.html b/packages/base/any/onlp/src/onlplib/doc/html/structonlp__platform__info__s.html new file mode 100644 index 00000000..921f2058 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/structonlp__platform__info__s.html @@ -0,0 +1,142 @@ + + + + + + +onlplib: onlp_platform_info_s Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
onlp_platform_info_s Struct Reference
+
+
+ +

#include <pi.h>

+ + + + + + +

+Data Fields

char * cpld_versions
 
char * other_versions
 
+

Detailed Description

+

Platform Information

+

Field Documentation

+ +
+
+ + + + +
char* onlp_platform_info_s::cpld_versions
+
+

CPLD Versions

+

Describes the internal CPLD version numbers, if applicable.

+ +
+
+ +
+
+ + + + +
char* onlp_platform_info_s::other_versions
+
+

Additional version or platform information.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • module/inc/onlplib/pi.h
  • +
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/structonlplib__config__settings__s.html b/packages/base/any/onlp/src/onlplib/doc/html/structonlplib__config__settings__s.html new file mode 100644 index 00000000..49ee93a4 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/structonlplib__config__settings__s.html @@ -0,0 +1,141 @@ + + + + + + +onlplib: onlplib_config_settings_s Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
onlplib_config_settings_s Struct Reference
+
+
+ +

#include <onlplib_config.h>

+ + + + + + +

+Data Fields

const char * name
 
const char * value
 
+

Detailed Description

+

All compile time options can be queried or displayedConfiguration settings structure.

+

Field Documentation

+ +
+
+ + + + +
const char* onlplib_config_settings_s::name
+
+

name

+ +
+
+ +
+
+ + + + +
const char* onlplib_config_settings_s::value
+
+

value

+ +
+
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/sync_off.png b/packages/base/any/onlp/src/onlplib/doc/html/sync_off.png new file mode 100644 index 00000000..3b443fc6 Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/sync_off.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/sync_on.png b/packages/base/any/onlp/src/onlplib/doc/html/sync_on.png new file mode 100644 index 00000000..e08320fb Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/sync_on.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/tab_a.png b/packages/base/any/onlp/src/onlplib/doc/html/tab_a.png new file mode 100644 index 00000000..3b725c41 Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/tab_a.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/tab_b.png b/packages/base/any/onlp/src/onlplib/doc/html/tab_b.png new file mode 100644 index 00000000..e2b4a863 Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/tab_b.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/tab_h.png b/packages/base/any/onlp/src/onlplib/doc/html/tab_h.png new file mode 100644 index 00000000..fd5cb705 Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/tab_h.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/tab_s.png b/packages/base/any/onlp/src/onlplib/doc/html/tab_s.png new file mode 100644 index 00000000..ab478c95 Binary files /dev/null and b/packages/base/any/onlp/src/onlplib/doc/html/tab_s.png differ diff --git a/packages/base/any/onlp/src/onlplib/doc/html/tabs.css b/packages/base/any/onlp/src/onlplib/doc/html/tabs.css new file mode 100644 index 00000000..9cf578f2 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/tabs.css @@ -0,0 +1,60 @@ +.tabs, .tabs2, .tabs3 { + background-image: url('tab_b.png'); + width: 100%; + z-index: 101; + font-size: 13px; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +} + +.tabs2 { + font-size: 10px; +} +.tabs3 { + font-size: 9px; +} + +.tablist { + margin: 0; + padding: 0; + display: table; +} + +.tablist li { + float: left; + display: table-cell; + background-image: url('tab_b.png'); + line-height: 36px; + list-style: none; +} + +.tablist a { + display: block; + padding: 0 20px; + font-weight: bold; + background-image:url('tab_s.png'); + background-repeat:no-repeat; + background-position:right; + color: #283A5D; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; + outline: none; +} + +.tabs3 .tablist a { + padding: 0 10px; +} + +.tablist a:hover { + background-image: url('tab_h.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); + text-decoration: none; +} + +.tablist li.current a { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} diff --git a/packages/base/any/onlp/src/onlplib/doc/html/thermal_8h_source.html b/packages/base/any/onlp/src/onlplib/doc/html/thermal_8h_source.html new file mode 100644 index 00000000..3542609c --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/thermal_8h_source.html @@ -0,0 +1,132 @@ + + + + + + +onlplib: module/inc/onlplib/thermal.h Source File + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
thermal.h
+
+
+
1 /**************************************************************
+
2  * <bsn.cl fy=2014 v=onl>
+
3  *
+
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
+
5  *
+
6  * Licensed under the Eclipse Public License, Version 1.0 (the
+
7  * "License"); you may not use this file except in compliance
+
8  * with the License. You may obtain a copy of the License at
+
9  *
+
10  * http://www.eclipse.org/legal/epl-v10.html
+
11  *
+
12  * Unless required by applicable law or agreed to in writing,
+
13  * software distributed under the License is distributed on an
+
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+
15  * either express or implied. See the License for the specific
+
16  * language governing permissions and limitations under the
+
17  * License.
+
18  *
+
19  * </bsn.cl>
+
20  **************************************************************
+
21  *
+
22  * Common thermal support routines.
+
23  *
+
24  ************************************************************/
+
25 #ifndef __ONLPLIB_THERMAL_H__
+
26 #define __ONLPLIB_THERMAL_H__
+
27 #include <onlplib/onlplib_config.h>
+
28 #include <onlp/thermal.h>
+
34 int onlplib_thermal_read_file(const char* fname, onlp_thermal_info_t* info);
+
35 
+
36 #endif /* __ONLPLIB_THERMAL_H__ */
+
onlplib Configuration Header
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/html/util_8h_source.html b/packages/base/any/onlp/src/onlplib/doc/html/util_8h_source.html new file mode 100644 index 00000000..7479e3ec --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/html/util_8h_source.html @@ -0,0 +1,198 @@ + + + + + + +onlplib: module/inc/onlplib/util.h Source File + + + + + + + + + +
+
+ + + + + + +
+
onlplib +
+
ONLP Common Libraries.
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
util.h
+
+
+
1 /**************************************************************
+
2  * <bsn.cl fy=2014 v=onl>
+
3  *
+
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
+
5  *
+
6  * Licensed under the Eclipse Public License, Version 1.0 (the
+
7  * "License"); you may not use this file except in compliance
+
8  * with the License. You may obtain a copy of the License at
+
9  *
+
10  * http://www.eclipse.org/legal/epl-v10.html
+
11  *
+
12  * Unless required by applicable law or agreed to in writing,
+
13  * software distributed under the License is distributed on an
+
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+
15  * either express or implied. See the License for the specific
+
16  * language governing permissions and limitations under the
+
17  * License.
+
18  *
+
19  * </bsn.cl>
+
20  **************************************************************
+
21  *
+
22  * Utilities
+
23  *
+
24  ************************************************************/
+
25 #ifndef __ONLPLIB_UTIL_H__
+
26 #define __ONLPLIB_UTIL_H__
+
27 
+
28 #include <onlplib/onlplib_config.h>
+
29 
+
30 #define ONLP_BITMASK(_bit) ( 1 << (_bit))
+
31 
+
35 #define ONLP_ACTIVE_LOW_MASKS(_enable, _bitmask, _andmask, _ormask) \
+
36  do { \
+
37  _andmask = (_enable) ? ~(_bitmask) : ~0; \
+
38  _ormask = (_enable) ? 0 : (_bitmask); \
+
39  } while(0)
+
40 
+
41 #define ONLP_ACTIVE_LOW_MASKS_BIT(_enable, _bit, _andmask, _ormask) \
+
42  ONLP_ACTIVE_LOW_MASKS(_enable, (1 << (_bit)), _andmask, _ormask)
+
43 
+
47 #define ONLP_ACTIVE_HIGH_MASKS(_enable, _bitmask, _andmask, _ormask) \
+
48  do { \
+
49  _andmask = (_enable) ? ~0 : ~(_bitmask); \
+
50  _ormask = (_enable) ? (_bitmask) : 0; \
+
51  } while(0)
+
52 
+
53 #define ONLP_ACTIVE_HIGH_MASKS_BIT(_enable, _bit, _andmask, _ormask) \
+
54  ONLP_ACTIVE_HIGH_MASKS(_enable, (1 << (_bit)), _andmask, _ormask)
+
55 
+
56 
+
57 
+
61 #define ONLP_IN_RANGE(_v, _first, _last) \
+
62  (((_v) >= _first) && ((_v) <= _last))
+
63 
+
67 #define ONLP_BIT_POSITION(_size, _v, _offset, _bit) \
+
68  do { \
+
69  _offset = (_v) / (_size); \
+
70  _bit = (_v) % (_size); \
+
71  } while(0)
+
72 
+
73 #define ONLP_BITMASK_POSITION(_size, _v, _offset, _bitmask) \
+
74  do { \
+
75  ONLP_BIT_POSITION(_size, _v, _offset, _bitmask); \
+
76  _bitmask = (1 << _bitmask); \
+
77  } while(0)
+
78 
+
79 #define ONLP_BIT_POSITION_8(_v, _offset, _bit) \
+
80  ONLP_BIT_POSITION(8, _v, _offset, _bit)
+
81 #define ONLP_BITMASK_POSITION_8(_v, _offset, _bitmask) \
+
82  ONLP_BITMASK_POSITION(8, _v, _offset, _bitmask)
+
83 
+
84 #define ONLP_BIT_POSITION_16(_v, _offset, _bit) \
+
85  ONLP_BIT_POSITION(16, _v, _offset, _bit)
+
86 #define ONLP_BITMASK_POSITION_16(_v, _offset, _bitmask) \
+
87  ONLP_BITMASK_POSITION(16, _v, _offset, _bitmask)
+
88 
+
89 #define ONLP_BIT_POSITION_32(_v, _offset, _bit) \
+
90  ONLP_BIT_POSITION(32, _v, _offset, _bit)
+
91 #define ONLP_BITMASK_POSITION_32(_v, _offset, _bitmask) \
+
92  ONLP_BITMASK_POSITION(32, _v, _offset, _bitmask)
+
93 
+
94 
+
95 #define ONLP_VALIDATED_READ_AND_SHIFT_8(_read, _dst, _error) \
+
96  do { \
+
97  int _status = _read ; \
+
98  if(_status < 0) { \
+
99  return _error ; \
+
100  } \
+
101  else { \
+
102  _dst <<= 8; \
+
103  _dst |= _status; \
+
104  } \
+
105  } while(0)
+
106 
+
107 
+
108 
+
109 #endif /* __ONLPLIB_UTIL_H__ */
+
onlplib Configuration Header
+
+ + + + diff --git a/packages/base/any/onlp/src/onlplib/doc/latex/Makefile b/packages/base/any/onlp/src/onlplib/doc/latex/Makefile new file mode 100644 index 00000000..8cc3866f --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/latex/Makefile @@ -0,0 +1,21 @@ +all: refman.pdf + +pdf: refman.pdf + +refman.pdf: clean refman.tex + pdflatex refman + makeindex refman.idx + pdflatex refman + latex_count=8 ; \ + while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ + do \ + echo "Rerunning latex...." ;\ + pdflatex refman ;\ + latex_count=`expr $$latex_count - 1` ;\ + done + makeindex refman.idx + pdflatex refman + + +clean: + rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf diff --git a/packages/base/any/onlp/src/onlplib/doc/latex/annotated.tex b/packages/base/any/onlp/src/onlplib/doc/latex/annotated.tex new file mode 100644 index 00000000..4bba600b --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/latex/annotated.tex @@ -0,0 +1,7 @@ +\section{Data Structures} +Here are the data structures with brief descriptions\+:\begin{DoxyCompactList} +\item\contentsline{section}{\hyperlink{structonlp__onie__info__s}{onlp\+\_\+onie\+\_\+info\+\_\+s} }{\pageref{structonlp__onie__info__s}}{} +\item\contentsline{section}{\hyperlink{structonlp__onie__vx__s}{onlp\+\_\+onie\+\_\+vx\+\_\+s} }{\pageref{structonlp__onie__vx__s}}{} +\item\contentsline{section}{\hyperlink{structonlp__platform__info__s}{onlp\+\_\+platform\+\_\+info\+\_\+s} }{\pageref{structonlp__platform__info__s}}{} +\item\contentsline{section}{\hyperlink{structonlplib__config__settings__s}{onlplib\+\_\+config\+\_\+settings\+\_\+s} }{\pageref{structonlplib__config__settings__s}}{} +\end{DoxyCompactList} diff --git a/packages/base/any/onlp/src/onlplib/doc/latex/dir_3dea1d56c0092d428197e14273c6b711.tex b/packages/base/any/onlp/src/onlplib/doc/latex/dir_3dea1d56c0092d428197e14273c6b711.tex new file mode 100644 index 00000000..4afb5994 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/latex/dir_3dea1d56c0092d428197e14273c6b711.tex @@ -0,0 +1,36 @@ +\hypertarget{dir_3dea1d56c0092d428197e14273c6b711}{\section{module/inc/onlplib Directory Reference} +\label{dir_3dea1d56c0092d428197e14273c6b711}\index{module/inc/onlplib Directory Reference@{module/inc/onlplib Directory Reference}} +} +\subsection*{Files} +\begin{DoxyCompactItemize} +\item +file {\bfseries crc32.\+h} +\item +file {\bfseries file.\+h} +\item +file {\bfseries file\+\_\+uds.\+h} +\item +file {\bfseries gpio.\+h} +\item +file {\bfseries i2c.\+h} +\item +file {\bfseries mmap.\+h} +\item +file {\bfseries onie.\+h} +\item +file \hyperlink{onlplib__config_8h}{onlplib\+\_\+config.\+h} +\begin{DoxyCompactList}\small\item\em onlplib Configuration Header \end{DoxyCompactList}\item +file {\bfseries onlplib\+\_\+dox.\+h} +\item +file \hyperlink{onlplib__porting_8h}{onlplib\+\_\+porting.\+h} +\begin{DoxyCompactList}\small\item\em onlplib Porting Macros. \end{DoxyCompactList}\item +file {\bfseries pi.\+h} +\item +file {\bfseries sfp.\+h} +\item +file {\bfseries shlocks.\+h} +\item +file {\bfseries thermal.\+h} +\item +file {\bfseries util.\+h} +\end{DoxyCompactItemize} diff --git a/packages/base/any/onlp/src/onlplib/doc/latex/dir_9b91cb305f6dfd5edb8153d5019adc55.tex b/packages/base/any/onlp/src/onlplib/doc/latex/dir_9b91cb305f6dfd5edb8153d5019adc55.tex new file mode 100644 index 00000000..232087e7 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/latex/dir_9b91cb305f6dfd5edb8153d5019adc55.tex @@ -0,0 +1,8 @@ +\hypertarget{dir_9b91cb305f6dfd5edb8153d5019adc55}{\section{module/inc Directory Reference} +\label{dir_9b91cb305f6dfd5edb8153d5019adc55}\index{module/inc Directory Reference@{module/inc Directory Reference}} +} +\subsection*{Directories} +\begin{DoxyCompactItemize} +\item +directory \hyperlink{dir_3dea1d56c0092d428197e14273c6b711}{onlplib} +\end{DoxyCompactItemize} diff --git a/packages/base/any/onlp/src/onlplib/doc/latex/dir_a7b0466279106ea0b8f86f609f621680.tex b/packages/base/any/onlp/src/onlplib/doc/latex/dir_a7b0466279106ea0b8f86f609f621680.tex new file mode 100644 index 00000000..7770be5a --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/latex/dir_a7b0466279106ea0b8f86f609f621680.tex @@ -0,0 +1,8 @@ +\hypertarget{dir_a7b0466279106ea0b8f86f609f621680}{\section{module Directory Reference} +\label{dir_a7b0466279106ea0b8f86f609f621680}\index{module Directory Reference@{module Directory Reference}} +} +\subsection*{Directories} +\begin{DoxyCompactItemize} +\item +directory \hyperlink{dir_9b91cb305f6dfd5edb8153d5019adc55}{inc} +\end{DoxyCompactItemize} diff --git a/packages/base/any/onlp/src/onlplib/doc/latex/doxygen.sty b/packages/base/any/onlp/src/onlplib/doc/latex/doxygen.sty new file mode 100644 index 00000000..c423e12d --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/latex/doxygen.sty @@ -0,0 +1,478 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{doxygen} + +% Packages used by this style file +\RequirePackage{alltt} +\RequirePackage{array} +\RequirePackage{calc} +\RequirePackage{float} +\RequirePackage{ifthen} +\RequirePackage{verbatim} +\RequirePackage[table]{xcolor} +\RequirePackage{xtab} + +%---------- Internal commands used in this style file ---------------- + +\newcommand{\ensurespace}[1]{% + \begingroup% + \setlength{\dimen@}{#1}% + \vskip\z@\@plus\dimen@% + \penalty -100\vskip\z@\@plus -\dimen@% + \vskip\dimen@% + \penalty 9999% + \vskip -\dimen@% + \vskip\z@skip% hide the previous |\vskip| from |\addvspace| + \endgroup% +} + +\newcommand{\DoxyLabelFont}{} +\newcommand{\entrylabel}[1]{% + {% + \parbox[b]{\labelwidth-4pt}{% + \makebox[0pt][l]{\DoxyLabelFont#1}% + \vspace{1.5\baselineskip}% + }% + }% +} + +\newenvironment{DoxyDesc}[1]{% + \ensurespace{4\baselineskip}% + \begin{list}{}{% + \settowidth{\labelwidth}{20pt}% + \setlength{\parsep}{0pt}% + \setlength{\itemsep}{0pt}% + \setlength{\leftmargin}{\labelwidth+\labelsep}% + \renewcommand{\makelabel}{\entrylabel}% + }% + \item[#1]% +}{% + \end{list}% +} + +\newsavebox{\xrefbox} +\newlength{\xreflength} +\newcommand{\xreflabel}[1]{% + \sbox{\xrefbox}{#1}% + \setlength{\xreflength}{\wd\xrefbox}% + \ifthenelse{\xreflength>\labelwidth}{% + \begin{minipage}{\textwidth}% + \setlength{\parindent}{0pt}% + \hangindent=15pt\bfseries #1\vspace{1.2\itemsep}% + \end{minipage}% + }{% + \parbox[b]{\labelwidth}{\makebox[0pt][l]{\textbf{#1}}}% + }% +} + +%---------- Commands used by doxygen LaTeX output generator ---------- + +% Used by
 ... 
+\newenvironment{DoxyPre}{% + \small% + \begin{alltt}% +}{% + \end{alltt}% + \normalsize% +} + +% Used by @code ... @endcode +\newenvironment{DoxyCode}{% + \par% + \scriptsize% + \begin{alltt}% +}{% + \end{alltt}% + \normalsize% +} + +% Used by @example, @include, @includelineno and @dontinclude +\newenvironment{DoxyCodeInclude}{% + \DoxyCode% +}{% + \endDoxyCode% +} + +% Used by @verbatim ... @endverbatim +\newenvironment{DoxyVerb}{% + \footnotesize% + \verbatim% +}{% + \endverbatim% + \normalsize% +} + +% Used by @verbinclude +\newenvironment{DoxyVerbInclude}{% + \DoxyVerb% +}{% + \endDoxyVerb% +} + +% Used by numbered lists (using '-#' or
    ...
) +\newenvironment{DoxyEnumerate}{% + \enumerate% +}{% + \endenumerate% +} + +% Used by bullet lists (using '-', @li, @arg, or
    ...
) +\newenvironment{DoxyItemize}{% + \itemize% +}{% + \enditemize% +} + +% Used by description lists (using
...
) +\newenvironment{DoxyDescription}{% + \description% +}{% + \enddescription% +} + +% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc +% (only if caption is specified) +\newenvironment{DoxyImage}{% + \begin{figure}[H]% + \begin{center}% +}{% + \end{center}% + \end{figure}% +} + +% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc +% (only if no caption is specified) +\newenvironment{DoxyImageNoCaption}{% +}{% +} + +% Used by @attention +\newenvironment{DoxyAttention}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @author and @authors +\newenvironment{DoxyAuthor}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @date +\newenvironment{DoxyDate}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @invariant +\newenvironment{DoxyInvariant}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @note +\newenvironment{DoxyNote}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @post +\newenvironment{DoxyPostcond}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @pre +\newenvironment{DoxyPrecond}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @copyright +\newenvironment{DoxyCopyright}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @remark +\newenvironment{DoxyRemark}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @return and @returns +\newenvironment{DoxyReturn}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @since +\newenvironment{DoxySince}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @see +\newenvironment{DoxySeeAlso}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @version +\newenvironment{DoxyVersion}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @warning +\newenvironment{DoxyWarning}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @internal +\newenvironment{DoxyInternal}[1]{% + \paragraph*{#1}% +}{% +} + +% Used by @par and @paragraph +\newenvironment{DoxyParagraph}[1]{% + \begin{list}{}{% + \settowidth{\labelwidth}{40pt}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\parsep}{0pt}% + \setlength{\itemsep}{-4pt}% + \renewcommand{\makelabel}{\entrylabel}% + }% + \item[#1]% +}{% + \end{list}% +} + +% Used by parameter lists +\newenvironment{DoxyParams}[2][]{% + \par% + \tabletail{\hline}% + \tablelasttail{\hline}% + \tablefirsthead{}% + \tablehead{}% + \ifthenelse{\equal{#1}{}}% + {\tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]}% + \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% + p{0.805\textwidth}|}}% + {\ifthenelse{\equal{#1}{1}}% + {\tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]}% + \begin{xtabular}{|>{\centering}p{0.10\textwidth}|% + >{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% + p{0.678\textwidth}|}}% + {\tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]}% + \begin{xtabular}{|>{\centering}p{0.10\textwidth}|% + >{\centering\hspace{0pt}}p{0.15\textwidth}|% + >{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% + p{0.501\textwidth}|}}% + }\hline% +}{% + \end{xtabular}% + \tablefirsthead{}% + \vspace{6pt}% +} + +% Used for fields of simple structs +\newenvironment{DoxyFields}[1]{% + \par% + \tabletail{\hline}% + \tablelasttail{\hline}% + \tablehead{}% + \tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]}% + \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% + p{0.15\textwidth}|% + p{0.63\textwidth}|}% + \hline% +}{% + \end{xtabular}% + \tablefirsthead{}% + \vspace{6pt}% +} + +% Used for parameters within a detailed function description +\newenvironment{DoxyParamCaption}{% + \renewcommand{\item}[2][]{##1 {\em ##2}}% +}{% +} + +% Used by return value lists +\newenvironment{DoxyRetVals}[1]{% + \par% + \tabletail{\hline}% + \tablelasttail{\hline}% + \tablehead{}% + \tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]}% + \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% + p{0.705\textwidth}|}% + \hline% +}{% + \end{xtabular}% + \tablefirsthead{}% + \vspace{6pt}% +} + +% Used by exception lists +\newenvironment{DoxyExceptions}[1]{% + \par% + \tabletail{\hline}% + \tablelasttail{\hline}% + \tablehead{}% + \tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]}% + \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% + p{0.705\textwidth}|}% + \hline% +}{% + \end{xtabular}% + \tablefirsthead{}% + \vspace{6pt}% +} + +% Used by template parameter lists +\newenvironment{DoxyTemplParams}[1]{% + \par% + \tabletail{\hline}% + \tablelasttail{\hline}% + \tablehead{}% + \tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]}% + \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% + p{0.705\textwidth}|}% + \hline% +}{% + \end{xtabular}% + \tablefirsthead{}% + \vspace{6pt}% +} + +% Used for member lists +\newenvironment{DoxyCompactItemize}{% + \begin{itemize}% + \setlength{\itemsep}{-3pt}% + \setlength{\parsep}{0pt}% + \setlength{\topsep}{0pt}% + \setlength{\partopsep}{0pt}% +}{% + \end{itemize}% +} + +% Used for member descriptions +\newenvironment{DoxyCompactList}{% + \begin{list}{}{% + \setlength{\leftmargin}{0.5cm}% + \setlength{\itemsep}{0pt}% + \setlength{\parsep}{0pt}% + \setlength{\topsep}{0pt}% + \renewcommand{\makelabel}{\hfill}% + }% +}{% + \end{list}% +} + +% Used for reference lists (@bug, @deprecated, @todo, etc.) +\newenvironment{DoxyRefList}{% + \begin{list}{}{% + \setlength{\labelwidth}{10pt}% + \setlength{\leftmargin}{\labelwidth}% + \addtolength{\leftmargin}{\labelsep}% + \renewcommand{\makelabel}{\xreflabel}% + }% +}{% + \end{list}% +} + +% Used by @bug, @deprecated, @todo, etc. +\newenvironment{DoxyRefDesc}[1]{% + \begin{list}{}{% + \renewcommand\makelabel[1]{\textbf{##1}}% + \settowidth\labelwidth{\makelabel{#1}}% + \setlength\leftmargin{\labelwidth+\labelsep}% + }% +}{% + \end{list}% +} + +% Used by parameter lists and simple sections +\newenvironment{Desc} +{\begin{list}{}{% + \settowidth{\labelwidth}{40pt}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\parsep}{0pt}% + \setlength{\itemsep}{-4pt}% + \renewcommand{\makelabel}{\entrylabel}% + } +}{% + \end{list}% +} + +% Used by tables +\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp}% +\newlength{\tmplength}% +\newenvironment{TabularC}[1]% +{% +\setlength{\tmplength}% + {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)}% + \par\begin{xtabular*}{\linewidth}% + {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|}% +}% +{\end{xtabular*}\par}% + +% Used by nested tables +\newenvironment{TabularNC}[1]% +{% +\setlength{\tmplength}% + {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)}% + \par\begin{tabular*}{\linewidth}% + {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|}% +}% +{\end{tabular*}\par}% + +% Used for member group headers +\newenvironment{Indent}{% + \begin{list}{}{% + \setlength{\leftmargin}{0.5cm}% + }% + \item[]\ignorespaces% +}{% + \unskip% + \end{list}% +} + +% Used when hyperlinks are turned off +\newcommand{\doxyref}[3]{% + \textbf{#1} (\textnormal{#2}\,\pageref{#3})% +} + +% Used by @addindex +\newcommand{\lcurly}{\{} +\newcommand{\rcurly}{\}} + +% Used for syntax highlighting +\definecolor{comment}{rgb}{0.5,0.0,0.0} +\definecolor{keyword}{rgb}{0.0,0.5,0.0} +\definecolor{keywordtype}{rgb}{0.38,0.25,0.125} +\definecolor{keywordflow}{rgb}{0.88,0.5,0.0} +\definecolor{preprocessor}{rgb}{0.5,0.38,0.125} +\definecolor{stringliteral}{rgb}{0.0,0.125,0.25} +\definecolor{charliteral}{rgb}{0.0,0.5,0.5} +\definecolor{vhdldigit}{rgb}{1.0,0.0,1.0} +\definecolor{vhdlkeyword}{rgb}{0.43,0.0,0.43} +\definecolor{vhdllogic}{rgb}{1.0,0.0,0.0} +\definecolor{vhdlchar}{rgb}{0.0,0.0,0.0} diff --git a/packages/base/any/onlp/src/onlplib/doc/latex/files.tex b/packages/base/any/onlp/src/onlplib/doc/latex/files.tex new file mode 100644 index 00000000..9077a186 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/latex/files.tex @@ -0,0 +1,18 @@ +\section{File List} +Here is a list of all documented files with brief descriptions\+:\begin{DoxyCompactList} +\item\contentsline{section}{module/inc/onlplib/{\bfseries crc32.\+h} }{\pageref{crc32_8h}}{} +\item\contentsline{section}{module/inc/onlplib/{\bfseries file.\+h} }{\pageref{file_8h}}{} +\item\contentsline{section}{module/inc/onlplib/{\bfseries file\+\_\+uds.\+h} }{\pageref{file__uds_8h}}{} +\item\contentsline{section}{module/inc/onlplib/{\bfseries gpio.\+h} }{\pageref{gpio_8h}}{} +\item\contentsline{section}{module/inc/onlplib/{\bfseries i2c.\+h} }{\pageref{i2c_8h}}{} +\item\contentsline{section}{module/inc/onlplib/{\bfseries mmap.\+h} }{\pageref{mmap_8h}}{} +\item\contentsline{section}{module/inc/onlplib/{\bfseries onie.\+h} }{\pageref{onie_8h}}{} +\item\contentsline{section}{module/inc/onlplib/\hyperlink{onlplib__config_8h}{onlplib\+\_\+config.\+h} \\*Onlplib Configuration Header }{\pageref{onlplib__config_8h}}{} +\item\contentsline{section}{module/inc/onlplib/{\bfseries onlplib\+\_\+dox.\+h} }{\pageref{onlplib__dox_8h}}{} +\item\contentsline{section}{module/inc/onlplib/\hyperlink{onlplib__porting_8h}{onlplib\+\_\+porting.\+h} \\*Onlplib Porting Macros }{\pageref{onlplib__porting_8h}}{} +\item\contentsline{section}{module/inc/onlplib/{\bfseries pi.\+h} }{\pageref{pi_8h}}{} +\item\contentsline{section}{module/inc/onlplib/{\bfseries sfp.\+h} }{\pageref{sfp_8h}}{} +\item\contentsline{section}{module/inc/onlplib/{\bfseries shlocks.\+h} }{\pageref{shlocks_8h}}{} +\item\contentsline{section}{module/inc/onlplib/{\bfseries thermal.\+h} }{\pageref{thermal_8h}}{} +\item\contentsline{section}{module/inc/onlplib/{\bfseries util.\+h} }{\pageref{util_8h}}{} +\end{DoxyCompactList} diff --git a/packages/base/any/onlp/src/onlplib/doc/latex/group__onlplib-config.tex b/packages/base/any/onlp/src/onlplib/doc/latex/group__onlplib-config.tex new file mode 100644 index 00000000..6752c1e5 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/latex/group__onlplib-config.tex @@ -0,0 +1,160 @@ +\hypertarget{group__onlplib-config}{\section{Compile Time Configuration} +\label{group__onlplib-config}\index{Compile Time Configuration@{Compile Time Configuration}} +} +\subsection*{Data Structures} +\begin{DoxyCompactItemize} +\item +struct \hyperlink{structonlplib__config__settings__s}{onlplib\+\_\+config\+\_\+settings\+\_\+s} +\end{DoxyCompactItemize} +\subsection*{Macros} +\begin{DoxyCompactItemize} +\item +\#define \hyperlink{group__onlplib-config_gad8175cd4116cb1e3ea0758836c119cbc}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+L\+O\+G\+G\+I\+N\+G}~1 +\item +\#define \hyperlink{group__onlplib-config_ga2a6ff3d7d9eb360374a05258bd9d0027}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+O\+P\+T\+I\+O\+N\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T}~A\+I\+M\+\_\+\+L\+O\+G\+\_\+\+O\+P\+T\+I\+O\+N\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T +\item +\#define \hyperlink{group__onlplib-config_ga1db2ad2b4c0400580ff0afa4e63858b6}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T}~A\+I\+M\+\_\+\+L\+O\+G\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T +\item +\#define \hyperlink{group__onlplib-config_gabd8ec32f33cf910c6ca556473f7b0d6f}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T}~0 +\item +\#define \hyperlink{group__onlplib-config_ga302f795ad8b5a94d7106a09fa43c33fb}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+S\+T\+D\+L\+I\+B}~1 +\item +\#define \hyperlink{group__onlplib-config_ga8e32626fe42db3048ce8866d15551a82}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+S\+T\+D\+L\+I\+B\+\_\+\+H\+E\+A\+D\+E\+R\+S}~\hyperlink{group__onlplib-config_ga302f795ad8b5a94d7106a09fa43c33fb}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+S\+T\+D\+L\+I\+B} +\item +\#define \hyperlink{group__onlplib-config_ga20f364c8998cfb22bfc8cbf0a7932133}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+U\+C\+L\+I}~0 +\item +\#define \hyperlink{group__onlplib-config_gaf4e7be22bed4fe886ed9f2f0f888eff2}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+I2\+C}~1 +\item +\#define \hyperlink{group__onlplib-config_ga866d8aa98da341583de0a79c0f8ea06f}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+B\+L\+O\+C\+K\+\_\+\+S\+I\+Z\+E}~32 +\item +\#define \hyperlink{group__onlplib-config_gab5ad0583ab6038e0f03e82a969ed1909}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+R\+E\+A\+D\+\_\+\+R\+E\+T\+R\+Y\+\_\+\+C\+O\+U\+N\+T}~16 +\item +\#define \hyperlink{group__onlplib-config_gac9796fabefa4088a6ce94204a9834063}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+U\+S\+E\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+H\+E\+A\+D\+E\+R}~1 +\end{DoxyCompactItemize} +\subsection*{Typedefs} +\begin{DoxyCompactItemize} +\item +typedef struct \\* +\hyperlink{structonlplib__config__settings__s}{onlplib\+\_\+config\+\_\+settings\+\_\+s} \hyperlink{group__onlplib-config_ga893327b4949ae66bf46b7e455922be32}{onlplib\+\_\+config\+\_\+settings\+\_\+t} +\end{DoxyCompactItemize} +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +const char $\ast$ \hyperlink{group__onlplib-config_ga173a1bd1f1c02ff430714ee90b7dc367}{onlplib\+\_\+config\+\_\+lookup} (const char $\ast$setting) +\begin{DoxyCompactList}\small\item\em Lookup a configuration setting. \end{DoxyCompactList}\item +int \hyperlink{group__onlplib-config_ga792b2b68d162facde1416432151490f5}{onlplib\+\_\+config\+\_\+show} (struct aim\+\_\+pvs\+\_\+s $\ast$pvs) +\begin{DoxyCompactList}\small\item\em Show the compile-\/time configuration. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Variables} +\begin{DoxyCompactItemize} +\item +\hyperlink{group__onlplib-config_ga893327b4949ae66bf46b7e455922be32}{onlplib\+\_\+config\+\_\+settings\+\_\+t} \hyperlink{group__onlplib-config_ga684d29e51f4e9bd7961adcd8871e745d}{onlplib\+\_\+config\+\_\+settings} \mbox{[}$\,$\mbox{]} +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} + + +\subsection{Macro Definition Documentation} +\hypertarget{group__onlplib-config_ga866d8aa98da341583de0a79c0f8ea06f}{\index{Compile Time Configuration@{Compile Time Configuration}!O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+B\+L\+O\+C\+K\+\_\+\+S\+I\+Z\+E@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+B\+L\+O\+C\+K\+\_\+\+S\+I\+Z\+E}} +\index{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+B\+L\+O\+C\+K\+\_\+\+S\+I\+Z\+E@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+B\+L\+O\+C\+K\+\_\+\+S\+I\+Z\+E}!Compile Time Configuration@{Compile Time Configuration}} +\subsubsection[{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+B\+L\+O\+C\+K\+\_\+\+S\+I\+Z\+E}]{\setlength{\rightskip}{0pt plus 5cm}\#define O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+B\+L\+O\+C\+K\+\_\+\+S\+I\+Z\+E~32}}\label{group__onlplib-config_ga866d8aa98da341583de0a79c0f8ea06f} +O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+B\+L\+O\+C\+K\+\_\+\+S\+I\+Z\+E + +Maximum read and write block size. \hypertarget{group__onlplib-config_gab5ad0583ab6038e0f03e82a969ed1909}{\index{Compile Time Configuration@{Compile Time Configuration}!O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+R\+E\+A\+D\+\_\+\+R\+E\+T\+R\+Y\+\_\+\+C\+O\+U\+N\+T@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+R\+E\+A\+D\+\_\+\+R\+E\+T\+R\+Y\+\_\+\+C\+O\+U\+N\+T}} +\index{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+R\+E\+A\+D\+\_\+\+R\+E\+T\+R\+Y\+\_\+\+C\+O\+U\+N\+T@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+R\+E\+A\+D\+\_\+\+R\+E\+T\+R\+Y\+\_\+\+C\+O\+U\+N\+T}!Compile Time Configuration@{Compile Time Configuration}} +\subsubsection[{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+R\+E\+A\+D\+\_\+\+R\+E\+T\+R\+Y\+\_\+\+C\+O\+U\+N\+T}]{\setlength{\rightskip}{0pt plus 5cm}\#define O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+R\+E\+A\+D\+\_\+\+R\+E\+T\+R\+Y\+\_\+\+C\+O\+U\+N\+T~16}}\label{group__onlplib-config_gab5ad0583ab6038e0f03e82a969ed1909} +O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+R\+E\+A\+D\+\_\+\+R\+E\+T\+R\+Y\+\_\+\+C\+O\+U\+N\+T + +The number of I2\+C read retry attempts (if enabled). \hypertarget{group__onlplib-config_gac9796fabefa4088a6ce94204a9834063}{\index{Compile Time Configuration@{Compile Time Configuration}!O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+U\+S\+E\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+H\+E\+A\+D\+E\+R@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+U\+S\+E\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+H\+E\+A\+D\+E\+R}} +\index{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+U\+S\+E\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+H\+E\+A\+D\+E\+R@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+U\+S\+E\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+H\+E\+A\+D\+E\+R}!Compile Time Configuration@{Compile Time Configuration}} +\subsubsection[{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+U\+S\+E\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+H\+E\+A\+D\+E\+R}]{\setlength{\rightskip}{0pt plus 5cm}\#define O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+U\+S\+E\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+H\+E\+A\+D\+E\+R~1}}\label{group__onlplib-config_gac9796fabefa4088a6ce94204a9834063} +O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+U\+S\+E\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+H\+E\+A\+D\+E\+R + +Include the custom i2c header (include/linux/i2c-\/devices.\+h) to avoid conflicts with the kernel and i2c-\/dev packages. \hypertarget{group__onlplib-config_gaf4e7be22bed4fe886ed9f2f0f888eff2}{\index{Compile Time Configuration@{Compile Time Configuration}!O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+I2\+C@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+I2\+C}} +\index{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+I2\+C@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+I2\+C}!Compile Time Configuration@{Compile Time Configuration}} +\subsubsection[{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+I2\+C}]{\setlength{\rightskip}{0pt plus 5cm}\#define O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+I2\+C~1}}\label{group__onlplib-config_gaf4e7be22bed4fe886ed9f2f0f888eff2} +O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+I2\+C + +Include Userspace I2\+C support. \hypertarget{group__onlplib-config_gad8175cd4116cb1e3ea0758836c119cbc}{\index{Compile Time Configuration@{Compile Time Configuration}!O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+L\+O\+G\+G\+I\+N\+G@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+L\+O\+G\+G\+I\+N\+G}} +\index{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+L\+O\+G\+G\+I\+N\+G@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+L\+O\+G\+G\+I\+N\+G}!Compile Time Configuration@{Compile Time Configuration}} +\subsubsection[{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+L\+O\+G\+G\+I\+N\+G}]{\setlength{\rightskip}{0pt plus 5cm}\#define O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+L\+O\+G\+G\+I\+N\+G~1}}\label{group__onlplib-config_gad8175cd4116cb1e3ea0758836c119cbc} +O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+L\+O\+G\+G\+I\+N\+G + +Include or exclude logging. \hypertarget{group__onlplib-config_ga20f364c8998cfb22bfc8cbf0a7932133}{\index{Compile Time Configuration@{Compile Time Configuration}!O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+U\+C\+L\+I@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+U\+C\+L\+I}} +\index{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+U\+C\+L\+I@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+U\+C\+L\+I}!Compile Time Configuration@{Compile Time Configuration}} +\subsubsection[{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+U\+C\+L\+I}]{\setlength{\rightskip}{0pt plus 5cm}\#define O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+U\+C\+L\+I~0}}\label{group__onlplib-config_ga20f364c8998cfb22bfc8cbf0a7932133} +O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+U\+C\+L\+I + +Include generic u\+Cli support. \hypertarget{group__onlplib-config_ga1db2ad2b4c0400580ff0afa4e63858b6}{\index{Compile Time Configuration@{Compile Time Configuration}!O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T}} +\index{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T}!Compile Time Configuration@{Compile Time Configuration}} +\subsubsection[{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T}]{\setlength{\rightskip}{0pt plus 5cm}\#define O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T~A\+I\+M\+\_\+\+L\+O\+G\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T}}\label{group__onlplib-config_ga1db2ad2b4c0400580ff0afa4e63858b6} +O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T + +Default enabled log bits. \hypertarget{group__onlplib-config_gabd8ec32f33cf910c6ca556473f7b0d6f}{\index{Compile Time Configuration@{Compile Time Configuration}!O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T}} +\index{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T}!Compile Time Configuration@{Compile Time Configuration}} +\subsubsection[{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T}]{\setlength{\rightskip}{0pt plus 5cm}\#define O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T~0}}\label{group__onlplib-config_gabd8ec32f33cf910c6ca556473f7b0d6f} +O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T + +Default enabled custom log bits. \hypertarget{group__onlplib-config_ga2a6ff3d7d9eb360374a05258bd9d0027}{\index{Compile Time Configuration@{Compile Time Configuration}!O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+O\+P\+T\+I\+O\+N\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+O\+P\+T\+I\+O\+N\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T}} +\index{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+O\+P\+T\+I\+O\+N\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+O\+P\+T\+I\+O\+N\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T}!Compile Time Configuration@{Compile Time Configuration}} +\subsubsection[{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+O\+P\+T\+I\+O\+N\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T}]{\setlength{\rightskip}{0pt plus 5cm}\#define O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+O\+P\+T\+I\+O\+N\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T~A\+I\+M\+\_\+\+L\+O\+G\+\_\+\+O\+P\+T\+I\+O\+N\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T}}\label{group__onlplib-config_ga2a6ff3d7d9eb360374a05258bd9d0027} +O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+O\+P\+T\+I\+O\+N\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T + +Default enabled log options. \hypertarget{group__onlplib-config_ga8e32626fe42db3048ce8866d15551a82}{\index{Compile Time Configuration@{Compile Time Configuration}!O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+S\+T\+D\+L\+I\+B\+\_\+\+H\+E\+A\+D\+E\+R\+S@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+S\+T\+D\+L\+I\+B\+\_\+\+H\+E\+A\+D\+E\+R\+S}} +\index{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+S\+T\+D\+L\+I\+B\+\_\+\+H\+E\+A\+D\+E\+R\+S@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+S\+T\+D\+L\+I\+B\+\_\+\+H\+E\+A\+D\+E\+R\+S}!Compile Time Configuration@{Compile Time Configuration}} +\subsubsection[{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+S\+T\+D\+L\+I\+B\+\_\+\+H\+E\+A\+D\+E\+R\+S}]{\setlength{\rightskip}{0pt plus 5cm}\#define O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+S\+T\+D\+L\+I\+B\+\_\+\+H\+E\+A\+D\+E\+R\+S~{\bf O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+S\+T\+D\+L\+I\+B}}}\label{group__onlplib-config_ga8e32626fe42db3048ce8866d15551a82} +O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+S\+T\+D\+L\+I\+B\+\_\+\+H\+E\+A\+D\+E\+R\+S + +Include standard library headers for stdlib porting macros. \hypertarget{group__onlplib-config_ga302f795ad8b5a94d7106a09fa43c33fb}{\index{Compile Time Configuration@{Compile Time Configuration}!O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+S\+T\+D\+L\+I\+B@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+S\+T\+D\+L\+I\+B}} +\index{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+S\+T\+D\+L\+I\+B@{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+S\+T\+D\+L\+I\+B}!Compile Time Configuration@{Compile Time Configuration}} +\subsubsection[{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+S\+T\+D\+L\+I\+B}]{\setlength{\rightskip}{0pt plus 5cm}\#define O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+S\+T\+D\+L\+I\+B~1}}\label{group__onlplib-config_ga302f795ad8b5a94d7106a09fa43c33fb} +O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+S\+T\+D\+L\+I\+B + +Default all porting macros to use the C standard libraries. + +\subsection{Typedef Documentation} +\hypertarget{group__onlplib-config_ga893327b4949ae66bf46b7e455922be32}{\index{Compile Time Configuration@{Compile Time Configuration}!onlplib\+\_\+config\+\_\+settings\+\_\+t@{onlplib\+\_\+config\+\_\+settings\+\_\+t}} +\index{onlplib\+\_\+config\+\_\+settings\+\_\+t@{onlplib\+\_\+config\+\_\+settings\+\_\+t}!Compile Time Configuration@{Compile Time Configuration}} +\subsubsection[{onlplib\+\_\+config\+\_\+settings\+\_\+t}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf onlplib\+\_\+config\+\_\+settings\+\_\+s} {\bf onlplib\+\_\+config\+\_\+settings\+\_\+t}}}\label{group__onlplib-config_ga893327b4949ae66bf46b7e455922be32} +All compile time options can be queried or displayed\+Configuration settings structure. + +\subsection{Function Documentation} +\hypertarget{group__onlplib-config_ga173a1bd1f1c02ff430714ee90b7dc367}{\index{Compile Time Configuration@{Compile Time Configuration}!onlplib\+\_\+config\+\_\+lookup@{onlplib\+\_\+config\+\_\+lookup}} +\index{onlplib\+\_\+config\+\_\+lookup@{onlplib\+\_\+config\+\_\+lookup}!Compile Time Configuration@{Compile Time Configuration}} +\subsubsection[{onlplib\+\_\+config\+\_\+lookup}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ onlplib\+\_\+config\+\_\+lookup ( +\begin{DoxyParamCaption} +\item[{const char $\ast$}]{setting} +\end{DoxyParamCaption} +)}}\label{group__onlplib-config_ga173a1bd1f1c02ff430714ee90b7dc367} + + +Lookup a configuration setting. + + +\begin{DoxyParams}{Parameters} +{\em setting} & The name of the configuration option to lookup. \\ +\hline +\end{DoxyParams} +\hypertarget{group__onlplib-config_ga792b2b68d162facde1416432151490f5}{\index{Compile Time Configuration@{Compile Time Configuration}!onlplib\+\_\+config\+\_\+show@{onlplib\+\_\+config\+\_\+show}} +\index{onlplib\+\_\+config\+\_\+show@{onlplib\+\_\+config\+\_\+show}!Compile Time Configuration@{Compile Time Configuration}} +\subsubsection[{onlplib\+\_\+config\+\_\+show}]{\setlength{\rightskip}{0pt plus 5cm}int onlplib\+\_\+config\+\_\+show ( +\begin{DoxyParamCaption} +\item[{struct aim\+\_\+pvs\+\_\+s $\ast$}]{pvs} +\end{DoxyParamCaption} +)}}\label{group__onlplib-config_ga792b2b68d162facde1416432151490f5} + + +Show the compile-\/time configuration. + + +\begin{DoxyParams}{Parameters} +{\em pvs} & The output stream. \\ +\hline +\end{DoxyParams} + + +\subsection{Variable Documentation} +\hypertarget{group__onlplib-config_ga684d29e51f4e9bd7961adcd8871e745d}{\index{Compile Time Configuration@{Compile Time Configuration}!onlplib\+\_\+config\+\_\+settings@{onlplib\+\_\+config\+\_\+settings}} +\index{onlplib\+\_\+config\+\_\+settings@{onlplib\+\_\+config\+\_\+settings}!Compile Time Configuration@{Compile Time Configuration}} +\subsubsection[{onlplib\+\_\+config\+\_\+settings}]{\setlength{\rightskip}{0pt plus 5cm}{\bf onlplib\+\_\+config\+\_\+settings\+\_\+t} onlplib\+\_\+config\+\_\+settings\mbox{[}$\,$\mbox{]}}}\label{group__onlplib-config_ga684d29e51f4e9bd7961adcd8871e745d} +Configuration settings table. onlplib\+\_\+config\+\_\+settings table. \ No newline at end of file diff --git a/packages/base/any/onlp/src/onlplib/doc/latex/group__onlplib-onlplib.tex b/packages/base/any/onlp/src/onlplib/doc/latex/group__onlplib-onlplib.tex new file mode 100644 index 00000000..0f286c90 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/latex/group__onlplib-onlplib.tex @@ -0,0 +1,3 @@ +\hypertarget{group__onlplib-onlplib}{\section{Public Interface} +\label{group__onlplib-onlplib}\index{Public Interface@{Public Interface}} +} diff --git a/packages/base/any/onlp/src/onlplib/doc/latex/group__onlplib-porting.tex b/packages/base/any/onlp/src/onlplib/doc/latex/group__onlplib-porting.tex new file mode 100644 index 00000000..d381c7dc --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/latex/group__onlplib-porting.tex @@ -0,0 +1,3 @@ +\hypertarget{group__onlplib-porting}{\section{Porting Macros} +\label{group__onlplib-porting}\index{Porting Macros@{Porting Macros}} +} diff --git a/packages/base/any/onlp/src/onlplib/doc/latex/group__onlplib.tex b/packages/base/any/onlp/src/onlplib/doc/latex/group__onlplib.tex new file mode 100644 index 00000000..9562bbf6 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/latex/group__onlplib.tex @@ -0,0 +1,18 @@ +\hypertarget{group__onlplib}{\section{onlplib -\/ onlplib Description} +\label{group__onlplib}\index{onlplib -\/ onlplib Description@{onlplib -\/ onlplib Description}} +} +\subsection*{Modules} +\begin{DoxyCompactItemize} +\item +\hyperlink{group__onlplib-onlplib}{Public Interface} +\item +\hyperlink{group__onlplib-config}{Compile Time Configuration} +\item +\hyperlink{group__onlplib-porting}{Porting Macros} +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +onlplib Doxygen Header + +The documentation overview for this module should go here. \ No newline at end of file diff --git a/packages/base/any/onlp/src/onlplib/doc/latex/modules.tex b/packages/base/any/onlp/src/onlplib/doc/latex/modules.tex new file mode 100644 index 00000000..19a29757 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/latex/modules.tex @@ -0,0 +1,9 @@ +\section{Modules} +Here is a list of all modules\+:\begin{DoxyCompactList} +\item \contentsline{section}{onlplib -\/ onlplib Description}{\pageref{group__onlplib}}{} +\begin{DoxyCompactList} +\item \contentsline{section}{Public Interface}{\pageref{group__onlplib-onlplib}}{} +\item \contentsline{section}{Compile Time Configuration}{\pageref{group__onlplib-config}}{} +\item \contentsline{section}{Porting Macros}{\pageref{group__onlplib-porting}}{} +\end{DoxyCompactList} +\end{DoxyCompactList} diff --git a/packages/base/any/onlp/src/onlplib/doc/latex/onlplib__config_8h.tex b/packages/base/any/onlp/src/onlplib/doc/latex/onlplib__config_8h.tex new file mode 100644 index 00000000..b6ce3673 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/latex/onlplib__config_8h.tex @@ -0,0 +1,63 @@ +\hypertarget{onlplib__config_8h}{\section{module/inc/onlplib/onlplib\+\_\+config.h File Reference} +\label{onlplib__config_8h}\index{module/inc/onlplib/onlplib\+\_\+config.\+h@{module/inc/onlplib/onlplib\+\_\+config.\+h}} +} + + +onlplib Configuration Header + + +{\ttfamily \#include $<$A\+I\+M/aim.\+h$>$}\\* +{\ttfamily \#include \char`\"{}onlplib\+\_\+porting.\+h\char`\"{}}\\* +\subsection*{Data Structures} +\begin{DoxyCompactItemize} +\item +struct \hyperlink{structonlplib__config__settings__s}{onlplib\+\_\+config\+\_\+settings\+\_\+s} +\end{DoxyCompactItemize} +\subsection*{Macros} +\begin{DoxyCompactItemize} +\item +\#define \hyperlink{group__onlplib-config_gad8175cd4116cb1e3ea0758836c119cbc}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+L\+O\+G\+G\+I\+N\+G}~1 +\item +\#define \hyperlink{group__onlplib-config_ga2a6ff3d7d9eb360374a05258bd9d0027}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+O\+P\+T\+I\+O\+N\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T}~A\+I\+M\+\_\+\+L\+O\+G\+\_\+\+O\+P\+T\+I\+O\+N\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T +\item +\#define \hyperlink{group__onlplib-config_ga1db2ad2b4c0400580ff0afa4e63858b6}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T}~A\+I\+M\+\_\+\+L\+O\+G\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T +\item +\#define \hyperlink{group__onlplib-config_gabd8ec32f33cf910c6ca556473f7b0d6f}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+L\+O\+G\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+B\+I\+T\+S\+\_\+\+D\+E\+F\+A\+U\+L\+T}~0 +\item +\#define \hyperlink{group__onlplib-config_ga302f795ad8b5a94d7106a09fa43c33fb}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+S\+T\+D\+L\+I\+B}~1 +\item +\#define \hyperlink{group__onlplib-config_ga8e32626fe42db3048ce8866d15551a82}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+S\+T\+D\+L\+I\+B\+\_\+\+H\+E\+A\+D\+E\+R\+S}~\hyperlink{group__onlplib-config_ga302f795ad8b5a94d7106a09fa43c33fb}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+P\+O\+R\+T\+I\+N\+G\+\_\+\+S\+T\+D\+L\+I\+B} +\item +\#define \hyperlink{group__onlplib-config_ga20f364c8998cfb22bfc8cbf0a7932133}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+U\+C\+L\+I}~0 +\item +\#define \hyperlink{group__onlplib-config_gaf4e7be22bed4fe886ed9f2f0f888eff2}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+C\+L\+U\+D\+E\+\_\+\+I2\+C}~1 +\item +\#define \hyperlink{group__onlplib-config_ga866d8aa98da341583de0a79c0f8ea06f}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+B\+L\+O\+C\+K\+\_\+\+S\+I\+Z\+E}~32 +\item +\#define \hyperlink{group__onlplib-config_gab5ad0583ab6038e0f03e82a969ed1909}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+R\+E\+A\+D\+\_\+\+R\+E\+T\+R\+Y\+\_\+\+C\+O\+U\+N\+T}~16 +\item +\#define \hyperlink{group__onlplib-config_gac9796fabefa4088a6ce94204a9834063}{O\+N\+L\+P\+L\+I\+B\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I2\+C\+\_\+\+U\+S\+E\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+H\+E\+A\+D\+E\+R}~1 +\end{DoxyCompactItemize} +\subsection*{Typedefs} +\begin{DoxyCompactItemize} +\item +typedef struct \\* +\hyperlink{structonlplib__config__settings__s}{onlplib\+\_\+config\+\_\+settings\+\_\+s} \hyperlink{group__onlplib-config_ga893327b4949ae66bf46b7e455922be32}{onlplib\+\_\+config\+\_\+settings\+\_\+t} +\end{DoxyCompactItemize} +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +const char $\ast$ \hyperlink{group__onlplib-config_ga173a1bd1f1c02ff430714ee90b7dc367}{onlplib\+\_\+config\+\_\+lookup} (const char $\ast$setting) +\begin{DoxyCompactList}\small\item\em Lookup a configuration setting. \end{DoxyCompactList}\item +int \hyperlink{group__onlplib-config_ga792b2b68d162facde1416432151490f5}{onlplib\+\_\+config\+\_\+show} (struct aim\+\_\+pvs\+\_\+s $\ast$pvs) +\begin{DoxyCompactList}\small\item\em Show the compile-\/time configuration. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Variables} +\begin{DoxyCompactItemize} +\item +\hyperlink{group__onlplib-config_ga893327b4949ae66bf46b7e455922be32}{onlplib\+\_\+config\+\_\+settings\+\_\+t} \hyperlink{group__onlplib-config_ga684d29e51f4e9bd7961adcd8871e745d}{onlplib\+\_\+config\+\_\+settings} \mbox{[}$\,$\mbox{]} +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +onlplib Configuration Header + diff --git a/packages/base/any/onlp/src/onlplib/doc/latex/onlplib__porting_8h.tex b/packages/base/any/onlp/src/onlplib/doc/latex/onlplib__porting_8h.tex new file mode 100644 index 00000000..79cd8983 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/latex/onlplib__porting_8h.tex @@ -0,0 +1,18 @@ +\hypertarget{onlplib__porting_8h}{\section{module/inc/onlplib/onlplib\+\_\+porting.h File Reference} +\label{onlplib__porting_8h}\index{module/inc/onlplib/onlplib\+\_\+porting.\+h@{module/inc/onlplib/onlplib\+\_\+porting.\+h}} +} + + +onlplib Porting Macros. + + +{\ttfamily \#include $<$stdio.\+h$>$}\\* +{\ttfamily \#include $<$stdlib.\+h$>$}\\* +{\ttfamily \#include $<$string.\+h$>$}\\* +{\ttfamily \#include $<$stdarg.\+h$>$}\\* +{\ttfamily \#include $<$memory.\+h$>$}\\* + + +\subsection{Detailed Description} +onlplib Porting Macros. + diff --git a/packages/base/any/onlp/src/onlplib/doc/latex/refman.tex b/packages/base/any/onlp/src/onlplib/doc/latex/refman.tex new file mode 100644 index 00000000..8958e297 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/latex/refman.tex @@ -0,0 +1,168 @@ +\documentclass[twoside]{book} + +% Packages required by doxygen +\usepackage{fixltx2e} +\usepackage{calc} +\usepackage{doxygen} +\usepackage{graphicx} +\usepackage[utf8]{inputenc} +\usepackage{makeidx} +\usepackage{multicol} +\usepackage{multirow} +\PassOptionsToPackage{warn}{textcomp} +\usepackage{textcomp} +\usepackage[nointegrals]{wasysym} +\usepackage[table]{xcolor} + +% Font selection +\usepackage[T1]{fontenc} +\usepackage{mathptmx} +\usepackage[scaled=.90]{helvet} +\usepackage{courier} +\usepackage{amssymb} +\usepackage{sectsty} +\renewcommand{\familydefault}{\sfdefault} +\allsectionsfont{% + \fontseries{bc}\selectfont% + \color{darkgray}% +} +\renewcommand{\DoxyLabelFont}{% + \fontseries{bc}\selectfont% + \color{darkgray}% +} +\newcommand{\+}{\discretionary{\mbox{\scriptsize$\hookleftarrow$}}{}{}} + +% Page & text layout +\usepackage{geometry} +\geometry{% + a4paper,% + top=2.5cm,% + bottom=2.5cm,% + left=2.5cm,% + right=2.5cm% +} +\tolerance=750 +\hfuzz=15pt +\hbadness=750 +\setlength{\emergencystretch}{15pt} +\setlength{\parindent}{0cm} +\setlength{\parskip}{0.2cm} +\makeatletter +\renewcommand{\paragraph}{% + \@startsection{paragraph}{4}{0ex}{-1.0ex}{1.0ex}{% + \normalfont\normalsize\bfseries\SS@parafont% + }% +} +\renewcommand{\subparagraph}{% + \@startsection{subparagraph}{5}{0ex}{-1.0ex}{1.0ex}{% + \normalfont\normalsize\bfseries\SS@subparafont% + }% +} +\makeatother + +% Headers & footers +\usepackage{fancyhdr} +\pagestyle{fancyplain} +\fancyhead[LE]{\fancyplain{}{\bfseries\thepage}} +\fancyhead[CE]{\fancyplain{}{}} +\fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}} +\fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}} +\fancyhead[CO]{\fancyplain{}{}} +\fancyhead[RO]{\fancyplain{}{\bfseries\thepage}} +\fancyfoot[LE]{\fancyplain{}{}} +\fancyfoot[CE]{\fancyplain{}{}} +\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generated on Thu Mar 28 2019 17\+:47\+:38 for onlplib by Doxygen }} +\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Thu Mar 28 2019 17\+:47\+:38 for onlplib by Doxygen }} +\fancyfoot[CO]{\fancyplain{}{}} +\fancyfoot[RO]{\fancyplain{}{}} +\renewcommand{\footrulewidth}{0.4pt} +\renewcommand{\chaptermark}[1]{% + \markboth{#1}{}% +} +\renewcommand{\sectionmark}[1]{% + \markright{\thesection\ #1}% +} + +% Indices & bibliography +\usepackage{natbib} +\usepackage[titles]{tocloft} +\setcounter{tocdepth}{3} +\setcounter{secnumdepth}{5} +\makeindex + +% Hyperlinks (required, but should be loaded last) +\usepackage{ifpdf} +\ifpdf + \usepackage[pdftex,pagebackref=true]{hyperref} +\else + \usepackage[ps2pdf,pagebackref=true]{hyperref} +\fi +\hypersetup{% + colorlinks=true,% + linkcolor=blue,% + citecolor=blue,% + unicode% +} + +% Custom commands +\newcommand{\clearemptydoublepage}{% + \newpage{\pagestyle{empty}\cleardoublepage}% +} + + +%===== C O N T E N T S ===== + +\begin{document} + +% Titlepage & ToC +\hypersetup{pageanchor=false, + bookmarks=true, + bookmarksnumbered=true, + pdfencoding=unicode + } +\pagenumbering{roman} +\begin{titlepage} +\vspace*{7cm} +\begin{center}% +{\Large onlplib }\\ +\vspace*{1cm} +{\large Generated by Doxygen 1.8.8}\\ +\vspace*{0.5cm} +{\small Thu Mar 28 2019 17:47:38}\\ +\end{center} +\end{titlepage} +\clearemptydoublepage +\tableofcontents +\clearemptydoublepage +\pagenumbering{arabic} +\hypersetup{pageanchor=true} + +%--- Begin generated contents --- +\chapter{Module Index} +\input{modules} +\chapter{Data Structure Index} +\input{annotated} +\chapter{File Index} +\input{files} +\chapter{Module Documentation} +\input{group__onlplib} +\include{group__onlplib-onlplib} +\include{group__onlplib-config} +\include{group__onlplib-porting} +\chapter{Data Structure Documentation} +\input{structonlp__onie__info__s} +\input{structonlp__onie__vx__s} +\input{structonlp__platform__info__s} +\input{structonlplib__config__settings__s} +\chapter{File Documentation} +\input{onlplib__config_8h} +\input{onlplib__porting_8h} +%--- End generated contents --- + +% Index +\newpage +\phantomsection +\addcontentsline{toc}{chapter}{Index} +\printindex + +\end{document} diff --git a/packages/base/any/onlp/src/onlplib/doc/latex/structonlp__onie__info__s.tex b/packages/base/any/onlp/src/onlplib/doc/latex/structonlp__onie__info__s.tex new file mode 100644 index 00000000..aa619801 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/latex/structonlp__onie__info__s.tex @@ -0,0 +1,88 @@ +\hypertarget{structonlp__onie__info__s}{\section{onlp\+\_\+onie\+\_\+info\+\_\+s Struct Reference} +\label{structonlp__onie__info__s}\index{onlp\+\_\+onie\+\_\+info\+\_\+s@{onlp\+\_\+onie\+\_\+info\+\_\+s}} +} + + +{\ttfamily \#include $<$onie.\+h$>$} + +\subsection*{Data Fields} +\begin{DoxyCompactItemize} +\item +\hypertarget{structonlp__onie__info__s_a40579fc6acf97c77f0d5d12afe265837}{char $\ast$ {\bfseries product\+\_\+name}}\label{structonlp__onie__info__s_a40579fc6acf97c77f0d5d12afe265837} + +\item +\hypertarget{structonlp__onie__info__s_a6550c1a1853c8c1b46589ca1eb839992}{char $\ast$ {\bfseries part\+\_\+number}}\label{structonlp__onie__info__s_a6550c1a1853c8c1b46589ca1eb839992} + +\item +\hypertarget{structonlp__onie__info__s_a1156fad73134a5f89e8aad4e57eac2e0}{char $\ast$ {\bfseries serial\+\_\+number}}\label{structonlp__onie__info__s_a1156fad73134a5f89e8aad4e57eac2e0} + +\item +\hypertarget{structonlp__onie__info__s_a52b0c3c4876862dcfd12e42c82500c86}{uint8\+\_\+t {\bfseries mac} \mbox{[}6\mbox{]}}\label{structonlp__onie__info__s_a52b0c3c4876862dcfd12e42c82500c86} + +\item +\hypertarget{structonlp__onie__info__s_a85f30f85b5db9f96b99b2b80808c6712}{char $\ast$ {\bfseries manufacture\+\_\+date}}\label{structonlp__onie__info__s_a85f30f85b5db9f96b99b2b80808c6712} + +\item +\hypertarget{structonlp__onie__info__s_a6f78bd36c289903aead2d3795b9b6201}{uint8\+\_\+t {\bfseries device\+\_\+version}}\label{structonlp__onie__info__s_a6f78bd36c289903aead2d3795b9b6201} + +\item +\hypertarget{structonlp__onie__info__s_aa893900a2b26a447e47b5849ca1d173a}{char $\ast$ {\bfseries label\+\_\+revision}}\label{structonlp__onie__info__s_aa893900a2b26a447e47b5849ca1d173a} + +\item +\hypertarget{structonlp__onie__info__s_aecf963c3e1ee357409f56551afabf91b}{char $\ast$ {\bfseries platform\+\_\+name}}\label{structonlp__onie__info__s_aecf963c3e1ee357409f56551afabf91b} + +\item +\hypertarget{structonlp__onie__info__s_acb1d443db6805a7e71af33f8f0acc17f}{char $\ast$ {\bfseries onie\+\_\+version}}\label{structonlp__onie__info__s_acb1d443db6805a7e71af33f8f0acc17f} + +\item +\hypertarget{structonlp__onie__info__s_a219dbb867c28391f6042e01d2dc5bde3}{uint16\+\_\+t {\bfseries mac\+\_\+range}}\label{structonlp__onie__info__s_a219dbb867c28391f6042e01d2dc5bde3} + +\item +\hypertarget{structonlp__onie__info__s_a31f7292d6e939e520c0ff6c8bd0c6638}{char $\ast$ {\bfseries manufacturer}}\label{structonlp__onie__info__s_a31f7292d6e939e520c0ff6c8bd0c6638} + +\item +\hypertarget{structonlp__onie__info__s_a96f718a951f5fc75ecc20f1a3675566b}{char $\ast$ {\bfseries country\+\_\+code}}\label{structonlp__onie__info__s_a96f718a951f5fc75ecc20f1a3675566b} + +\item +\hypertarget{structonlp__onie__info__s_a16979c58805da23e10060ee61722ab2b}{char $\ast$ {\bfseries vendor}}\label{structonlp__onie__info__s_a16979c58805da23e10060ee61722ab2b} + +\item +\hypertarget{structonlp__onie__info__s_ae0fdc30ade05d11f232d9758c2d78377}{char $\ast$ {\bfseries diag\+\_\+version}}\label{structonlp__onie__info__s_ae0fdc30ade05d11f232d9758c2d78377} + +\item +\hypertarget{structonlp__onie__info__s_aec77fa347a24398e0261ad3bc0357c80}{char $\ast$ {\bfseries service\+\_\+tag}}\label{structonlp__onie__info__s_aec77fa347a24398e0261ad3bc0357c80} + +\item +\hypertarget{structonlp__onie__info__s_a90778d36d8d3e403fd93617e3103b26d}{uint32\+\_\+t {\bfseries crc}}\label{structonlp__onie__info__s_a90778d36d8d3e403fd93617e3103b26d} + +\item +list\+\_\+head\+\_\+t \hyperlink{structonlp__onie__info__s_a4ddf24a84601e4a767a1002375766f0a}{vx\+\_\+list} +\item +\hypertarget{structonlp__onie__info__s_aa9691ac2fc3815ab510afad4e68267ef}{char $\ast$ {\bfseries \+\_\+hdr\+\_\+id\+\_\+string}}\label{structonlp__onie__info__s_aa9691ac2fc3815ab510afad4e68267ef} + +\item +\hypertarget{structonlp__onie__info__s_ac2655b096ba7a6b327e227300a46bb1b}{uint8\+\_\+t {\bfseries \+\_\+hdr\+\_\+version}}\label{structonlp__onie__info__s_ac2655b096ba7a6b327e227300a46bb1b} + +\item +\hypertarget{structonlp__onie__info__s_aec65173ecfcfc08be9bb468c6df166ae}{uint8\+\_\+t {\bfseries \+\_\+hdr\+\_\+length}}\label{structonlp__onie__info__s_aec65173ecfcfc08be9bb468c6df166ae} + +\item +\hypertarget{structonlp__onie__info__s_a62496661023c605b6fd95c615916bb9b}{uint8\+\_\+t {\bfseries \+\_\+hdr\+\_\+valid\+\_\+crc}}\label{structonlp__onie__info__s_a62496661023c605b6fd95c615916bb9b} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +The O\+N\+I\+E specification defines the format of the system eeprom and the available fields that may be described there. + +This structure contains the decoded fields for application and platform use. + +\subsection{Field Documentation} +\hypertarget{structonlp__onie__info__s_a4ddf24a84601e4a767a1002375766f0a}{\index{onlp\+\_\+onie\+\_\+info\+\_\+s@{onlp\+\_\+onie\+\_\+info\+\_\+s}!vx\+\_\+list@{vx\+\_\+list}} +\index{vx\+\_\+list@{vx\+\_\+list}!onlp\+\_\+onie\+\_\+info\+\_\+s@{onlp\+\_\+onie\+\_\+info\+\_\+s}} +\subsubsection[{vx\+\_\+list}]{\setlength{\rightskip}{0pt plus 5cm}list\+\_\+head\+\_\+t onlp\+\_\+onie\+\_\+info\+\_\+s\+::vx\+\_\+list}}\label{structonlp__onie__info__s_a4ddf24a84601e4a767a1002375766f0a} +Vendor Extensions list, if available. + +The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} +\item +module/inc/onlplib/onie.\+h\end{DoxyCompactItemize} diff --git a/packages/base/any/onlp/src/onlplib/doc/latex/structonlp__onie__vx__s.tex b/packages/base/any/onlp/src/onlplib/doc/latex/structonlp__onie__vx__s.tex new file mode 100644 index 00000000..79968973 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/latex/structonlp__onie__vx__s.tex @@ -0,0 +1,20 @@ +\hypertarget{structonlp__onie__vx__s}{\section{onlp\+\_\+onie\+\_\+vx\+\_\+s Struct Reference} +\label{structonlp__onie__vx__s}\index{onlp\+\_\+onie\+\_\+vx\+\_\+s@{onlp\+\_\+onie\+\_\+vx\+\_\+s}} +} +\subsection*{Data Fields} +\begin{DoxyCompactItemize} +\item +\hypertarget{structonlp__onie__vx__s_a3da607f325b843761b86acdb24ed7a15}{list\+\_\+links\+\_\+t {\bfseries links}}\label{structonlp__onie__vx__s_a3da607f325b843761b86acdb24ed7a15} + +\item +\hypertarget{structonlp__onie__vx__s_a168deb7b96b746cdb3ac32016dd4acd1}{uint8\+\_\+t {\bfseries data} \mbox{[}256\mbox{]}}\label{structonlp__onie__vx__s_a168deb7b96b746cdb3ac32016dd4acd1} + +\item +\hypertarget{structonlp__onie__vx__s_a72ac2dafa901382b351ba5b0a870e1b7}{int {\bfseries size}}\label{structonlp__onie__vx__s_a72ac2dafa901382b351ba5b0a870e1b7} + +\end{DoxyCompactItemize} + + +The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} +\item +module/inc/onlplib/onie.\+h\end{DoxyCompactItemize} diff --git a/packages/base/any/onlp/src/onlplib/doc/latex/structonlp__platform__info__s.tex b/packages/base/any/onlp/src/onlplib/doc/latex/structonlp__platform__info__s.tex new file mode 100644 index 00000000..ea799924 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/latex/structonlp__platform__info__s.tex @@ -0,0 +1,33 @@ +\hypertarget{structonlp__platform__info__s}{\section{onlp\+\_\+platform\+\_\+info\+\_\+s Struct Reference} +\label{structonlp__platform__info__s}\index{onlp\+\_\+platform\+\_\+info\+\_\+s@{onlp\+\_\+platform\+\_\+info\+\_\+s}} +} + + +{\ttfamily \#include $<$pi.\+h$>$} + +\subsection*{Data Fields} +\begin{DoxyCompactItemize} +\item +char $\ast$ \hyperlink{structonlp__platform__info__s_ae6e44f3d65c0e5911073aec2ede8964b}{cpld\+\_\+versions} +\item +char $\ast$ \hyperlink{structonlp__platform__info__s_a0b238c4f78e3dbf2321e38f6501eeb42}{other\+\_\+versions} +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Platform Information + +\subsection{Field Documentation} +\hypertarget{structonlp__platform__info__s_ae6e44f3d65c0e5911073aec2ede8964b}{\index{onlp\+\_\+platform\+\_\+info\+\_\+s@{onlp\+\_\+platform\+\_\+info\+\_\+s}!cpld\+\_\+versions@{cpld\+\_\+versions}} +\index{cpld\+\_\+versions@{cpld\+\_\+versions}!onlp\+\_\+platform\+\_\+info\+\_\+s@{onlp\+\_\+platform\+\_\+info\+\_\+s}} +\subsubsection[{cpld\+\_\+versions}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ onlp\+\_\+platform\+\_\+info\+\_\+s\+::cpld\+\_\+versions}}\label{structonlp__platform__info__s_ae6e44f3d65c0e5911073aec2ede8964b} +C\+P\+L\+D Versions + +Describes the internal C\+P\+L\+D version numbers, if applicable. \hypertarget{structonlp__platform__info__s_a0b238c4f78e3dbf2321e38f6501eeb42}{\index{onlp\+\_\+platform\+\_\+info\+\_\+s@{onlp\+\_\+platform\+\_\+info\+\_\+s}!other\+\_\+versions@{other\+\_\+versions}} +\index{other\+\_\+versions@{other\+\_\+versions}!onlp\+\_\+platform\+\_\+info\+\_\+s@{onlp\+\_\+platform\+\_\+info\+\_\+s}} +\subsubsection[{other\+\_\+versions}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ onlp\+\_\+platform\+\_\+info\+\_\+s\+::other\+\_\+versions}}\label{structonlp__platform__info__s_a0b238c4f78e3dbf2321e38f6501eeb42} +Additional version or platform information. + +The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} +\item +module/inc/onlplib/pi.\+h\end{DoxyCompactItemize} diff --git a/packages/base/any/onlp/src/onlplib/doc/latex/structonlplib__config__settings__s.tex b/packages/base/any/onlp/src/onlplib/doc/latex/structonlplib__config__settings__s.tex new file mode 100644 index 00000000..a6ea9a27 --- /dev/null +++ b/packages/base/any/onlp/src/onlplib/doc/latex/structonlplib__config__settings__s.tex @@ -0,0 +1,31 @@ +\hypertarget{structonlplib__config__settings__s}{\section{onlplib\+\_\+config\+\_\+settings\+\_\+s Struct Reference} +\label{structonlplib__config__settings__s}\index{onlplib\+\_\+config\+\_\+settings\+\_\+s@{onlplib\+\_\+config\+\_\+settings\+\_\+s}} +} + + +{\ttfamily \#include $<$onlplib\+\_\+config.\+h$>$} + +\subsection*{Data Fields} +\begin{DoxyCompactItemize} +\item +const char $\ast$ \hyperlink{structonlplib__config__settings__s_a93d785725174e62bf8c5463037756c8e}{name} +\item +const char $\ast$ \hyperlink{structonlplib__config__settings__s_af36227c679615d9a3e6d90abb5de9dd6}{value} +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +All compile time options can be queried or displayed\+Configuration settings structure. + +\subsection{Field Documentation} +\hypertarget{structonlplib__config__settings__s_a93d785725174e62bf8c5463037756c8e}{\index{onlplib\+\_\+config\+\_\+settings\+\_\+s@{onlplib\+\_\+config\+\_\+settings\+\_\+s}!name@{name}} +\index{name@{name}!onlplib\+\_\+config\+\_\+settings\+\_\+s@{onlplib\+\_\+config\+\_\+settings\+\_\+s}} +\subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ onlplib\+\_\+config\+\_\+settings\+\_\+s\+::name}}\label{structonlplib__config__settings__s_a93d785725174e62bf8c5463037756c8e} +name \hypertarget{structonlplib__config__settings__s_af36227c679615d9a3e6d90abb5de9dd6}{\index{onlplib\+\_\+config\+\_\+settings\+\_\+s@{onlplib\+\_\+config\+\_\+settings\+\_\+s}!value@{value}} +\index{value@{value}!onlplib\+\_\+config\+\_\+settings\+\_\+s@{onlplib\+\_\+config\+\_\+settings\+\_\+s}} +\subsubsection[{value}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ onlplib\+\_\+config\+\_\+settings\+\_\+s\+::value}}\label{structonlplib__config__settings__s_af36227c679615d9a3e6d90abb5de9dd6} +value + +The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} +\item +module/inc/onlplib/\hyperlink{onlplib__config_8h}{onlplib\+\_\+config.\+h}\end{DoxyCompactItemize}