From 75353e0bff2661faf013f87aed65fbc58bb0ab68 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 30 May 2000 22:53:59 +0000 Subject: Utility function to build a bool as part of an expression string. 2000-05-30 Not Zed * e-sexp.c (e_sexp_encode_bool): Utility function to build a bool as part of an expression string. (e_sexp_encode_string): Likewise for strings. svn path=/trunk/; revision=3300 --- e-util/e-sexp.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'e-util/e-sexp.h') diff --git a/e-util/e-sexp.h b/e-util/e-sexp.h index 885a2369b9..1030531133 100644 --- a/e-util/e-sexp.h +++ b/e-util/e-sexp.h @@ -112,4 +112,8 @@ ESExpResult *e_sexp_term_eval (struct _ESExp *f, struct _ESExpTerm *t); ESExpResult *e_sexp_result_new (int type); void e_sexp_result_free (struct _ESExpResult *t); +/* utility functions for creating s-exp strings. */ +void e_sexp_encode_bool(GString *s, gboolean state); +void e_sexp_encode_string(GString *s, const char *string); + #endif /* _E_SEXP_H */ -- cgit v1.2.3