}
/* fail if a length is too long */
}
/* fail if a length is too long */
exim_len_fail_toolong(int itemlen, int maxlen, const char *description)
{
if (itemlen <= maxlen)
exim_len_fail_toolong(int itemlen, int maxlen, const char *description)
{
if (itemlen <= maxlen)
}
/* only pass through the string item back to the caller if it's short enough */
}
/* only pass through the string item back to the caller if it's short enough */
+static inline const uschar *
exim_str_fail_toolong(const uschar *item, int maxlen, const char *description)
{
exim_len_fail_toolong(Ustrlen(item), maxlen, description);
exim_str_fail_toolong(const uschar *item, int maxlen, const char *description)
{
exim_len_fail_toolong(Ustrlen(item), maxlen, description);
/* Forward declarations */
/* Forward declarations */
-static void bdat_push_receive_functions(void);
-static void bdat_pop_receive_functions(void);
+static inline void bdat_push_receive_functions(void);
+static inline void bdat_pop_receive_functions(void);
/* Get a byte from the smtp input, in CHUNKING mode. Handle ack of the
/* Get a byte from the smtp input, in CHUNKING mode. Handle ack of the
bdat_push_receive_functions(void)
{
/* push the current receive_* function on the "stack", and
bdat_push_receive_functions(void)
{
/* push the current receive_* function on the "stack", and
receive_ungetc = bdat_ungetc;
}
receive_ungetc = bdat_ungetc;
}
bdat_pop_receive_functions(void)
{
receive_getc = lwr_receive_getc;
bdat_pop_receive_functions(void)
{
receive_getc = lwr_receive_getc;