~ubuntu-branches/ubuntu/raring/evolution-data-server/raring-proposed

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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ESExp</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Evolution-Data-Server Manual: Utilities (libedataserver)">
<link rel="up" href="ch03.html" title="Miscellaneous Utilities">
<link rel="prev" href="EProxy.html" title="EProxy">
<link rel="next" href="libedataserver-e-time-utils.html" title="e-time-utils">
<meta name="generator" content="GTK-Doc V1.18 (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="EProxy.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-Data-Server Manual: Utilities (libedataserver)</th>
<td><a accesskey="n" href="libedataserver-e-time-utils.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libedataserver-ESExp.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#libedataserver-ESExp.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libedataserver-ESExp"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libedataserver-ESExp.top_of_page"></a>ESExp</span></h2>
<p>ESExp</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libedataserver-ESExp.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">enum                <a class="link" href="libedataserver-ESExp.html#ESExpResultType" title="enum ESExpResultType">ESExpResultType</a>;
struct              <a class="link" href="libedataserver-ESExp.html#ESExpResult" title="struct ESExpResult">ESExpResult</a>;
enum                <a class="link" href="libedataserver-ESExp.html#ESExpTermType" title="enum ESExpTermType">ESExpTermType</a>;
struct              <a class="link" href="libedataserver-ESExp.html#ESExpSymbol" title="struct ESExpSymbol">ESExpSymbol</a>;
struct              <a class="link" href="libedataserver-ESExp.html#ESExpTerm" title="struct ESExpTerm">ESExpTerm</a>;
struct              <a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp">ESExp</a>;
<a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="returnvalue">ESExp</span></a> *             <a class="link" href="libedataserver-ESExp.html#e-sexp-new" title="e_sexp_new ()">e_sexp_new</a>                          (<em class="parameter"><code><span class="type">void</span></code></em>);
#define             <a class="link" href="libedataserver-ESExp.html#e-sexp-ref" title="e_sexp_ref()">e_sexp_ref</a>                          (f)
#define             <a class="link" href="libedataserver-ESExp.html#e-sexp-unref" title="e_sexp_unref()">e_sexp_unref</a>                        (f)
<span class="returnvalue">void</span>                <a class="link" href="libedataserver-ESExp.html#e-sexp-add-function" title="e_sexp_add_function ()">e_sexp_add_function</a>                 (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> scope</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code><span class="type">ESExpFunc</span> *func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libedataserver-ESExp.html#e-sexp-add-ifunction" title="e_sexp_add_ifunction ()">e_sexp_add_ifunction</a>                (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> scope</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code><span class="type">ESExpIFunc</span> *func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libedataserver-ESExp.html#e-sexp-add-variable" title="e_sexp_add_variable ()">e_sexp_add_variable</a>                 (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> scope</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExpTerm" title="struct ESExpTerm"><span class="type">ESExpTerm</span></a> *value</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libedataserver-ESExp.html#e-sexp-remove-symbol" title="e_sexp_remove_symbol ()">e_sexp_remove_symbol</a>                (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> scope</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="libedataserver-ESExp.html#e-sexp-set-scope" title="e_sexp_set_scope ()">e_sexp_set_scope</a>                    (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> scope</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libedataserver-ESExp.html#e-sexp-input-text" title="e_sexp_input_text ()">e_sexp_input_text</a>                   (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> len</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libedataserver-ESExp.html#e-sexp-input-file" title="e_sexp_input_file ()">e_sexp_input_file</a>                   (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> fd</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="libedataserver-ESExp.html#e-sexp-parse" title="e_sexp_parse ()">e_sexp_parse</a>                        (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>);
<a class="link" href="libedataserver-ESExp.html#ESExpResult" title="struct ESExpResult"><span class="returnvalue">ESExpResult</span></a> *       <a class="link" href="libedataserver-ESExp.html#e-sexp-eval" title="e_sexp_eval ()">e_sexp_eval</a>                         (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>);
<a class="link" href="libedataserver-ESExp.html#ESExpResult" title="struct ESExpResult"><span class="returnvalue">ESExpResult</span></a> *       <a class="link" href="libedataserver-ESExp.html#e-sexp-term-eval" title="e_sexp_term_eval ()">e_sexp_term_eval</a>                    (<em class="parameter"><code><span class="type">struct _ESExp</span> *f</code></em>,
                                                         <em class="parameter"><code><span class="type">struct _ESExpTerm</span> *t</code></em>);
<a class="link" href="libedataserver-ESExp.html#ESExpResult" title="struct ESExpResult"><span class="returnvalue">ESExpResult</span></a> *       <a class="link" href="libedataserver-ESExp.html#e-sexp-result-new" title="e_sexp_result_new ()">e_sexp_result_new</a>                   (<em class="parameter"><code><span class="type">struct _ESExp</span> *f</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> type</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libedataserver-ESExp.html#e-sexp-result-free" title="e_sexp_result_free ()">e_sexp_result_free</a>                  (<em class="parameter"><code><span class="type">struct _ESExp</span> *f</code></em>,
                                                         <em class="parameter"><code><span class="type">struct _ESExpResult</span> *t</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libedataserver-ESExp.html#e-sexp-resultv-free" title="e_sexp_resultv_free ()">e_sexp_resultv_free</a>                 (<em class="parameter"><code><span class="type">struct _ESExp</span> *f</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> argc</code></em>,
                                                         <em class="parameter"><code><span class="type">struct _ESExpResult</span> **argv</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libedataserver-ESExp.html#e-sexp-encode-bool" title="e_sexp_encode_bool ()">e_sexp_encode_bool</a>                  (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> *s</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> state</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libedataserver-ESExp.html#e-sexp-encode-string" title="e_sexp_encode_string ()">e_sexp_encode_string</a>                (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> *s</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libedataserver-ESExp.html#e-sexp-fatal-error" title="e_sexp_fatal_error ()">e_sexp_fatal_error</a>                  (<em class="parameter"><code><span class="type">struct _ESExp</span> *f</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *why</code></em>,
                                                         <em class="parameter"><code>...</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="libedataserver-ESExp.html#e-sexp-error" title="e_sexp_error ()">e_sexp_error</a>                        (<em class="parameter"><code><span class="type">struct _ESExp</span> *f</code></em>);
<a class="link" href="libedataserver-ESExp.html#ESExpTerm" title="struct ESExpTerm"><span class="returnvalue">ESExpTerm</span></a> *         <a class="link" href="libedataserver-ESExp.html#e-sexp-parse-value" title="e_sexp_parse_value ()">e_sexp_parse_value</a>                  (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libedataserver-ESExp.html#e-sexp-evaluate-occur-times" title="e_sexp_evaluate_occur_times ()">e_sexp_evaluate_occur_times</a>         (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>,
                                                         <em class="parameter"><code><span class="type">time_t</span> *start</code></em>,
                                                         <em class="parameter"><code><span class="type">time_t</span> *end</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libedataserver-ESExp.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="libedataserver-ESExp.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="ESExpResultType"></a><h3>enum ESExpResultType</h3>
<pre class="programlisting">typedef enum {
	ESEXP_RES_ARRAY_PTR=0, /* type is a ptrarray, what it points to is implementation dependant */
	ESEXP_RES_INT,		/* type is a number */
	ESEXP_RES_STRING, /* type is a pointer to a single string */
	ESEXP_RES_BOOL,		/* boolean type */
	ESEXP_RES_TIME,		/* time_t type */
	ESEXP_RES_UNDEFINED /* unknown type */
} ESExpResultType;
</pre>
</div>
<hr>
<div class="refsect2">
<a name="ESExpResult"></a><h3>struct ESExpResult</h3>
<pre class="programlisting">struct ESExpResult {
	ESExpResultType type;
	union {
		GPtrArray *ptrarray;
		gint number;
		gchar *string;
		gint boolean;
		time_t time;
	} value;
	gboolean time_generator;
	time_t occuring_start;
	time_t occuring_end;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="ESExpTermType"></a><h3>enum ESExpTermType</h3>
<pre class="programlisting">typedef enum {
	ESEXP_TERM_INT = 0, /* integer literal */
	ESEXP_TERM_BOOL, /* boolean literal */
	ESEXP_TERM_STRING, /* string literal */
	ESEXP_TERM_TIME, /* time_t literal (number of seconds past the epoch) */
	ESEXP_TERM_FUNC, /* normal function, arguments are evaluated before calling */
	ESEXP_TERM_IFUNC, /* immediate function, raw terms are arguments */
	ESEXP_TERM_VAR		/* variable reference */
} ESExpTermType;
</pre>
</div>
<hr>
<div class="refsect2">
<a name="ESExpSymbol"></a><h3>struct ESExpSymbol</h3>
<pre class="programlisting">struct ESExpSymbol {
	gint type;		/* ESEXP_TERM_FUNC or ESEXP_TERM_VAR */
	gchar *name;
	gpointer data;
	union {
		ESExpFunc *func;
		ESExpIFunc *ifunc;
	} f;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="ESExpTerm"></a><h3>struct ESExpTerm</h3>
<pre class="programlisting">struct ESExpTerm {
	ESExpTermType type;
	union {
		gchar *string;
		gint number;
		gint boolean;
		time_t time;
		struct {
			struct _ESExpSymbol *sym;
			struct _ESExpTerm **terms;
			gint termcount;
		} func;
		struct _ESExpSymbol *var;
	} value;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="ESExp"></a><h3>struct ESExp</h3>
<pre class="programlisting">struct ESExp {
#ifdef E_SEXP_IS_G_OBJECT
	GObject parent_object;
#else
	gint refcount;
#endif
	GScanner *scanner; /* for parsing text version */
	ESExpTerm *tree; /* root of expression tree */

	/* private stuff */
	jmp_buf failenv;
	gchar *error;
	GSList *operators;

	/* TODO: may also need a pool allocator for term strings, so we dont lose them
	 * in error conditions? */
	struct _EMemChunk *term_chunks;
	struct _EMemChunk *result_chunks;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-new"></a><h3>e_sexp_new ()</h3>
<pre class="programlisting"><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="returnvalue">ESExp</span></a> *             e_sexp_new                          (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-ref"></a><h3>e_sexp_ref()</h3>
<pre class="programlisting">#define         e_sexp_ref(f)           g_object_ref (f)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-unref"></a><h3>e_sexp_unref()</h3>
<pre class="programlisting">#define         e_sexp_unref(f)         g_object_unref (f)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-add-function"></a><h3>e_sexp_add_function ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e_sexp_add_function                 (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> scope</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code><span class="type">ESExpFunc</span> *func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-add-ifunction"></a><h3>e_sexp_add_ifunction ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e_sexp_add_ifunction                (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> scope</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code><span class="type">ESExpIFunc</span> *func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-add-variable"></a><h3>e_sexp_add_variable ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e_sexp_add_variable                 (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> scope</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExpTerm" title="struct ESExpTerm"><span class="type">ESExpTerm</span></a> *value</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-remove-symbol"></a><h3>e_sexp_remove_symbol ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e_sexp_remove_symbol                (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> scope</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-set-scope"></a><h3>e_sexp_set_scope ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                e_sexp_set_scope                    (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> scope</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-input-text"></a><h3>e_sexp_input_text ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e_sexp_input_text                   (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> len</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-input-file"></a><h3>e_sexp_input_file ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e_sexp_input_file                   (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> fd</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-parse"></a><h3>e_sexp_parse ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                e_sexp_parse                        (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-eval"></a><h3>e_sexp_eval ()</h3>
<pre class="programlisting"><a class="link" href="libedataserver-ESExp.html#ESExpResult" title="struct ESExpResult"><span class="returnvalue">ESExpResult</span></a> *       e_sexp_eval                         (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-term-eval"></a><h3>e_sexp_term_eval ()</h3>
<pre class="programlisting"><a class="link" href="libedataserver-ESExp.html#ESExpResult" title="struct ESExpResult"><span class="returnvalue">ESExpResult</span></a> *       e_sexp_term_eval                    (<em class="parameter"><code><span class="type">struct _ESExp</span> *f</code></em>,
                                                         <em class="parameter"><code><span class="type">struct _ESExpTerm</span> *t</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-result-new"></a><h3>e_sexp_result_new ()</h3>
<pre class="programlisting"><a class="link" href="libedataserver-ESExp.html#ESExpResult" title="struct ESExpResult"><span class="returnvalue">ESExpResult</span></a> *       e_sexp_result_new                   (<em class="parameter"><code><span class="type">struct _ESExp</span> *f</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> type</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-result-free"></a><h3>e_sexp_result_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e_sexp_result_free                  (<em class="parameter"><code><span class="type">struct _ESExp</span> *f</code></em>,
                                                         <em class="parameter"><code><span class="type">struct _ESExpResult</span> *t</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-resultv-free"></a><h3>e_sexp_resultv_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e_sexp_resultv_free                 (<em class="parameter"><code><span class="type">struct _ESExp</span> *f</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> argc</code></em>,
                                                         <em class="parameter"><code><span class="type">struct _ESExpResult</span> **argv</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-encode-bool"></a><h3>e_sexp_encode_bool ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e_sexp_encode_bool                  (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> *s</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> state</code></em>);</pre>
<p>
Encode a bool into an s-expression <em class="parameter"><code>s</code></em>.  Bools are
encoded using #t #f syntax.
</p>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-encode-string"></a><h3>e_sexp_encode_string ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e_sexp_encode_string                (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> *s</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
<p>
Add a c string <em class="parameter"><code>string</code></em> to the s-expression stored in
the gstring <em class="parameter"><code>s</code></em>.  Quotes are added, and special characters
are escaped appropriately.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
<td>Destination string.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
<td>String expression.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-fatal-error"></a><h3>e_sexp_fatal_error ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e_sexp_fatal_error                  (<em class="parameter"><code><span class="type">struct _ESExp</span> *f</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *why</code></em>,
                                                         <em class="parameter"><code>...</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-error"></a><h3>e_sexp_error ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       e_sexp_error                        (<em class="parameter"><code><span class="type">struct _ESExp</span> *f</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-parse-value"></a><h3>e_sexp_parse_value ()</h3>
<pre class="programlisting"><a class="link" href="libedataserver-ESExp.html#ESExpTerm" title="struct ESExpTerm"><span class="returnvalue">ESExpTerm</span></a> *         e_sexp_parse_value                  (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>);</pre>
<p class="since">Since 2.28</p>
</div>
<hr>
<div class="refsect2">
<a name="e-sexp-evaluate-occur-times"></a><h3>e_sexp_evaluate_occur_times ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            e_sexp_evaluate_occur_times         (<em class="parameter"><code><a class="link" href="libedataserver-ESExp.html#ESExp" title="struct ESExp"><span class="type">ESExp</span></a> *f</code></em>,
                                                         <em class="parameter"><code><span class="type">time_t</span> *start</code></em>,
                                                         <em class="parameter"><code><span class="type">time_t</span> *end</code></em>);</pre>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>