Representation of the body of an email. More...
#include "config.h"#include <stdbool.h>#include <time.h>#include "mutt/lib.h"#include "parameter.h"
Include dependency graph for body.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | Body |
| The body of an email. More... | |
Enumerations | |
| enum | ExpandoDataBody { ED_BOD_ATTACH_COUNT = 1 , ED_BOD_ATTACH_QUALIFIES , ED_BOD_CHARSET_CONVERT , ED_BOD_DELETED , ED_BOD_DESCRIPTION , ED_BOD_DISPOSITION , ED_BOD_FILE , ED_BOD_FILE_DISPOSITION , ED_BOD_FILE_SIZE , ED_BOD_MIME_ENCODING , ED_BOD_MIME_MAJOR , ED_BOD_MIME_MINOR , ED_BOD_TAGGED , ED_BOD_UNLINK } |
| Expando UIDs for Bodies. More... | |
Functions | |
| ARRAY_HEAD (BodyArray, struct Body *) | |
| bool | mutt_body_cmp_strict (const struct Body *b1, const struct Body *b2) |
| Strictly compare two email Body's. | |
| void | mutt_body_free (struct Body **ptr) |
| Free a Body. | |
| char * | mutt_body_get_charset (struct Body *b, char *buf, size_t buflen) |
| Get a body's character set. | |
| struct Body * | mutt_body_new (void) |
| Create a new Body. | |
Representation of the body of an email.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file body.h.
| enum ExpandoDataBody |
Expando UIDs for Bodies.
Definition at line 100 of file body.h.
| ARRAY_HEAD | ( | BodyArray | , |
| struct Body * | ) |
Strictly compare two email Body's.
| true | Body's are strictly identical |
Definition at line 110 of file body.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void mutt_body_free | ( | struct Body ** | ptr | ) |
Free a Body.
| [out] | ptr | Body to free |
Definition at line 58 of file body.c.
Here is the call graph for this function:
Here is the caller graph for this function:| char * mutt_body_get_charset | ( | struct Body * | b, |
| char * | buf, | ||
| size_t | buflen ) |
Get a body's character set.
| ptr | Buffer containing character set |
| NULL | On error, or if not a text type |
Definition at line 133 of file body.c.
Here is the call graph for this function:
Here is the caller graph for this function: