DCE Application Programming Guide
Sample Application Listings
HP NonStop DCE Application Programming Guide—429551-003
A-15
The sams File
The remaining files are modified as indicated in Conversion to the DCE 1.1 Server
Initialization API on page 5-2. The changed areas of files are printed in bold type.
The sams File
The sams file is shown in Figure A-9.
Figure A-9. The sams File in a Release 1.1 Port (page 1 of 2)
#############################################################
#
# sams input file for infpls_s.c
#
#############################################################
# Part I
component inf
table inf_msg_table
technology dce
# Part II
serviceability table inf_svc_table handle inf_svc_handle
start
sub-component inf_s_server "server" inf_i_svc_server
end
# Part III
start
code inf_s_startup
sub-component inf_s_server
attributes "svc_c_sev_notice | svc_c_action_brief"
text "Information Server is now available."
explanation "infpls startup message."
action "None needed."
end
start
code inf_s_error
sub-component inf_s_server
attributes "svc_c_sev_fatal | svc_c_action_exit_bad"
text "%s"
explanation "Information Server error."
action ""
end
start
code inf_s_warning
sub-component inf_s_server
attributes "svc_c_sev_warning"
text "%s"
explanation "Information Server warning."
action ""
end