* <many>: make gmime initialization/de-initialization implicit (remove mu_msg_init/mu_msg_uninit)

This commit is contained in:
Dirk-Jan C. Binnema
2010-09-10 08:18:04 +03:00
parent 55981b27df
commit 57fc2441a8
8 changed files with 26 additions and 73 deletions

View File

@ -30,25 +30,6 @@ G_BEGIN_DECLS
struct _MuMsg;
typedef struct _MuMsg MuMsg;
/**
* initialize the message parsing system; this function must be called
* before doing any message parsing (ie., any of the other
* mu_msg functions). when done with the message parsing system,
* call mu_msg_uninit. Note: calling this function on an already
* initialized system has no effect
*/
void mu_msg_init (void);
/**
* uninitialize the messge parsing system that has previously been
* initialized with mu_msg_init. not calling mu_msg_uninit after
* mu_msg_init has been called will lead to memory leakage. Note:
* calling mu_msg_uninit on an uninitialized system has no
* effect
*/
void mu_msg_uninit (void);
/**
* create a new MuMsg* instance which parses a message and provides
* read access to its properties; call mu_msg_destroy when done with it.