* <many> WIP: refactor mu-msg -- mu-msg-file
This commit is contained in:
21
src/mu-msg.h
21
src/mu-msg.h
@ -30,23 +30,6 @@ G_BEGIN_DECLS
|
||||
struct _MuMsg;
|
||||
typedef struct _MuMsg MuMsg;
|
||||
|
||||
|
||||
/**
|
||||
* initialize the GMime-system; this function needs to be called
|
||||
* before doing anything else with MuMsg. mu_runtime_init will call
|
||||
* this function, so if you use that, you should not call this
|
||||
* function.
|
||||
*/
|
||||
void mu_msg_gmime_init (void);
|
||||
|
||||
/**
|
||||
* uninitialize the GMime-system; this function needs to be called
|
||||
* after you're done with MuMsg. mu_runtime_uninit will call this
|
||||
* function, so if you use that, you should not call this function.
|
||||
*/
|
||||
void mu_msg_gmime_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.
|
||||
@ -62,8 +45,8 @@ void mu_msg_gmime_uninit (void);
|
||||
* @return a new MuMsg instance or NULL in case of error; call
|
||||
* mu_msg_unref when done with this message
|
||||
*/
|
||||
MuMsg *mu_msg_new (const char* filepath, const char *maildir,
|
||||
GError **err) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
|
||||
MuMsg *mu_msg_new_from_file (const char* filepath, const char *maildir,
|
||||
GError **err) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user