#ifndef MML_CHANNELS_H_
#define MML_CHANNELS_H_
#include "stream.h"
// Marker used to indicate that line and column number follow.
// read_line() replaces some blank characters with spaces to make parsing
// easier so they'll never show up as-is, so we repurpose one of those to
// act as a marker.
#define LINECOL_MARKER '\t'
void add_text_to_channel(unsigned mask, const char *text,
int line_num, int col_num);
void get_channel_text(Channel chan, const char **ptr, size_t *len);
unsigned decode_channel_list(const char *ptr,
const char *filename, int line_num);
#endif