OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/W, TP1/Client/P
Table 3-1 lists TP1/Client functions.
You can use dc_xxx_xxx_s functions and character code conversion functions in a multi-thread environment. If both function versions (dc_xxx_xxx_s and dc_xxx_xxx) are supported, except for character code conversion functions, use the dc_xxx_xxx_s version of functions.
Since not all functions have the dc_xxx_xxx_s version, see the Release Notes that came with the program product to check whether the functions you want to use have the dc_xxx_xxx_s version.
For details about each function, see 4. TP1/Client Functions (C Language).
Table 3-1 Table of functions
| TP1/Client Facility | Function Name | |
|---|---|---|
| User authentication | Client user authentication requests | dc_clt_cltin_s |
| dc_clt_cltin | ||
| Release of client user authentication | dc_clt_cltout_s | |
| dc_clt_cltout | ||
| Remote procedure calls | UAP startup | dc_rpc_open_s |
| dc_rpc_open | ||
| UAP termination | dc_rpc_close_s | |
| dc_rpc_close | ||
| Remote service requests | dc_rpc_call_s | |
| dc_rpc_call | ||
| Requesting a remote service with the communication destination specified | dc_rpc_call_to_s | |
| dc_rpc_call_to | ||
| Updating the wait time for service response | dc_rpc_set_watch_time_s | |
| dc_rpc_set_watch_time | ||
| Referencing the wait time for service response | dc_rpc_get_watch_time_s | |
| dc_rpc_get_watch_time | ||
| Creating the DCRPC_BINDING_TBL structure | DCRPC_DIRECT_SCHEDULE | |
| Permanent connection | Establishing permanent connection | dc_clt_connect_s |
| dc_clt_connect | ||
| Releasing permanent connection | dc_clt_disconnect_s | |
| dc_clt_disconnect | ||
| Setting the destination of a request to establish a permanent connection | dc_clt_set_raphost_s | |
| dc_clt_set_raphost | ||
| Acquiring the destination of a request to establish a permanent connection | dc_clt_get_raphost_s | |
| dc_clt_get_raphost | ||
| Setting terminal identification information | dc_clt_set_connect_inf_s | |
| dc_clt_set_connect_inf | ||
| Transaction control | Transaction startup | dc_trn_begin_s |
| dc_trn_begin | ||
| Commit in chained mode | dc_trn_chained_commit_s | |
| dc_trn_chained_commit | ||
| Rollback in chained mode | dc_trn_chained_rollback_s | |
| dc_trn_chained_rollback | ||
| Commit in unchained mode | dc_trn_unchained_commit_s | |
| dc_trn_unchained_commit | ||
| Rollback in unchained mode | dc_trn_unchained_rollback_s | |
| dc_trn_unchained_rollback | ||
| Post information about current transaction | dc_trn_info_s | |
| dc_trn_info | ||
| Collection of identifiers for current transaction | dc_clt_get_trnid_s | |
| dc_clt_get_trnid | ||
| TCP/IP communication function | Sending messages | dc_clt_send_s |
| dc_clt_send | ||
| Receiving messages | dc_clt_receive_s | |
| dc_clt_receive | ||
| Receiving messages (messages receivable even if an error occurs) | dc_clt_receive2_s | |
| dc_clt_receive2 | ||
| Sending assembled messages | dc_clt_assem_send_s | |
| dc_clt_assem_send | ||
| Receiving assembled messages | dc_clt_assem_receive_s | |
| dc_clt_assem_receive | ||
| Facility for receiving one-way messages from the server | Receiving one-way messages from the server to the client | dc_clt_accept_notification_s |
| dc_clt_accept_notification | ||
| Canceling wait for one-way messages | dc_clt_cancel_notification_s | |
| dc_clt_cancel_notification | ||
| Starting reception of one-way messages | dc_clt_open_notification_s | |
| dc_clt_open_notification | ||
| Terminating reception of one-way messages | dc_clt_close_notification_s | |
| dc_clt_close_notification | ||
| Receiving a one-way message | dc_clt_chained_accept_notification_s | |
| dc_clt_chained_accept_notification | ||
| XATMI interface facility | Allocating typed buffer | tpalloc |
| Releasing typed buffer | tpfree | |
| Establishing connection with interactive service | tpconnect | |
| Disconnecting connection with interactive service | tpdiscon | |
| Sending messages to interactive service | tpsend | |
| Receiving messages from interactive service | tprecv | |
| Character code converter (When not using a code mapping table)# | Character code converter | dc_clt_code_convert |
| Character code converter (When using a code mapping table)# | Starting character code conversion | dc_clt_codeconv_open |
| Terminating character code conversion | dc_clt_codeconv_close | |
| Executing character code conversion | dc_clt_codeconv_exec | |
All Rights Reserved. Copyright (C) 2006, 2009, Hitachi, Ltd.