HP Visualize c3600 HP-UX DMI 2.0 Developer's Guide: HP-UX/HP 9000 Computers, - Page 118
A-4, Component Structure
View all HP Visualize c3600 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 118 highlights
Figure A-4 An HP-UX DMI 2.0 Example Code The Example Component START OF DEVELOPER DEFINED CODE END OF DEVELOPER DEFINED CODE Component functions are defined in the ci_cpfc.c file. For our System Example, we have also defined a set of helper functions in a file called ci_systemExample.c. This example makes calls to the ci_systemExample.c file from the ci_cpfc.c file. Again, these developer provided changes are identified between the "developer defined" headers and footers. Component Structure The ci_main.c and ci_main.h files are used to install the component into the SP's MIF database and do not need to be modified by the developer. 118 Appendix A
118
Appendix A
An HP-UX DMI 2.0 Example Code
The Example Component
/*================================================
START OF DEVELOPER DEFINED CODE
================================================= */
/* ===============================================
END OF DEVELOPER DEFINED CODE.
================================================= */
Component functions are defined in the ci_cpfc.c file. For our System
Example, we have also defined a set of helper functions in a file called
ci_systemExample.c. This example makes calls to the
ci_systemExample.c file from the ci_cpfc.c file. Again, these developer
provided changes are identified between the “developer defined”
headers and footers.
Figure A-4
Component Structure
The ci_main.c and ci_main.h files are used to install the component into
the SP's MIF database and do not need to be modified by the developer.