14.2. File saving

It really looks like loading except that the function is :

gboolean save_file(struct location* loc);

instead of load_file.

Note

You may simply return FALSE if you don't want to support saving.