API Guide
2-412 API Functions 601355 Rev A
111 /* such as timeout, value retry
limit, and */
112 /* priority are set as default
parameters. */
113 rc =
VSCMD_CreateArchiveMediaClass(cmd
,
114 VSID_ARCHIVE_NAME,
archive,
115 VSID_MEDIA_CLASS_NAME,
mediaclass,
116 VSID_HIGH_MARK,
highmark,
117 VSID_LOW_MARK,
lowmark,
118 VSID_CAPACITY,
capacity,
119 VSID_ENDFIELD);
120 }
121
122 return ( rc );
123}
Notes Client adds entries with the VS_Table_AddEntry,
VS_Table_SetFields, and/or
VS_Table_CreateAddEntry functions.
When a client adds an entry to a table using the
VS_Table_AddEntry or VS_Table_SetFields
function, the client is responsible for allocating and maintaining
the space to contain the information maintained in the table.
When a client adds an entry to a table using the
VS_Table_CreateAddEntry function, the API allocates
space for a table entry, copies the client’s data to the allocated
space, and adds the entry to the specified table. After calling
VS_Table_CreateAddEntry, a client is no longer
required to maintain the space containing the information added
to the table.