e2f532afc04f829d6f6296f62db05afc740c9ff9
[modest] / src / modest-text-utils.h
1 /* modest-text-utils.h */
2 /* insert (c)/licensing information) */
3
4 #ifndef __MODEST_TEXT_UTILS_H__
5 #define __MODEST_TEXT_UTILS_H__
6
7 #include <time.h>
8
9 /* public */
10
11 /**
12  * modest_text_utils_quote:
13  * @buf: a string which contains the message to quote
14  * @from: the sender of the original message
15  * @sent_date: sent date/time of the original message
16  * @limit: specifies the maximum characters per line in the quoted text
17  * 
18  * Returns: a string containing the quoted message
19  */
20 gchar *
21 modest_text_utils_quote(const gchar *buf,
22                         const gchar *from,
23                         const time_t sent_date,
24                         const int limit);
25
26 #endif /* __MODEST_TEXT_UTILS_H__ */