#include <config.h>
#include "chart.h"
#include "htmlP.h"
-#include <libpspp/message.h>
#include <errno.h>
#include <stdlib.h>
#include <ctype.h>
#include <libpspp/alloc.h>
#include <libpspp/compiler.h>
-#include <libpspp/message.h>
-#include <data/filename.h>
+#include <data/file-name.h>
#include "error.h"
#include "getline.h"
#include "getlogin_r.h"
const char *content);
static bool
-html_open_driver (struct outp_driver *this, const char *options)
+html_open_driver (struct outp_driver *this, const struct string *options)
{
struct html_driver_ext *x;
output_tab_table ( this, (struct tab_table *) s->ext);
break;
case SOM_CHART:
- link_image (x->file, ((struct chart *)s->ext)->filename);
+ link_image (x->file, ((struct chart *)s->ext)->file_name);
break;
default:
abort ();
FILE *fp;
- make_unique_file_stream(&fp, &ch->filename);
+ make_unique_file_stream(&fp, &ch->file_name);
#ifdef NO_CHARTS
ch->lp = 0;
static void
html_finalise_chart(struct outp_driver *d UNUSED, struct chart *ch)
{
- free(ch->filename);
+ free(ch->file_name);
}