ToolTalk Reference Manual
  Sök endast i den här boken
Ladda ner denna bok i PDF

Index

A

Abstract(Request)329
add argument71
add argument to pattern163
add argument with XDR-interpretedvalue133
add byte-array value to list of values formessage's named context23
add byte-array value to pattern's namedcontext167
add character-string value toproperty217
add imbedded nulls to pattern165
add integer value62
add integer value to list of values formessage's context49
add item to spec property236
add new argument57
add new argument to a pattern178
add new argument to pattern195
add operation number183
add string value to pattern's context173
add value to address field162
add value to class information172
add value to disposition field176
add value to file field177
add value to object field181
add value to object type field184
add value to operation field182
add value to scope field186
add value to sender field187
add value to sending process's ptypefield188
add value to session field189
add value to state field190
add XDR-interpreted byte-array value tolist of values for message's namedcontext246
add XDR-interpreted byte-array value topattern's named context197
adda new argument to a messageobject100
adding arguments when replying to amessage57
adds byte-string to spec property226
adds byte-string value for namedproperty212
adds integer value to pattern'scontext180
adds string value to list of values formessage's context27
allocate storage on ToolTalk API allocationstack53
archive files and ToolTalk objects271
assign object type value to object spec242

B

/bin/sh: application_name
......not found275

C

Cannot open display276
change value66
check status52
check ToolTalk databases255
close current procid26
context values, removing duplicates25
convert type tables249
copy all objects40
copy files and directories253
create copy of specified message87
create message138, 141, 198, 201
create new message object86
create spec in memory for object228
create wrappers, function to74
Created(Notice)294

D

de-archive files and ToolTalk objects271
Deleted(Notice)294
Deposit(Request)332
deserialize data from messageargument67
deserialize data from message'scontext83
destroy all objects43
destroy message88
destroy pattern object175
destroys object's spec230
display ToolTalk databases255
Display(Request)334, 337
Do_Command(Request)295

E

Edit(Request)337, 340
error identifiers, allocation277
error messages
....../bin/sh: application_name: notfound275
......Cannot open display276
......ld.so: libtt.so.1.1: not found275
......TT_DESKTOP_CANCELLED292
......TT_DESKTOP_EACCES333
......TT_DESKTOP_EACCESS291
......TT_DESKTOP_ECANCELLED306
......TT_DESKTOP_EFAULT304
......TT_DESKTOP_EINVAL291, 304, 338
......TT_DESKTOP_ENODATA331, 333, 335, 338, 345, 348, 351
......TT_DESKTOP_ENOENT291, 308, 333, 335, 338, 341, 345, 348, 351
......TT_DESKTOP_ENOMSG291, 304, 306
......TT_DESKTOP_ENOTSUP292
......TT_DESKTOP_EPROTO292
......TT_DESKTOP_UNMODIFIED292, 308
......TT_ERR_ACCESS282
......TT_ERR_ADDRESS283
......TT_ERR_APPFIRST287
......TT_ERR_CATEGORY286
......TT_ERR_CLASS281
......TT_ERR_DBAVAIL281
......TT_ERR_DBCONSIST286
......TT_ERR_DBEXIST281
......TT_ERR_DBFULL286
......TT_ERR_DBUPDATE286
......TT_ERR_DISPOSITION284
......TT_ERR_FILE281
......TT_ERR_INTERNAL285
......TT_ERR_LAST287
......TT_ERR_MATCH297
......TT_ERR_MODE281
......TT_ERR_NO_MATCH285
......TT_ERR_NO_VALUE285
......TT_ERR_NOMATCH304
......TT_ERR_NOMEM287
.....TT_ERR_NOMP282
.....TT_ERR_NOTHANDLER282
.....TT_ERR_NUM282
.....TT_ERR_OBJID282
.....TT_ERR_OP282
.....TT_ERR_OTYPE283
.....TT_ERR_OVERFLOW286
.....TT_ERR_PATH283
.....TT_ERR_POINTER283
.....TT_ERR_PROCID283
.....TT_ERR_PROPLEN284
.....TT_ERR_PROPNAME284
.....TT_ERR_PTYPE284
.....TT_ERR_PTYPE_START286
.....TT_ERR_READONLY285
.....TT_ERR_SCOPE284
.....TT_ERR_SESSION284
.....TT_ERR_SLOTNAME287
.....TT_ERR_STATE287
.....TT_ERR_UNIMP285
.....TT_ERR_VTYPE285
.....TT_ERR_XDR287
.....TT_MEDIA_ERR_ENOENT331
.....TT_MEDIA_ERR_FORMAT328, 331, 333, 336, 339, 342, 345, 348, 351
.....TT_MEDIA_ERR_SIZE328, 331
.....TT_MEDIA_NO_CONTENTS341
.....TT_OK280
.....TT_STATUS_LAST287
.....TT_WRN_APPFIRST281
.....TT_WRN_LAST281
.....TT_WRN_NOTFOUND280
.....TT_WRN_SAME_OBJID280
.....TT_WRN_STALE_OBJID280
.....TT_WRN_START_MESSAGE280
.....TT_WRN_STOPPED280
.....ttsession: Illegal environment276
error messages, alphabetical listing of277
error messages, Desktop Services291
error messages, Document and MediaExchange328
error messages, initialization275
error messages, listing by message id280

F

fill in category field171
free all storage allocated on ToolTalk APIallocation stack209
free storage from ToolTalk API allocationstack48

G

Get_Environment(Request)310
Get_Geometry(Request)312
Get_Iconified(Request)314
Get_Locale(Request)315
Get_Mapped(Request)317
Get_Modified(Request)297
Get_Situation(Request)319
Get_Status(Request)298
Get_Sysinfo(Request)299
Get_XInfo(Request)320

I

instruct ToolTalk to find all objects in thenamed file45
instruct ToolTalk to pass objids to filterfunction45
Interpret(Request)343

J

join named session214
joining multiple sessions, callsrequired36

L

ld.so: libtt.so.1.1: not found275
Lower(Request)307

M

make named session the defaultsession214
mark storage position in ToolTalk APIallocation stack54
merge compiled ToolTalk types file intorunning ttsession223
message not offered to other processes ofsame ptype92
message server265
message sets
.....Desktop Services
............Created294
............Deleted294
............Do_Command295
............Get_Environment310
............Get_Geometry312
............Get_Iconified314
............Get_Locale315
............Get_Mapped317
............Get_Modified297
............Get_Situation319
............Get_Status298
............Get_Sysinfo299
............Get_XInfo320
............Lower307
............Modified301
............Moved302
............Pause303
............Quit305
............Raise307
............Resume303
............Revert308
............Reverted301
............Save308
............Saved309
............Set_Environment310
............Set_Geometry312
............Set_Iconified314
............Set_Locale315
............Set_Mapped317
............Set_Situation319
............Set_XInfo320
............Signal322
............Started323
............Status324
............Stopped323
.....Document and Media Exchange
............Abstract329
............Deposit332
............Display334, 337
............Edit337, 340
............Interpret343
............Print346
............Translate349
Modified(Notice)301
move files261
Moved(Notice)302
moves all objects43

O

object moved to different file232

P

Pause(Request)303
Print(Request)346
process cannot handle message113
process cannot handle request92
process has handled message114
process interested in specific messages42
process is no longer interested insession222
process not interested in specificmessages47

Q

Quit(Request)305

R

Raise(Request)307
re-address copy of specific message toparent87
register callback function74, 168
register pattern with ToolTalk185
register process type with ToolTalk204
remove all objects41
remove files or directories263
remove given byte-array value from list ofvalues for message's context.25
remove integer value from list of valuesfor message's context50
remove XDR-interpreted byte-array valuefrom list of values for message'scontext247
removes string value from list of values formessage's context28
rename files261
repair ToolTalk databases255
replace all current charater stringvalues219
replace any current byte-stringvalues213
replace any current byte-string valuesstored under this specproperty227
replace any values of property238
request new pattern object174
Resume(Request)303
retrieve address attribute55
retrieve byte-array value59
retrieve byte-array value and length ofmessage's context78
retrieve character string of message'scontext82
retrieve character string stored with statusattribute128
retrieve class attribute76
retrieve current default procid31
retrieve current default ptype33
retrieve current default sessionidentifier35
retrieve data from message argument67
retrieve data from message's context83
retrieve disposition attribute89
retrieve file attribute93
retrieve group identifier attribute95
retrieve handler attribute96
retrieve handler ptype attribute97
retrieve identifier of message103
retrieve integer value of message'scontext79
retrieve object attribute104
retrieve object type attribute109
retrieve operation attribute106
retrieve operation number attribute108
retrieve scope attribute115
retrieve sender attribute120
retrieve sender ptype attribute121
retrieve session attribute123
retrieve state attribute125
retrieve status attribute126
retrieve type64
retrieve user identifier attribute130
retrieve user information stored in datacells131
retrieve value of named propert210
retrieve value of property234
retrieve value of specified property224
retrieves integer value61
retrieves name of file containing specifiedobject231
return base otype142
return callback automatically153, 206
return category value170
return current default file29
return data type of argument147, 157
return element of named property list220
return element of property name for objectspec239
return file descriptor39
return handle for next queuedmessage112
return initial session identifier ofttsession51
return integer error object thatencodes38
return i-th otype143
return matched pattern111
return mode63
return mode of agument145
return name of a message's nth context81
return name of object type241
return number of arguments149, 159
return number of arguments inmessage70
return number of contexts in message85
return number of notice signatures160
return number of otypes144
return number of property names forobject240
return number of request signatures150
return number of values in specproperty237
return number of values stored undernamed property218
return op name of notice signature161
return operation name of requestsignature151
return pointer to a status message244
return pointer to value65
return process identifier139
return session associated with X windowdisplay245
return status of error object52
return status of specified pointer200, 203
return the mode of argument155
return unique key of objid137
return value in indicated user datacell192
return value of specified sessionproperty215
returns number of currently-definedproperty names221
returns whether indicated ptype is alreadyinstalled205
Revert(Request)308
Reverted(Notice)301
rpc.ttdbserverd260
RPC-based ToolTalk database server260

S

Save(Request)308
Saved(Notice)309
send message117
send message if process exitsunexpectedly118
serialize data into existing messagearguments69
session identifiers, multiple for onesession35
session, ToolTalk concept of265
set address attribute56
set byte-array value and type60
set byte-array value of message'scontext73
set character string value of message'scontext80
set character string with statusattribute129
set class attribute77
set current default procid32
set current default session identifier36
set data into existing messagearguments69
set default file to specified file30
set default ptype34
set file attribute94
set handler attribute99
set handler ptype attribute98
set integer value of message's context102
set object attribute105
set operation attribute107
set otype attribute110
set scope attribute116
set sender ptype attribute122
set session attribute124
set status attribute127
set value to given integer100, 178
set XDR-interpreted byte-array value of amessage's contex135
Set_Environment(Request)310
Set_Geometry(Request)312
Set_Iconified(Request)314
Set_Locale(Request)315
Set_Mapped(Request)317
Set_Situation(Request)319
Set_XInfo(Request)320
sets default procid139
sets disposition attribute90
Signal(Request)322
specify whether otype derived directly orindirectly152
Started(Notice)323
state process has initialized54
state process is ready to acceptmessages54
Status(Notice)324
Stopped(Notice)323
store information in user data cells194
store user information in data cells132
subsequent calls after tt_close26

T

test whether two objids are equal136
ToolTalk commands
.....rpc.ttdbserverd260
.....tt_type_comp269
.....ttce2xdr249
.....ttcp253
.....ttdbck255
.....ttdbserverd260
.....ttmv261
.....ttrm263
.....ttrmdir263
.....ttsession265
.....tttar271
Translate(Request)349
Tt_address4
tt_bcontext_join23
tt_bcontext_quit25
TT_BOTH7
Tt_callback4
TT_CALLBACK_CONTINUE4
TT_CALLBACK_PROCESSED4
Tt_category5
Tt_class5
tt_close26
......making subsequent calls aftercalling26
tt_context_join27
tt_context_quit28, 50
TT_CREATED8
tt_default_file29
tt_default_file_set30
tt_default_procid31
tt_default_procid_set32
tt_default_ptype33
tt_default_ptype_set34
tt_default_session35
tt_default_session_set36
TT_DESKTOP_CANCELED292
TT_DESKTOP_EACCES333
TT_DESKTOP_EACCESS291
TT_DESKTOP_ECANCELED306
TT_DESKTOP_EFAULT304
TT_DESKTOP_EINVAL291, 304, 338
TT_DESKTOP_ENODATA331, 333, 335, 338, 345, 348, 351
TT_DESKTOP_ENOENT291, 308, 333, 335, 338, 341, 345, 348, 351
TT_DESKTOP_ENOMSG291, 304, 306
TT_DESKTOP_ENOTSUP292
TT_DESKTOP_EPROTO292
TT_DESKTOP_UNMODIFIED292, 308
TT_DISCARD6
Tt_disposition6
TT_ERR_ACCESS282
TT_ERR_ADDRESS283
TT_ERR_APPFIRST287
TT_ERR_CATEGORY286
TT_ERR_CLASS281
TT_ERR_DBAVAIL281
TT_ERR_DBCONSIST286
TT_ERR_DBEXIST281
TT_ERR_DBFULL286
TT_ERR_DBUPDATE286
TT_ERR_DISPOSITION284
TT_ERR_FILE281
TT_ERR_INTERNAL285
TT_ERR_LAST287
TT_ERR_MODE281
TT_ERR_NO_MATCH285, 297
TT_ERR_NO_VALUE285
TT_ERR_NOMATCH304
TT_ERR_NOMEM287
TT_ERR_NOMP282
TT_ERR_NOTHANDLER282
TT_ERR_NUM282
TT_ERR_OBJID282
TT_ERR_OP282
TT_ERR_OTYPE283
TT_ERR_OVERFLOW286
TT_ERR_PATH283
TT_ERR_POINTER283
TT_ERR_PROCID283
TT_ERR_PROPLEN284
TT_ERR_PROPNAME284
TT_ERR_PTYPE284
TT_ERR_PTYPE_START286
TT_ERR_READONLY285
TT_ERR_SCOPE284
TT_ERR_SESSION284
TT_ERR_SLOTNAME287
TT_ERR_STATE287
TT_ERR_UNIMP285
TT_ERR_VTYPE285
TT_ERR_XDR287
tt_error_int38
tt_error_pointer38
TT_FAILED8
tt_fd32, 39
TT_FILE7
tt_file_copy40
tt_file_destroy41
TT_FILE_IN_SESSION7
tt_file_join42
tt_file_move43
tt_file_objects_query45
tt_file_quit47
Tt_filter_action6
TT_FILTER_CONTINUE6
TT_FILTER_STOP6
tt_free48
TT_HANDLE5
TT_HANDLED8
TT_HANDLER4
tt_icontext_join49
TT_IN7
tt_initial_session51
TT_INOUT7
tt_int_error52
tt_is_err52
tt_malloc53
tt_mark54
TT_MEDIA_ERR_ENOENT331
TT_MEDIA_ERR_FORMAT328, 331, 333, 336, 339, 342, 345, 348, 351
TT_MEDIA_ERR_SIZE328, 331
TT_MEDIA_NO_CONTENTS341
tt_message_accept54
tt_message_address55
tt_message_address_set56
tt_message_arg_add57
tt_message_arg_bval59
tt_message_arg_bval_set60
tt_message_arg_ival61
tt_message_arg_ival_set62
tt_message_arg_mode63
tt_message_arg_type64
tt_message_arg_val65
tt_message_arg_val_set66
tt_message_arg_xval67
tt_message_arg_xval_set69
tt_message_args_count70
tt_message_bcontext_set73
tt_message_callback_add74
tt_message_class76
tt_message_class_set77
tt_message_context_bval78
tt_message_context_ival79
tt_message_context_set80
tt_message_context_slotname81
tt_message_context_val82, 85
tt_message_context_xval83
tt_message_create86
tt_message_create_super87
tt_message_destroy88
tt_message_disposition89
tt_message_disposition_set90
tt_message_fail92
tt_message_file93
tt_message_file_set94
tt_message_gid95
tt_message_handler96
tt_message_handler_ptype97
tt_message_handler_ptype_set98
tt_message_handler_set99
tt_message_iarg_add100
tt_message_icontext_set102
tt_message_id103
tt_message_object104
tt_message_object_set105
tt_message_op106
tt_message_op_set107
tt_message_opnum108
tt_message_otype109
tt_message_otype_set110
tt_message_pattern111
tt_message_receive112
tt_message_reject113
tt_message_reply114
tt_message_scope115
tt_message_scope_set116
tt_message_send117
tt_message_send_on_exit118
tt_message_sender120
tt_message_sender_ptype121
tt_message_sender_ptype_set122
tt_message_session123
tt_message_session_set124
tt_message_state125
tt_message_status126
tt_message_status_set127
tt_message_status_string128
tt_message_status_string_set129
tt_message_uid130
tt_message_user131
tt_message_user_set132
tt_message_xarg_add133
tt_message_xcontext_set135
Tt_mode7
TT_NOTICE5
TT_OBJECT4
tt_objid_equal136
tt_objid_objkey137
TT_OBSERVE5
TT_OK280
tt_onotice_create138
tt_open139
tt_orequest_create141
TT_OTYPE4
tt_otype_base142
tt_otype_derived143
tt_otype_deriveds_count144
tt_otype_hsig_arg_mode145
tt_otype_hsig_arg_type147
tt_otype_hsig_args_count149
tt_otype_hsig_count150
tt_otype_hsig_op151
tt_otype_is_derived152
tt_otype_opnum_callback_add153
tt_otype_osig_arg_mode155
tt_otype_osig_arg_type157
tt_otype_osig_args_count159
tt_otype_osig_count160
tt_otype_osig_op161
TT_OUT7
tt_pattern_address_add162
tt_pattern_arg_add163
tt_pattern_barg_add71, 165
tt_pattern_bcontext_add167
tt_pattern_callback_add168
tt_pattern_category170
tt_pattern_category_set171
tt_pattern_class_add172
tt_pattern_context_ad173
tt_pattern_create174
tt_pattern_destroy175
tt_pattern_disposition_add176
tt_pattern_file_add177
tt_pattern_iarg_add178
tt_pattern_object_add180, 181
tt_pattern_op_add182, 183
tt_pattern_otype_add183, 184
tt_pattern_register185
tt_pattern_scope_add186
tt_pattern_sender_add187
tt_pattern_sender_ptype_add188
tt_pattern_session_add189
tt_pattern_state_add190
tt_pattern_unregister191
tt_pattern_user192
tt_pattern_user_set194
tt_pattern_xarg_add195
tt_pattern_xcontext_add197
tt_pnotice_create198
tt_pointer_error200
tt_prequest_create201
TT_PROCEDURE4
tt_ptr_error203
tt_ptype_declare174, 204
tt_ptype_exists205
tt_ptype_opnum_callback_add206
tt_ptype_undeclare208
TT_QUEUE6
TT_QUEUED8
TT_REJECTED8
tt_release209
TT_REQUEST5
Tt_scope7
TT_SENT8
TT_SESSION7
tt_session_bprop210
tt_session_bprop_add212
tt_session_bprop_set213
tt_session_equal214
tt_session_join214
tt_session_prop215
tt_session_prop_add217
tt_session_prop_count218
tt_session_prop_set219
tt_session_propname220
tt_session_propnames_count221
tt_session_quit222
tt_session_types_load223
tt_spec_bprop224
tt_spec_bprop_add226
tt_spec_bprop_set227
tt_spec_create228
tt_spec_destroy230
tt_spec_file231
tt_spec_move232
tt_spec_prop234
tt_spec_prop_add236
tt_spec_prop_count237
tt_spec_prop_set238
tt_spec_propname239
tt_spec_propnames_count240
tt_spec_type241
tt_spec_type_set242
tt_spec_write243
TT_START6
TT_STARTED8
Tt_state8
Tt_status8
TT_STATUS_LAST287
tt_status_message244
tt_type_comp command269
TT_WRN_APPFIRST281
TT_WRN_LAST281
TT_WRN_NOTFOUND280
TT_WRN_SAME_OBJID280
TT_WRN_STALE_OBJID280
TT_WRN_START_MESSAGE280
TT_WRN_STOPPED280
tt_X_session245
tt_xcontext_join246
tt_xcontext_quit247
ttce2xdr command249
ttcp command253
ttdbck command255
ttdbserverd260
ttmv command261
ttrm263
ttrmdir263
ttsession comman265
ttsession: Illegal environment276
tttar command271
type compiler269

U

undeclare indicated ptype208
unregister patterns from the ToolTalkservice208
unregister specified pattern from theToolTalk service191

V

values with embedded nulls215
vtype, for ToolTalk objects290
vtypes, namespace for persistentobjects293

W

warning identifiers, allocation277
write spec to ToolTalk database243
writing spec, first time243