~ubuntu-branches/ubuntu/natty/evolution-exchange/natty

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>E2kAutoconfig</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="Evolution Connector for Microsoft Exchange Programmer’s Reference Manual">
<link rel="up" href="ch03.html" title="libexchange public API reference">
<link rel="prev" href="ch03.html" title="libexchange public API reference">
<link rel="next" href="E2kContext.html" title="E2kContext">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="ch03.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch03.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Evolution Connector for Microsoft Exchange Programmer’s Reference Manual</th>
<td><a accesskey="n" href="E2kContext.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#evolution-exchange-E2kAutoconfig.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#evolution-exchange-E2kAutoconfig.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry" title="E2kAutoconfig">
<a name="evolution-exchange-E2kAutoconfig"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="evolution-exchange-E2kAutoconfig.top_of_page"></a>E2kAutoconfig</span></h2>
<p>E2kAutoconfig — Account autoconfiguration</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="evolution-exchange-E2kAutoconfig.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig">E2kAutoconfig</a>;
enum                <a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kExchangeVersion" title="enum E2kExchangeVersion">E2kExchangeVersion</a>;
enum                <a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfigAuthPref" title="enum E2kAutoconfigAuthPref">E2kAutoconfigAuthPref</a>;
enum                <a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfigResult" title="enum E2kAutoconfigResult">E2kAutoconfigResult</a>;
<a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><span class="returnvalue">E2kAutoconfig</span></a> *     <a class="link" href="evolution-exchange-E2kAutoconfig.html#e2k-autoconfig-new" title="e2k_autoconfig_new ()">e2k_autoconfig_new</a>                  (<em class="parameter"><code>const <span class="type">gchar</span> *owa_uri</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *username</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *password</code></em>,
                                                         <em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfigAuthPref" title="enum E2kAutoconfigAuthPref"><span class="type">E2kAutoconfigAuthPref</span></a> auth_pref</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="evolution-exchange-E2kAutoconfig.html#e2k-autoconfig-free" title="e2k_autoconfig_free ()">e2k_autoconfig_free</a>                 (<em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><span class="type">E2kAutoconfig</span></a> *ac</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="evolution-exchange-E2kAutoconfig.html#e2k-autoconfig-set-owa-uri" title="e2k_autoconfig_set_owa_uri ()">e2k_autoconfig_set_owa_uri</a>          (<em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><span class="type">E2kAutoconfig</span></a> *ac</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *owa_uri</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="evolution-exchange-E2kAutoconfig.html#e2k-autoconfig-set-gc-server" title="e2k_autoconfig_set_gc_server ()">e2k_autoconfig_set_gc_server</a>        (<em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><span class="type">E2kAutoconfig</span></a> *ac</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *gc_server</code></em>,
                                                         <em class="parameter"><code><span class="type">gint</span> gal_limit</code></em>,
                                                         <em class="parameter"><code><span class="type">E2kAutoconfigGalAuthPref</span> gal_auth</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="evolution-exchange-E2kAutoconfig.html#e2k-autoconfig-set-username" title="e2k_autoconfig_set_username ()">e2k_autoconfig_set_username</a>         (<em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><span class="type">E2kAutoconfig</span></a> *ac</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *username</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="evolution-exchange-E2kAutoconfig.html#e2k-autoconfig-set-password" title="e2k_autoconfig_set_password ()">e2k_autoconfig_set_password</a>         (<em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><span class="type">E2kAutoconfig</span></a> *ac</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *password</code></em>);
<a class="link" href="E2kContext.html" title="E2kContext"><span class="returnvalue">E2kContext</span></a> *        <a class="link" href="evolution-exchange-E2kAutoconfig.html#e2k-autoconfig-get-context" title="e2k_autoconfig_get_context ()">e2k_autoconfig_get_context</a>          (<em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><span class="type">E2kAutoconfig</span></a> *ac</code></em>,
                                                         <em class="parameter"><code><a class="link" href="evolution-exchange-E2kOperation.html#E2kOperation" title="struct E2kOperation"><span class="type">E2kOperation</span></a> *op</code></em>,
                                                         <em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfigResult" title="enum E2kAutoconfigResult"><span class="type">E2kAutoconfigResult</span></a> *result</code></em>);
<a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfigResult" title="enum E2kAutoconfigResult"><span class="returnvalue">E2kAutoconfigResult</span></a>  <a class="link" href="evolution-exchange-E2kAutoconfig.html#e2k-autoconfig-check-exchange" title="e2k_autoconfig_check_exchange ()">e2k_autoconfig_check_exchange</a>      (<em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><span class="type">E2kAutoconfig</span></a> *ac</code></em>,
                                                         <em class="parameter"><code><a class="link" href="evolution-exchange-E2kOperation.html#E2kOperation" title="struct E2kOperation"><span class="type">E2kOperation</span></a> *op</code></em>);
<a class="link" href="E2kGlobalCatalog.html" title="E2kGlobalCatalog"><span class="returnvalue">E2kGlobalCatalog</span></a> *  <a class="link" href="evolution-exchange-E2kAutoconfig.html#e2k-autoconfig-get-global-catalog" title="e2k_autoconfig_get_global_catalog ()">e2k_autoconfig_get_global_catalog</a>   (<em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><span class="type">E2kAutoconfig</span></a> *ac</code></em>,
                                                         <em class="parameter"><code><a class="link" href="evolution-exchange-E2kOperation.html#E2kOperation" title="struct E2kOperation"><span class="type">E2kOperation</span></a> *op</code></em>);
<a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfigResult" title="enum E2kAutoconfigResult"><span class="returnvalue">E2kAutoconfigResult</span></a>  <a class="link" href="evolution-exchange-E2kAutoconfig.html#e2k-autoconfig-check-global-catalog" title="e2k_autoconfig_check_global_catalog ()">e2k_autoconfig_check_global_catalog</a>
                                                        (<em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><span class="type">E2kAutoconfig</span></a> *ac</code></em>,
                                                         <em class="parameter"><code><a class="link" href="evolution-exchange-E2kOperation.html#E2kOperation" title="struct E2kOperation"><span class="type">E2kOperation</span></a> *op</code></em>);
const <span class="returnvalue">gchar</span> *       <a class="link" href="evolution-exchange-E2kAutoconfig.html#e2k-autoconfig-lookup-option" title="e2k_autoconfig_lookup_option ()">e2k_autoconfig_lookup_option</a>        (<em class="parameter"><code>const <span class="type">gchar</span> *option</code></em>);
</pre>
</div>
<div class="refsect1" title="Description">
<a name="evolution-exchange-E2kAutoconfig.description"></a><h2>Description</h2>
<p>
The <a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><code class="literal">E2kAutoconfig</code></a> object handles trying to automatically configure a
user’s account without requiring the user to have to know arcane
details about the organization of the company’s Exchange servers.
</p>
</div>
<div class="refsect1" title="Details">
<a name="evolution-exchange-E2kAutoconfig.details"></a><h2>Details</h2>
<div class="refsect2" title="E2kAutoconfig">
<a name="E2kAutoconfig"></a><h3>E2kAutoconfig</h3>
<pre class="programlisting">typedef struct {
	/* Input data. (gc_server is optional) */
	gchar *owa_uri, *gc_server;
	gchar *username, *password;
	gint gal_limit;
	E2kAutoconfigGalAuthPref gal_auth;

	/* Output data */
	E2kExchangeVersion version;
	gchar *display_name, *email;
	gchar *account_uri, *exchange_server;
	gchar *timezone;

	/* Private-ish members */
	gchar *nt_domain, *w2k_domain;
	gchar *home_uri, *exchange_dn;
	gchar *pf_server;
	E2kAutoconfigAuthPref auth_pref;
	gboolean require_ntlm, use_ntlm;
	gboolean saw_basic, saw_ntlm;
	gboolean nt_domain_defaulted, gc_server_autodetected;
} E2kAutoconfig;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="enum E2kExchangeVersion">
<a name="E2kExchangeVersion"></a><h3>enum E2kExchangeVersion</h3>
<pre class="programlisting">typedef enum {
	E2K_EXCHANGE_UNKNOWN,
	E2K_EXCHANGE_2000,
	E2K_EXCHANGE_2003,

	E2K_EXCHANGE_FUTURE
} E2kExchangeVersion;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="enum E2kAutoconfigAuthPref">
<a name="E2kAutoconfigAuthPref"></a><h3>enum E2kAutoconfigAuthPref</h3>
<pre class="programlisting">typedef enum {
	E2K_AUTOCONFIG_USE_BASIC,
	E2K_AUTOCONFIG_USE_NTLM,
	E2K_AUTOCONFIG_USE_EITHER
} E2kAutoconfigAuthPref;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="enum E2kAutoconfigResult">
<a name="E2kAutoconfigResult"></a><h3>enum E2kAutoconfigResult</h3>
<pre class="programlisting">typedef enum {
	E2K_AUTOCONFIG_OK,
	E2K_AUTOCONFIG_REDIRECT,
	E2K_AUTOCONFIG_TRY_SSL,
	E2K_AUTOCONFIG_AUTH_ERROR,
	E2K_AUTOCONFIG_AUTH_ERROR_TRY_DOMAIN,
	E2K_AUTOCONFIG_AUTH_ERROR_TRY_BASIC,
	E2K_AUTOCONFIG_AUTH_ERROR_TRY_NTLM,
	E2K_AUTOCONFIG_EXCHANGE_5_5,
	E2K_AUTOCONFIG_NOT_EXCHANGE,
	E2K_AUTOCONFIG_NO_OWA,
	E2K_AUTOCONFIG_NO_MAILBOX,
	E2K_AUTOCONFIG_CANT_BPROPFIND,
	E2K_AUTOCONFIG_CANT_RESOLVE,
	E2K_AUTOCONFIG_CANT_CONNECT,
	E2K_AUTOCONFIG_CANCELLED,
	E2K_AUTOCONFIG_FAILED
} E2kAutoconfigResult;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="e2k_autoconfig_new ()">
<a name="e2k-autoconfig-new"></a><h3>e2k_autoconfig_new ()</h3>
<pre class="programlisting"><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><span class="returnvalue">E2kAutoconfig</span></a> *     e2k_autoconfig_new                  (<em class="parameter"><code>const <span class="type">gchar</span> *owa_uri</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *username</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *password</code></em>,
                                                         <em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfigAuthPref" title="enum E2kAutoconfigAuthPref"><span class="type">E2kAutoconfigAuthPref</span></a> auth_pref</code></em>);</pre>
<p>
Creates an autoconfig context, based on information stored in the
config file or provided as arguments.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>owa_uri</code></em> :</span></p></td>
<td>the OWA URI, or <code class="literal">NULL</code> to (try to) use a default
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>username</code></em> :</span></p></td>
<td>the username (or DOMAIN\username), or <code class="literal">NULL</code> to use a default
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>password</code></em> :</span></p></td>
<td>the password, or <code class="literal">NULL</code> if not yet known
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>auth_pref</code></em> :</span></p></td>
<td>information about what auth type to use
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> an autoconfig context
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e2k_autoconfig_free ()">
<a name="e2k-autoconfig-free"></a><h3>e2k_autoconfig_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e2k_autoconfig_free                 (<em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><span class="type">E2kAutoconfig</span></a> *ac</code></em>);</pre>
<p>
Frees <em class="parameter"><code>ac</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>ac</code></em> :</span></p></td>
<td>an autoconfig context
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e2k_autoconfig_set_owa_uri ()">
<a name="e2k-autoconfig-set-owa-uri"></a><h3>e2k_autoconfig_set_owa_uri ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e2k_autoconfig_set_owa_uri          (<em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><span class="type">E2kAutoconfig</span></a> *ac</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *owa_uri</code></em>);</pre>
<p>
Sets <em class="parameter"><code>ac</code></em>'s <span class="type">owa_uri</span> field to <em class="parameter"><code>owa_uri</code></em> (or the default if <em class="parameter"><code>owa_uri</code></em> is
<code class="literal">NULL</code>), and resets any fields whose values had been set based on
the old value of <span class="type">owa_uri</span>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ac</code></em> :</span></p></td>
<td>an autoconfig context
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>owa_uri</code></em> :</span></p></td>
<td>the new OWA URI, or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e2k_autoconfig_set_gc_server ()">
<a name="e2k-autoconfig-set-gc-server"></a><h3>e2k_autoconfig_set_gc_server ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e2k_autoconfig_set_gc_server        (<em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><span class="type">E2kAutoconfig</span></a> *ac</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *gc_server</code></em>,
                                                         <em class="parameter"><code><span class="type">gint</span> gal_limit</code></em>,
                                                         <em class="parameter"><code><span class="type">E2kAutoconfigGalAuthPref</span> gal_auth</code></em>);</pre>
<p>
Sets <em class="parameter"><code>ac</code></em>'s <span class="type">gc_server</span> field to <em class="parameter"><code>gc_server</code></em> (or the default if
<em class="parameter"><code>gc_server</code></em> is <code class="literal">NULL</code>) and the <span class="type">gal_limit</span> field to <em class="parameter"><code>gal_limit</code></em>, and
resets any fields whose values had been set based on the old value
of <span class="type">gc_server</span>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ac</code></em> :</span></p></td>
<td>an autoconfig context
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>gc_server</code></em> :</span></p></td>
<td>the new GC server, or <code class="literal">NULL</code>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>gal_limit</code></em> :</span></p></td>
<td>GAL search size limit, or -1 for no limit
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>gal_auth</code></em> :</span></p></td>
<td>Preferred authentication method for gal
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e2k_autoconfig_set_username ()">
<a name="e2k-autoconfig-set-username"></a><h3>e2k_autoconfig_set_username ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e2k_autoconfig_set_username         (<em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><span class="type">E2kAutoconfig</span></a> *ac</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *username</code></em>);</pre>
<p>
Sets <em class="parameter"><code>ac</code></em>'s <span class="type">username</span> field to <em class="parameter"><code>username</code></em> (or the default if
<em class="parameter"><code>username</code></em> is <code class="literal">NULL</code>), and resets any fields whose values had been
set based on the old value of <span class="type">username</span>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ac</code></em> :</span></p></td>
<td>an autoconfig context
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>username</code></em> :</span></p></td>
<td>the new username (or DOMAIN\username), or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e2k_autoconfig_set_password ()">
<a name="e2k-autoconfig-set-password"></a><h3>e2k_autoconfig_set_password ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e2k_autoconfig_set_password         (<em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><span class="type">E2kAutoconfig</span></a> *ac</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *password</code></em>);</pre>
<p>
Sets or clears <em class="parameter"><code>ac</code></em>'s <span class="type">password</span> field.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ac</code></em> :</span></p></td>
<td>an autoconfig context
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>password</code></em> :</span></p></td>
<td>the new password, or <code class="literal">NULL</code> to clear
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e2k_autoconfig_get_context ()">
<a name="e2k-autoconfig-get-context"></a><h3>e2k_autoconfig_get_context ()</h3>
<pre class="programlisting"><a class="link" href="E2kContext.html" title="E2kContext"><span class="returnvalue">E2kContext</span></a> *        e2k_autoconfig_get_context          (<em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><span class="type">E2kAutoconfig</span></a> *ac</code></em>,
                                                         <em class="parameter"><code><a class="link" href="evolution-exchange-E2kOperation.html#E2kOperation" title="struct E2kOperation"><span class="type">E2kOperation</span></a> *op</code></em>,
                                                         <em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfigResult" title="enum E2kAutoconfigResult"><span class="type">E2kAutoconfigResult</span></a> *result</code></em>);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ac</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e2k_autoconfig_check_exchange ()">
<a name="e2k-autoconfig-check-exchange"></a><h3>e2k_autoconfig_check_exchange ()</h3>
<pre class="programlisting"><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfigResult" title="enum E2kAutoconfigResult"><span class="returnvalue">E2kAutoconfigResult</span></a>  e2k_autoconfig_check_exchange      (<em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><span class="type">E2kAutoconfig</span></a> *ac</code></em>,
                                                         <em class="parameter"><code><a class="link" href="evolution-exchange-E2kOperation.html#E2kOperation" title="struct E2kOperation"><span class="type">E2kOperation</span></a> *op</code></em>);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ac</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e2k_autoconfig_get_global_catalog ()">
<a name="e2k-autoconfig-get-global-catalog"></a><h3>e2k_autoconfig_get_global_catalog ()</h3>
<pre class="programlisting"><a class="link" href="E2kGlobalCatalog.html" title="E2kGlobalCatalog"><span class="returnvalue">E2kGlobalCatalog</span></a> *  e2k_autoconfig_get_global_catalog   (<em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><span class="type">E2kAutoconfig</span></a> *ac</code></em>,
                                                         <em class="parameter"><code><a class="link" href="evolution-exchange-E2kOperation.html#E2kOperation" title="struct E2kOperation"><span class="type">E2kOperation</span></a> *op</code></em>);</pre>
<p>
Tries to connect to the global catalog associated with <em class="parameter"><code>ac</code></em>
(trying to figure it out from the domain name if the server
name is not yet known).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ac</code></em> :</span></p></td>
<td>an autoconfig context
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
<td>an <a class="link" href="evolution-exchange-E2kOperation.html#E2kOperation" title="struct E2kOperation"><span class="type">E2kOperation</span></a>, for cancellation
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the global catalog, or <code class="literal">NULL</code> if the GC server name
wasn't provided and couldn't be autodetected.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e2k_autoconfig_check_global_catalog ()">
<a name="e2k-autoconfig-check-global-catalog"></a><h3>e2k_autoconfig_check_global_catalog ()</h3>
<pre class="programlisting"><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfigResult" title="enum E2kAutoconfigResult"><span class="returnvalue">E2kAutoconfigResult</span></a>  e2k_autoconfig_check_global_catalog
                                                        (<em class="parameter"><code><a class="link" href="evolution-exchange-E2kAutoconfig.html#E2kAutoconfig" title="E2kAutoconfig"><span class="type">E2kAutoconfig</span></a> *ac</code></em>,
                                                         <em class="parameter"><code><a class="link" href="evolution-exchange-E2kOperation.html#E2kOperation" title="struct E2kOperation"><span class="type">E2kOperation</span></a> *op</code></em>);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ac</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e2k_autoconfig_lookup_option ()">
<a name="e2k-autoconfig-lookup-option"></a><h3>e2k_autoconfig_lookup_option ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       e2k_autoconfig_lookup_option        (<em class="parameter"><code>const <span class="type">gchar</span> *option</code></em>);</pre>
<p>
Looks up an autoconfiguration hint in the config file (if present)
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>option</code></em> :</span></p></td>
<td>option name to look up
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the string value of the option, or <code class="literal">NULL</code> if it is unset.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="See Also">
<a name="evolution-exchange-E2kAutoconfig.see-also"></a><h2>See Also</h2>
<p>
<a class="link" href="E2kContext.html" title="E2kContext"><span class="type">E2kContext</span></a>, <a class="link" href="E2kGlobalCatalog.html" title="E2kGlobalCatalog"><span class="type">E2kGlobalCatalog</span></a>
</p>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.15</div>
</body>
</html>