mirror of https://github.com/djcb/mu.git
* mu-msg.[ch], mu-msg-file.[ch]: update indentation
This commit is contained in:
parent
51fb5fe8e9
commit
228af3edee
|
@ -1,4 +1,5 @@
|
|||
/*
|
||||
/* -*- mode: c; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
|
||||
**
|
||||
** Copyright (C) 2011 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
**
|
||||
** This program is free software; you can redistribute it and/or modify it
|
||||
|
@ -700,7 +701,6 @@ get_msgids_from_header (MuMsgFile *self, const char* header)
|
|||
}
|
||||
|
||||
|
||||
|
||||
static GSList*
|
||||
get_references (MuMsgFile *self)
|
||||
{
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
/* -*-mode: c; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-*/
|
||||
|
||||
/*
|
||||
** Copyright (C) 2010 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
**
|
||||
|
@ -44,6 +46,7 @@ MuMsgFile *mu_msg_file_new (const char *path,
|
|||
void mu_msg_file_destroy (MuMsgFile *self);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* get a string value for this message
|
||||
*
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/*
|
||||
/* -*- mode: c; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
|
||||
**
|
||||
** Copyright (C) 2008-2011 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
**
|
||||
** This program is free software; you can redistribute it and/or modify
|
||||
|
|
22
src/mu-msg.h
22
src/mu-msg.h
|
@ -1,4 +1,5 @@
|
|||
/*
|
||||
/* -*- mode: c; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
|
||||
**
|
||||
** Copyright (C) 2010 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
**
|
||||
** This program is free software; you can redistribute it and/or modify
|
||||
|
@ -39,14 +40,16 @@ typedef struct _MuMsg MuMsg;
|
|||
* ~/Maildir/foo/bar/cur/msg, the maildir would be foo/bar; you can
|
||||
* pass NULL for this parameter, in which case some maildir-specific
|
||||
* information is not available.
|
||||
* @param err receive error information (MU_ERROR_FILE or MU_ERROR_GMIME), or NULL. There
|
||||
* will only be err info if the function returns NULL
|
||||
* @param err receive error information (MU_ERROR_FILE or
|
||||
* MU_ERROR_GMIME), or NULL. There will only be err info if the
|
||||
* function returns NULL
|
||||
*
|
||||
* @return a new MuMsg instance or NULL in case of error; call
|
||||
* mu_msg_unref when done with this message
|
||||
*/
|
||||
MuMsg *mu_msg_new_from_file (const char* filepath, const char *maildir,
|
||||
GError **err) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
|
||||
GError **err)
|
||||
G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -294,17 +297,6 @@ MuMsgPrio mu_msg_get_prio (MuMsg *msg);
|
|||
time_t mu_msg_get_timestamp (MuMsg *msg);
|
||||
|
||||
|
||||
/**
|
||||
* get a list of message ids this message refers to -- this is based
|
||||
* on the References: and In-reply-to: headers.
|
||||
*
|
||||
* @param msg a valid MuMsg instance
|
||||
*
|
||||
* @return a list of message id, with the most immediate parent as the
|
||||
* last element. Don't modify/free this list.
|
||||
*/
|
||||
const GSList *mu_msg_get_references (MuMsg *msg);
|
||||
|
||||
|
||||
/**
|
||||
* get the list of references as a comma-separated string
|
||||
|
|
Loading…
Reference in New Issue