void foo_read_stuff(foo_t *ctx, FILE *stream); /* reads text from stream, updates internals of ctx with the data */ void foo_write_stuff(foo_t *ctx, FILE *stream); /* writes text to stream based on contents of ctx */