/* Writes case C to system file W.
Returns 1 if successful, 0 if an I/O error occurred. */
-int
+bool
sfm_write_case (struct sfm_writer *w, const struct ccase *c)
{
if (ferror (w->file))
/* Writing system files. */
/* Options for creating a system file. */
-struct sfm_write_options
+struct sfm_write_options
{
bool create_writeable; /* File perms: writeable or read/only? */
bool compress; /* Compress file? */
struct sfm_write_options);
struct sfm_write_options sfm_writer_default_options (void);
-int sfm_write_case (struct sfm_writer *, const struct ccase *);
+bool sfm_write_case (struct sfm_writer *, const struct ccase *);
bool sfm_write_error (const struct sfm_writer *);
bool sfm_close_writer (struct sfm_writer *);