DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

FWInitObjectSubmission(3sadm)


FWInitObjectSubmission -- initialize object class specific data structures

Synopsis

CC ... -lsysadm -lvtcl -ltclx -ltcl -lsocket -lgen -lm

#include <scoadmin/basicIncl.h> #include <scoadmin/callBack.h> #include <scoadmin/statusLst.h> #include <scoadmin/CAPI.h>

bmipSubmission_cl * FWInitObjectSubmission(frameWorkCClientData_cl *clientDataPtr, objectClass_pt objectClass);

Description

This function allocates an object class specific data structure which is utilized by the routines described in FWClassParameters(3sadm). FWClassOperations(3sadm), and FWClassExamine(3sadm).

Arguments


clientDataPtr
pointer to an internal data structure returned by a call to FWInitializeFrameWork 3sadm

objectClass
A string defining the name of the object class, usually in the format "vendor_name class_name".

Examples

#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 to the "sco device" class. */ bmipSubmissionPtr1=FWInitObjectSubmission(clientDataPtr, "sco device");

/* Initialize communications to the "acme disk" object class. */ bmipSubmissionPtr1=FWInitObjectSubmission(clientDataPtr, "acme disk");

/* ***************************************************** * Routines defined in FWClassParameters 3sadm, * FWClassOperations 3sadm, and FWClassExamine(3sadm) * go here... *******************************************************/ ....

/* Cleanup */ FWShutdownObjectSubmission(bmipSubmissionPtr1); FWShutdownObjectSubmission(bmipSubmissionPtr2); FWShutdownFrameWork(clientDataPtr); }

References

FWShutdownObjectSubmission(3sadm), FWInitializeFrameWork(3sadm), FWClassOperations(3sadm).
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004