CC ... -lsysadm -lvtcl -ltclx -ltcl -lsocket -lgen -lm#include <scoadmin/basicIncl.h> #include <scoadmin/callBack.h> #include <scoadmin/statusLst.h> #include <scoadmin/CAPI.h>
void FWShutdownObjectSubmission(bmipSubmission_cl *bmipSubmissionPtr);
#include <scoadmin/CAPI.h>main() { frameWorkCClientData_cl *clientDataPtr; bmipSubmission_cl *bmipSubmissionPtr1, *bmipSubmissionPtr2;
/* Initialize general SCOadmin data structure */ clientDataPtr=FWInitializeFrameWork();
/* Initialize class-specific SCOadmin data structures */
/* Initialize communications with the "sco device" OSA. */ bmipSubmissionPtr1=FWInitObjectSubmission(clientDataPtr, "sco device");
/* Initialize communications with the "novell user" OSA. */ bmipSubmissionPtr1=FWInitObjectSubmission(clientDataPtr, "novell user");
/* ***************************************************** * Routines defined in FWClassParameters 3sadm, * FWClassOperations 3sadm, and FWClassExamine(3sadm) * go here... *******************************************************/ ....
/* Cleanup */ FWShutdownObjectSubmission(bmipSubmissionPtr1); FWShutdownObjectSubmission(bmipSubmissionPtr2); FWShutdownFrameWork(clientDataPtr); }