~ubuntu-branches/ubuntu/utopic/gridengine/utopic

« back to all changes in this revision

Viewing changes to source/libs/comm/msg_commlib.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-06-25 22:36:13 UTC
  • Revision ID: james.westby@ubuntu.com-20080625223613-tvd9xlhuoct9kyhm
Tags: upstream-6.2~beta2
ImportĀ upstreamĀ versionĀ 6.2~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __MSG_COMMLIB_H
 
2
#define __MSG_COMMLIB_H
 
3
/*___INFO__MARK_BEGIN__*/
 
4
/*************************************************************************
 
5
 * 
 
6
 *  The Contents of this file are made available subject to the terms of
 
7
 *  the Sun Industry Standards Source License Version 1.2
 
8
 * 
 
9
 *  Sun Microsystems Inc., March, 2001
 
10
 * 
 
11
 * 
 
12
 *  Sun Industry Standards Source License Version 1.2
 
13
 *  =================================================
 
14
 *  The contents of this file are subject to the Sun Industry Standards
 
15
 *  Source License Version 1.2 (the "License"); You may not use this file
 
16
 *  except in compliance with the License. You may obtain a copy of the
 
17
 *  License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
 
18
 * 
 
19
 *  Software provided under this License is provided on an "AS IS" basis,
 
20
 *  WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
 
21
 *  WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
 
22
 *  MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
 
23
 *  See the License for the specific provisions governing your rights and
 
24
 *  obligations concerning the Software.
 
25
 * 
 
26
 *   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
 
27
 * 
 
28
 *   Copyright: 2001 by Sun Microsystems, Inc.
 
29
 * 
 
30
 *   All Rights Reserved.
 
31
 * 
 
32
 ************************************************************************/
 
33
/*___INFO__MARK_END__*/
 
34
 
 
35
#include "basis_types.h"
 
36
 
 
37
#define MSG_CL_CRM_ERROR_MESSAGE1_SS                                          _MESSAGE(85000, _("server host resolves source host "SFQ" as "SFQ""))
 
38
#define MSG_CL_CRM_ERROR_MESSAGE2_SS                                          _MESSAGE(85001, _("server host resolves destination host "SFQ" as "SFQ""))
 
39
#define MSG_CL_CRM_ERROR_MESSAGE3_SS                                          _MESSAGE(85002, _("server host resolves rdata host "SFQ" as "SFQ""))
 
40
#define MSG_CL_CRM_ERROR_MESSAGE4_SS                                          _MESSAGE(85003, _("client IP resolved to host name "SFQ". This is not identical to clients host name "SFQ""))
 
41
 
 
42
/* cl_tcp_framework.c */
 
43
 
 
44
#define MSG_CL_TCP_FW_SOCKET_ERROR                                            _MESSAGE(85004, _("call to socket(AF_INET, SOCK_STREAM,0) returned value < 0"))
 
45
#define MSG_CL_TCP_FW_SETSOCKOPT_ERROR                                        _MESSAGE(85005, _("call to setsockopt() failed setting SO_REUSEADDR"))
 
46
#define MSG_CL_TCP_FW_FCNTL_ERROR                                             _MESSAGE(85006, _("call to fcntl() failed setting O_NONBLOCK"))
 
47
#define MSG_CL_TCP_FW_CANT_RESOLVE_HOST_S                                     _MESSAGE(85007, _("can't resolve hostname "SFQ""))
 
48
#define MSG_CL_TCP_FW_ADDR_NAME_RESOLVE_HOST_ERROR_SSSS                       _MESSAGE(85008, _("reverse mapping of IP "SFQ" returns "SFQ" while name resolving returns "SFQ" for host "SFQ""))
 
49
#define MSG_CL_TCP_FW_CONNECT_TIMEOUT                                         _MESSAGE(85013, _("connect timeout error"))
 
50
#define MSG_CL_TCP_FW_EMPTY_DESTINATION_HOST                                  _MESSAGE(85016, _("got empty destination host name from connected client"))
 
51
#define MSG_CL_TCP_FW_CANT_RESOLVE_DESTINATION_HOST_S                         _MESSAGE(85018, _("can't resolve destination hostname "SFQ""))
 
52
#define MSG_CL_TCP_FW_REMOTE_DESTINATION_HOSTNAME_X_NOT_Y_SS                  _MESSAGE(85019, _("remote destination host name "SFQ" is not equal to local resolved host name "SFQ""))
 
53
#define MSG_CL_TCP_FW_CANT_RESOLVE_RDATA_HOST_S                               _MESSAGE(85020, _("can't resolve rdata hostname "SFQ""))
 
54
#define MSG_CL_TCP_FW_EMPTY_RDATA_HOST                                        _MESSAGE(85021, _("got empty rdata host name from connected client" ))
 
55
#define MSG_CL_TCP_FW_REMOTE_RDATA_HOSTNAME_X_NOT_Y_SS                        _MESSAGE(85022, _("remote rdata host name "SFQ" is not equal to local resolved host name "SFQ""))
 
56
#define MSG_CL_TCP_FW_IP_ADDRESS_RESOLVING_X_NOT_Y_SS                         _MESSAGE(85023, _("IP based host name resolving "SFQ" doesn't match client host name from connect message "SFQ""))
 
57
#define MSG_CL_TCP_FW_CANT_RESOLVE_CLIENT_IP                                  _MESSAGE(85024, _("can't resolve client IP address"))
 
58
#define MSG_CL_TCP_FW_EMPTY_REMOTE_HOST                                       _MESSAGE(85025, _("got no remote host name from client"))
 
59
#define MSG_CL_TCP_FW_ENDPOINT_X_DOESNT_MATCH_Y_SSUSSU                        _MESSAGE(85026, _("local endpoint \""SFN"/"SFN"/"sge_U32CFormat"\" doesn't match requested endpoint \""SFN"/"SFN"/"sge_U32CFormat"\""))
 
60
#define MSG_CL_TCP_FW_ENDPOINT_X_ALREADY_CONNECTED_SSU                        _MESSAGE(85027, _("endpoint \""SFN"/"SFN"/"sge_U32CFormat"\" is already connected"))
 
61
#define MSG_CL_TCP_FW_ALLOWED_HOST_LIST_NOT_DEFINED                           _MESSAGE(85028, _("no allowed host list defined"))
 
62
#define MSG_CL_TCP_FW_HOST_X_NOT_IN_ALOWED_HOST_LIST_S                        _MESSAGE(85029, _("host "SFQ" is not in allowed host list"))
 
63
#define MSG_CL_TCP_FW_CONNECTION_STATUS_TEXT_OK                               _MESSAGE(85030, _("ok"))
 
64
#define MSG_CL_TCP_FW_CONNECTION_STATUS_TEXT_HOSTNAME_RESOLVING_ERROR         _MESSAGE(85031, _("hostname resolving error"))
 
65
#define MSG_CL_TCP_FW_CONNECTION_STATUS_TEXT_COMPONENT_NOT_FOUND              _MESSAGE(85032, _("requested component not found"))
 
66
#define MSG_CL_TCP_FW_CONNECTION_STATUS_TEXT_ENDPOINT_NOT_UNIQUE_ERROR        _MESSAGE(85033, _("already connected - endpoint not unique error"))
 
67
#define MSG_CL_TCP_FW_CONNECTION_STATUS_TEXT_CLIENT_NOT_IN_ALLOWED_HOST_LIST  _MESSAGE(85034, _("client is not in allowed host list"))
 
68
#define MSG_CL_TCP_FW_RESERVED_SOCKET_ERROR                                   _MESSAGE(85035, _("call to rresvport() returned value < 0"))
 
69
#define MSG_CL_TCP_FW_RESERVED_PORT_CONNECT_ERROR                             _MESSAGE(85036, _("debug client did not use a reserved port < 1024"))
 
70
#define MSG_CL_TCP_FW_ENDPOINT_X_NOT_FROM_RESERVED_PORT_SSU                   _MESSAGE(85037, _("debug client \""SFN"/"SFN"/"sge_U32CFormat"\" did not use a reserved port below 1024"))
 
71
#define MSG_CL_TCP_FW_ENDPOINT_X_NOT_FROM_LOCAL_HOST_SSUS                     _MESSAGE(85038, _("debug client \""SFN"/"SFN"/"sge_U32CFormat"\" is not running on host "SFQ""))
 
72
#define MSG_CL_TCP_FW_LOCAL_HOST_CONNECT_ERROR                                _MESSAGE(85039, _("debug client is not running on local host"))
 
73
#define MSG_CL_TCP_FW_STANDARD_ENDPOINT_X_NOT_FROM_RESERVED_PORT_SSU          _MESSAGE(85040, _("client \""SFN"/"SFN"/"sge_U32CFormat"\" did not use a reserved port below 1024"))
 
74
#define MSG_CL_TCP_FW_SSL_CONNECT_TIMEOUT                                     _MESSAGE(85041, _("connect timeout error"))
 
75
#define MSG_CL_SSL_FW_OPEN_SSL_CRYPTO_FAILED                                  _MESSAGE(85042, _("Unable to open the OpenSSL library.  Please make sure libssl is accessible from your shared library path."))
 
76
#define MSG_CL_SSL_FW_LOAD_CRYPTO_SYMBOL_FAILED                               _MESSAGE(85043, _("Unable to load symbol from libssl."))
 
77
 
 
78
#define MSG_CL_COMMLIB_CLOSING_SSU                                            _MESSAGE(85044, _("closing \""SFN"/"SFN"/"sge_U32CFormat"\""))
 
79
#define MSG_CL_COMMLIB_COMPILE_SOURCE_WITH_LARGER_FD_SETSIZE                  _MESSAGE(85045, _("compile source code with larger FD_SETSIZE value"))
 
80
#define MSG_CL_COMMLIB_CHECK_SSL_CERTIFICATE                                  _MESSAGE(85046, _("please check certificate validity"))
 
81
#define MSG_CL_COMMLIB_HOSTNAME_EXEEDS_MAX_HOSTNAME_LENGTH_SU                 _MESSAGE(85047, _("hostname "SFQ" exceeds MAXHOSTNAMELEN(="sge_U32CFormat")"))
 
82
#define MSG_CL_COMMLIB_SSL_ERROR_USS                                          _MESSAGE(85048, _("SSL error(nr.:"sge_U32CFormat") in %s: %s"))
 
83
 
 
84
 
 
85
#define MSG_CL_COMMLIB_SSL_CLIENT_CERTIFICATE_ERROR   _MESSAGE(85049, _("client certificate doesn't verify"))
 
86
#define MSG_CL_COMMLIB_SSL_PEER_CERT_GET_ERROR        _MESSAGE(85051, _("cannot get peer certificate"))
 
87
#define MSG_CL_COMMLIB_SSL_USER_ID_VERIFY_ERROR       _MESSAGE(85052, _("user id doesn't verify"))
 
88
#define MSG_CL_COMMLIB_SSL_USER_ID_GET_ERROR          _MESSAGE(85053, _("cannot get user id"))
 
89
#define MSG_CL_COMMLIB_SSL_CLIENT_CERT_NOT_SENT_ERROR _MESSAGE(85054, _("client did not send peer certificate"))
 
90
#define MSG_CL_COMMLIB_SSL_HANDSHAKE_ERROR            _MESSAGE(85055, _("SSL handshake error"))
 
91
#define MSG_CL_COMMLIB_SSL_VERIFY_CALLBACK_FUNC_ERROR _MESSAGE(85056, _("commlib ssl verify callback function failed"))
 
92
#define MSG_CL_COMMLIB_SSL_SERVER_CERT_NOT_SENT_ERROR _MESSAGE(85058, _("service did not send peer certificate"))
 
93
#define MSG_CL_COMMLIB_SSL_MESSAGE_SIZE_EXEED_ERROR   _MESSAGE(85059, _("message size exceeds integer size on this architecture"))
 
94
#define MSG_CL_COMMLIB_SSL_ACCEPT_TIMEOUT_ERROR_S     _MESSAGE(85060, _("ssl accept timeout for client "SFQ""))
 
95
#define MSG_CL_COMMLIB_SSL_ACCEPT_TIMEOUT_ERROR       _MESSAGE(85061, _("ssl accept timeout for unresolvable client"))
 
96
#define MSG_CL_COMMLIB_SSL_ACCEPT_ERROR_S             _MESSAGE(85062, _("ssl accept error for client "SFQ""))
 
97
#define MSG_CL_COMMLIB_SSL_ACCEPT_ERROR               _MESSAGE(85063, _("ssl accept error for unresolvable client"))
 
98
 
 
99
#define MSG_CL_COMMLIB_NO_ADDITIONAL_INFO             _MESSAGE(85064, _("no additional information available"))
 
100
#define MSG_CL_COMMLIB_CANT_SWITCH_THREAD_MODE_WITH_EXISTING_HANDLES _MESSAGE(85065, _("can't switch commlib thread mode while communication handles are defined"))
 
101
#define MSG_CL_COMMLIB_SSL_ERROR_NR_AND_TEXT_USS      _MESSAGE(85066, _("[ID="sge_U32CFormat"] in module "SFQ": "SFQ))
 
102
 
 
103
 
 
104
#define MSG_CL_COMMLIB_SSL_ERROR_151441508            _MESSAGE(85500, _("certificate file contains a bad certificate"))
 
105
#define MSG_CL_COMMLIB_SSL_ERROR_33558541             _MESSAGE(85501, _("please check the permissions of the pem certificate file"))
 
106
#define MSG_CL_COMMLIB_SSL_ERROR_336151573            _MESSAGE(85502, _("the used certificate is expired"))
 
107
#define MSG_CL_COMMLIB_SSL_ERROR_336105650            _MESSAGE(85503, _("the used certificate is expired or invalid"))
 
108
 
 
109
 
 
110
 
 
111
 
 
112
 
 
113
 
 
114
 
 
115
 
 
116
 
 
117
 
 
118
 
 
119
 
 
120
#endif /* __MSG_COMMLIB_H */