The forward declaration isn't needed to typedef based on the struct.
#define BODY 3 /* Body returned with more to come */
#define FILEEOF 5 /* Reached end of input file */
-struct m_getfld_state;
typedef struct m_getfld_state *m_getfld_state_t;
/*
/*
* credentials management
*/
-struct nmh_creds;
typedef struct nmh_creds *nmh_creds_t;
/*
* things like SASL and OpenSSL.
*/
-struct _netsec_context;
typedef struct _netsec_context netsec_context;
/*
/*
* static prototypes
*/
-struct m_getfld_state;
static int m_Eom (m_getfld_state_t);
#define eom(c,s) (s->msg_style != MS_DEFAULT && \