1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../css/manpage.css" type="text/css" /> 7 <title>ResultCode</title> 8 </head> 9 <body> 10 <h1><CODE><a href="../../nn/Overview.html">nn</a>::<a href="../../nn/http/Overview.html">http</a>::ResultCode</CODE> Enumerated Type</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14enum ResultCode; 15</pre> 16 </div> 17 <h2>Value</h2> 18 <div class="section"> 19 <table class="arguments"> 20 <thead> 21 <tr> 22 <th>Value</th> 23 <td>Description</td> 24 </tr> 25 </thead> 26 <tr> 27 <th>ER_NONE</th> 28 <td>No error.</td> 29 </tr> 30 <tr> 31 <th>ER_INVALID_STATUS</th> 32 <td>Invalid status.</td> 33 </tr> 34 <tr> 35 <th>ER_INVALID_PARAM</th> 36 <td>Invalid parameter.</td> 37 </tr> 38 <tr> 39 <th>ER_NOMEM</th> 40 <td>Dynamic memory allocation failure.</td> 41 </tr> 42 <tr> 43 <th>ER_CREATE_EVENT</th> 44 <td>Event generation failure.</td> 45 </tr> 46 <tr> 47 <th>ER_CREATE_MUTEX</th> 48 <td>Mutex creation failure.</td> 49 </tr> 50 <tr> 51 <th>ER_CREATE_QUEUE</th> 52 <td>Message queue creation failure.</td> 53 </tr> 54 <tr> 55 <th>ER_CREATE_THREAD</th> 56 <td>Thread creation failure.</td> 57 </tr> 58 <tr> 59 <th>ER_CONNECTION_NOT_INITIALIZED</th> 60 <td>Destination not allocated.</td> 61 </tr> 62 <tr> 63 <th>ER_ALREADY_ASSIGN_HOST</th> 64 <td>Destination already allocated.</td> 65 </tr> 66 <tr> 67 <th>ER_SESSION</th> 68 <td>IPC session invalid.</td> 69 </tr> 70 <tr> 71 <th>ER_CLIENT_PROCESS_MAX</th> 72 <td>Number of clients equivalent to the maximum number of simultaneous client processes already being used.</td> 73 </tr> 74 <tr> 75 <th>ER_IPC_SESSION_MAX</th> 76 <td>The maximum number of simultaneous IPC session connections are already connected. (The number of clients and number of connections are both already at the maximum.)</td> 77 </tr> 78 <tr> 79 <th>ER_TIMEOUT</th> 80 <td>Timeout.</td> 81 </tr> 82 <tr> 83 <th>ER_ALREADY_INITIALIZED</th> 84 <td>Library already initialized.</td> 85 </tr> 86 <tr> 87 <th>ER_NOT_INITIALIZED</th> 88 <td>Library not yet initialized.</td> 89 </tr> 90 <tr> 91 <th>ER_MSGQ_SEND_LSN</th> 92 <td>Failure sending to listener thread message queue.</td> 93 </tr> 94 <tr> 95 <th>ER_MSGQ_RECV_LSN</th> 96 <td>Failure receiving from listener thread message queue.</td> 97 </tr> 98 <tr> 99 <th>ER_MSGQ_RECV_COMM</th> 100 <td>Failure receiving from communication thread message queue.</td> 101 </tr> 102 <tr> 103 <th>ER_CONN_NOMORE</th> 104 <td>Maximum number of registerable connection handles exceeded.</td> 105 </tr> 106 <tr> 107 <th>ER_CONN_NOSUCH</th> 108 <td>No such connection handle.</td> 109 </tr> 110 <tr> 111 <th>ER_CONN_STATUS</th> 112 <td>Connection handle status invalid.</td> 113 </tr> 114 <tr> 115 <th>ER_CONN_ADD</th> 116 <td>Connection handle registration failure.</td> 117 </tr> 118 <tr> 119 <th>ER_CONN_CANCELED</th> 120 <td>Connection handle canceled.</td> 121 </tr> 122 <tr> 123 <th>ER_CONN_HOST_MAX</th> 124 <td>Maximum number of simultaneous connections to same host exceeded.</td> 125 </tr> 126 <tr> 127 <th>ER_CONN_PROCESS_MAX</th> 128 <td>Maximum number of connections used by one process exceeded.</td> 129 </tr> 130 <tr> 131 <th>ER_REQ_URL</th> 132 <td>Invalid URL.</td> 133 </tr> 134 <tr> 135 <th>ER_REQ_CONNMSG_PORT</th> 136 <td>Invalid CONNECT send port number.</td> 137 </tr> 138 <tr> 139 <th>ER_REQ_UNKNOWN_METHOD</th> 140 <td>Unknown method.</td> 141 </tr> 142 <tr> 143 <th>ER_RES_HEADER</th> 144 <td>Invalid HTTP header.</td> 145 </tr> 146 <tr> 147 <th>ER_RES_NONEWLINE</th> 148 <td>No newline in HTTP header.</td> 149 </tr> 150 <tr> 151 <th>ER_RES_BODYBUF</th> 152 <td>HTTP body receive buffer error.</td> 153 </tr> 154 <tr> 155 <th>ER_RES_BODYBUF_SHORTAGE</th> 156 <td>HTTP body receive buffer too small.</td> 157 </tr> 158 <tr> 159 <th>ER_POST_ADDED_ANOTHER</th> 160 <td>Failure adding to POST data (different POST type already exists).</td> 161 </tr> 162 <tr> 163 <th>ER_POST_BOUNDARY</th> 164 <td>Boundary cannot be properly set.</td> 165 </tr> 166 <tr> 167 <th>ER_POST_SEND</th> 168 <td>POST request send failure.</td> 169 </tr> 170 <tr> 171 <th>ER_POST_UNKNOWN_ENCTYPE</th> 172 <td>Unknown encoding type.</td> 173 </tr> 174 <tr> 175 <th>ER_POST_NODATA</th> 176 <td>Send data not set.</td> 177 </tr> 178 <tr> 179 <th>ER_SSL</th> 180 <td>SSL error.</td> 181 </tr> 182 <tr> 183 <th>ER_SSL_CERT_EXIST</th> 184 <td>SSL certificate already set (must be deleted before re-registering).</td> 185 </tr> 186 <tr> 187 <th>ER_SSL_NO_CA_CERT_STORE</th> 188 <td>No such SSL CA certificate store registered.</td> 189 </tr> 190 <tr> 191 <th>ER_SSL_NO_CLIENT_CERT</th> 192 <td>No such SSL client certificate registered.</td> 193 </tr> 194 <tr> 195 <th>ER_SSL_CA_CERT_STORE_MAX</th> 196 <td>Maximum number of simultaneously registerable SSL per-process CA certificate stores already registered.</td> 197 </tr> 198 <tr> 199 <th>ER_SSL_CLIENT_CERT_MAX</th> 200 <td>Maximum number of simultaneously registerable SSL per-process client certificates already registered.</td> 201 </tr> 202 <tr> 203 <th>ER_SSL_FAIL_TO_CREATE_CERT_STORE</th> 204 <td>Failed to create SSL certificate store.</td> 205 </tr> 206 <tr> 207 <th>ER_SSL_FAIL_TO_CREATE_CLIENT_CERT</th> 208 <td>Failed to create SSL client certificate.</td> 209 </tr> 210 <tr> 211 <th>ER_SOC_DNS</th> 212 <td>DNS name resolution failure.</td> 213 </tr> 214 <tr> 215 <th>ER_SOC_SEND</th> 216 <td>Socket data send failure.</td> 217 </tr> 218 <tr> 219 <th>ER_SOC_RECV</th> 220 <td>Socket data receive failure.</td> 221 </tr> 222 <tr> 223 <th>ER_SOC_CONN</th> 224 <td>Socket connection failure.</td> 225 </tr> 226 <tr> 227 <th>ER_SOC_KEEPALIVE_DISCONNECTED</th> 228 <td>Keep-alive communications have been disconnected from the server side.</td> 229 </tr> 230 <tr> 231 <th>ER_GET_PROXY_SETTING</th> 232 <td>Failed to get proxy value set by device.</td> 233 </tr> 234 </table> </div> 235 <h2>Description</h2> 236 <div class="section"> 237 <p>Function result codes. Stored as <CODE>description</CODE> elements in the <CODE>Result</CODE> returned from API functions.</p><!-- write here --></div> 238 <h2>Revision History</h2> 239 <div class="section"> 240 <dl class="history"> 241 <dt>2010/06/14</dt> 242 <dd>Initial version.<br /> 243 </dd> 244 </dl> 245 </div> 246 <hr><p>CONFIDENTIAL</p></body> 247</html> 248