2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these libraries and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* $XConsortium: connection.h /main/1 1996/04/21 19:22:23 drk $ */
25 * (c) Copyright 1993, 1994 Hewlett-Packard Company
26 * (c) Copyright 1993, 1994 International Business Machines Corp.
27 * (c) Copyright 1993, 1994 Novell, Inc.
28 * (c) Copyright 1993, 1994 Sun Microsystems, Inc.
38 #define _DtCM_DEFAULT_TIMEOUT 5
39 #define _DtCM_INITIAL_TIMEOUT 25
40 #define _DtCM_LONG_TIMEOUT 60
44 typedef enum Transport_type
48 } _DtCm_Transport_Type;
50 typedef struct targetlist {
52 unsigned long update_type;
53 struct targetlist *next;
56 typedef struct cl_info {
63 _DtCm_Target_List *tlist;
69 _DtCm_Client_Info *ci;
71 _DtCm_Transport_Type use;
76 extern enum clnt_stat _DtCm_clnt_call P((
77 _DtCm_Connection *conn,
83 struct timeval tout));
86 extern CSA_return_code _DtCm_add_registration P((
87 _DtCm_Client_Info *ci,
89 unsigned long update_type));
91 extern void _DtCm_remove_registration P((
92 _DtCm_Client_Info *ci,
95 extern CSA_return_code _DtCm_create_udp_client P((
99 _DtCm_Client_Info **clnt));
101 extern CSA_return_code _DtCm_create_tcp_client P((
105 _DtCm_Client_Info **clnt));
107 extern CSA_return_code _DtCm_get_server_rpc_version P((char *host, int *vers));
109 extern CSA_return_code _DtCm_clntstat_to_csastat P((enum clnt_stat clntstat));