-/*
-** If you can live with the encoded text being generated on the fly, use
-** rfc2047_encode_callback, which calls a callback function, instead of
-** dynamically allocating memory.
-*/
-
-int rfc2047_encode_callback(const char *str, /* String to encode */
- const char *charset, /* Native charset */
- int (*qp_allow)(char c),
- /* Return true if c can appear in QP-encoded
- ** word */
- int (*cb_func)(const char *, size_t, void *),
- /* Callback function. */
- void *arg
- /* Passthrough arg to callback_function */
- );