92#define JPC_MQENC_DEFTERM       0        
   93#define JPC_MQENC_PTERM         1        
  110        uint_least32_t ctreg;
 
  116        const jpc_mqstate_t **ctxs;
 
  119        const jpc_mqstate_t **curctx;
 
  125        int_least16_t outbuf;
 
  128        int_least16_t lastbyte;
 
  158jpc_mqenc_t *jpc_mqenc_create(
unsigned maxctxs, 
jas_stream_t *out);
 
  161void jpc_mqenc_destroy(jpc_mqenc_t *enc);
 
  168void jpc_mqenc_init(jpc_mqenc_t *enc);
 
  175static inline void jpc_mqenc_setcurctx(jpc_mqenc_t *enc, 
unsigned ctxno) {
 
  176        enc->curctx = &enc->ctxs[ctxno];
 
  180void jpc_mqenc_setctxs(jpc_mqenc_t *enc, 
unsigned numctxs, 
const jpc_mqctx_t *ctxs);
 
  187static inline bool jpc_mqenc_error(
const jpc_mqenc_t *enc) {
 
  192void jpc_mqenc_getstate(
const jpc_mqenc_t *enc, jpc_mqencstate_t *state);
 
  195int jpc_mqenc_flush(jpc_mqenc_t *enc, 
int termmode);
 
  205int jpc_mqenc_dump(
const jpc_mqenc_t *mqenc);
 
  214int jpc_mqenc_codemps2(jpc_mqenc_t *enc);
 
  215int jpc_mqenc_codelps(jpc_mqenc_t *enc);
 
  217int jpc_mqenc_putbit(jpc_mqenc_t *enc, 
bool bit);
 
I/O stream object.
Definition jas_stream.h:206