| ESExp * | e_sexp_new () |
| void | e_sexp_add_function () |
| void | e_sexp_add_ifunction () |
| void | e_sexp_add_variable () |
| void | e_sexp_remove_symbol () |
| gint | e_sexp_set_scope () |
| void | e_sexp_input_text () |
| void | e_sexp_input_file () |
| gint | e_sexp_parse () |
| ESExpResult * | e_sexp_eval () |
| ESExpResult * | e_sexp_term_eval () |
| ESExpResult * | e_sexp_result_new () |
| void | e_sexp_result_free () |
| void | e_sexp_resultv_free () |
| void | e_sexp_encode_bool () |
| void | e_sexp_encode_string () |
| void | e_sexp_fatal_error () |
| const gchar * | e_sexp_get_error () |
| ESExpTerm * | e_sexp_parse_value () |
| gboolean | e_sexp_evaluate_occur_times () |
| enum | ESExpResultType |
| struct | ESExpResult |
| enum | ESExpTermType |
| struct | ESExpSymbol |
| struct | ESExpTerm |
void e_sexp_add_function (ESExp *sexp,gint scope,const gchar *name,ESExpFunc *func,gpointer data);
void e_sexp_add_ifunction (ESExp *sexp,gint scope,const gchar *name,ESExpIFunc *func,gpointer data);
void e_sexp_add_variable (ESExp *sexp,gint scope,gchar *name,ESExpTerm *value);
void e_sexp_encode_bool (GString *s,gboolean state);
Encode a bool into an s-expression s
. Bools are
encoded using #t #f syntax.
void e_sexp_encode_string (GString *s,const gchar *string);
Add a c string string
to the s-expression stored in
the gstring s
. Quotes are added, and special characters
are escaped appropriately.
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;
};