# dkim_body()

SYNOPSIS |
    #include <dkim.h>
    DKIM_STAT dkim_body(
    	DKIM *dkim,
    	unsigned char *bodyp,
    	size_t len
    );
Handle a piece of a message's body. The body block should contain normal CRLF line termination.
DESCRIPTION |
Called When | `dkim_body()` is called zero or more times between `dkim_eoh()` and `dkim_eom()`.
ARGUMENTS |
Argument | Description
--- | ---
dkim | Message-specific handle, returned by `dkim_sign()` or `dkim_verify()`
bodyp | Pointer to the start of this block of body data.
len | The amount of data pointed to by `bodyp`.

RETURN VALUES

- `DKIM_STAT_INVALID` indicates the `dkim` handle was rendered unusable by a previous call, likely to `dkim_eoh()`.
- `DKIM_STAT_OK` indicates normal completion.

NOTES

- `bodyp` points to a sequence of bytes. It is not expected to be a C string (a sequence of characters that is terminated by '\0').

Copyright (c) 2005-2008 Sendmail, Inc. and its suppliers. All rights reserved.
By using this file, you agree to the terms and conditions set forth in the LICENSE.