The tt_spec_bprop_add function adds a new byte-string to the end of the list of values associated with the specified spec property. The objid argument is the identifier of the object involved in this operation. The propname argument is the name of the property to which the byte-string is to be added. The value argument is the byte-string to be added to the property value list. The length argument ...
The tt_spec_bprop_set function replaces any current values stored under this spec property with a new byte-string. The objid argument is the identifier of the object involved in this operation. The propname argument is the name of the property which stores the values. The value argument is the byte-string to be added to the property value list. If the value is NULL, the property is removed entirel...
The tt_spec_create function creates a spec (in memory) for an object. The application can use the objid returned in future calls to manipulate the object. The filepath argument is the name of the file.
The tt_spec_file function retrieves the name of the file that contains the object described by the spec. The objid argument is the identifier of the object involved in this operation.
The tt_spec_move function notifies the ToolTalk service that this object has moved to a different file. The ToolTalk service returns a new objid for the object and leaves a forwarding pointer from the old objid to the new one. If a new objid is not required (for example, because the new and old files are in the same file system), tt_spec_move returns TT_WRN_SAME_OBJID. The objid argument is the id...
The tt_spec_prop function retrieves the ith value of the property associated with this object spec. The objid argument is the identifier of the object involved in this operation. The propname argument is the name of the property associated with the object spec. The i argument is the item of the list whose value is to be retrieved. The list numbering begins with zero.
The tt_spec_propname function returns the nth element of the property name list for this object spec. The objid argument is the identifier of the object involved in this operation. The n argument is the item of the list whose element is to be returned. The list numbering begins with zero.
The tt_spec_propnames_count function returns the number of property names for this object. The objid argument is the identifier of the object involved in this operation.
The tt_spec_prop_add function adds a new item to the end of the list of values associated with this spec property. The objid argument is the identifier of the object involved in this operation. The propname argument is the property to which the item is to be added. The value argument is the new character-string to be added to the property value list.
The tt_spec_prop_count function returns the number of values listed in this spec property. The objid argument is the identifier of the object involved in this operation. The propname argument is the name of the property that contains the value to be returned.
The tt_spec_prop_set function replaces any values currently stored under this property of the object spec with a new value. The objid argument is the identifier of the object involved in this operation. The propname argument is the name of the property which stores the values. The value argument is the value to be placed in the property value list. If value is NULL, the property is removed entirel...
The tt_spec_type_set function assigns an object type value to the object spec. The type must be set before the spec is written for the first time and cannot be set thereafter. The objid argument is the identifier of the object involved in this operation. The otid argument is the otype to be assigned to the spec.
The tt_spec_write function writes the spec and any associated properties to the ToolTalk database. The type must be set before the spec is written for the first time. The objid argument is the identifier of the object involved in this operation.