Object management API

Index

copy-object create-object destroy-object find-objects find-objects-final find-objects-init get-attribute-value get-object-size set-attribute-value

Reference

copy-objectcfunction
src/object.c at line 31, column 1
(copy-object session-obj obj-handle template)

Copies an object. Returns new `obj-handle`(number), if successful.

create-objectcfunction
src/object.c at line 11, column 1
(create-object session-obj template)

Creates a new object. Returns `obj-handle`(number), if successful.

destroy-objectcfunction
src/object.c at line 52, column 1
(destory-object session-obj obj-handle)

Destroys an object.

find-objectscfunction
src/object.c at line 162, column 1
(find-objects session-obj max-obj-count)

Continues a search for token and session objects that match a `template`. Returns a list of `obj-handle`, if successful.

find-objects-finalcfunction
src/object.c at line 188, column 1
(find-objects-final session-obj)

Terminates a search for token and session objects. Returns a `session-obj`, if successful.

find-objects-initcfunction
src/object.c at line 135, column 1
(find-objects-init session-obj &opt template)

Initializes a search for token and session objects that match a `template`. Find all objects if `template` is not provided. Returns a `session-obj`, if successful.

get-attribute-valuecfunction
src/object.c at line 85, column 1
(get-attribute-value session-obj obj-handle attr-list)

Obtains the value of one or more attributes of an object. Returns a template struct, if successful.

get-object-sizecfunction
src/object.c at line 68, column 1
(get-object-size session-obj obj-handle)

Returns the size of an object in bytes

set-attribute-valuecfunction
src/object.c at line 114, column 1
(set-attribute-value session-obj obj-handle template)

Modifies the value of one or more attributes of an object. Returns a `session-obj`, if successful.