26#ifndef NETSURF_CONTENT_DIRLIST_H_
27#define NETSURF_CONTENT_DIRLIST_H_
31#define DIRLIST_NO_NAME_COLUMN 1
32#define DIRLIST_NO_TYPE_COLUMN 1 << 1
33#define DIRLIST_NO_SIZE_COLUMN 1 << 2
34#define DIRLIST_NO_DATE_COLUMN 1 << 3
35#define DIRLIST_NO_TIME_COLUMN 1 << 4
46 char *name,
const char *mimetype,
long long size,
char *date,
47 char *time,
char *
buffer,
int buffer_length);
static osspriteop_area * buffer
The buffer characteristics.
bool dirlist_generate_row(bool even, bool directory, struct nsurl *url, char *name, const char *mimetype, long long size, char *date, char *time, char *buffer, int buffer_length)
Generates the part of an HTML directory listing page that displays a row in the directory contents ta...
bool dirlist_generate_bottom(char *buffer, int buffer_length)
Generates the bottom part of an HTML directory listing page.
bool dirlist_generate_title(const char *title, char *buffer, int buffer_length)
Generates the part of an HTML directory listing page that contains the title.
bool dirlist_generate_parent_link(const char *parent, char *buffer, int buffer_length)
Generates the part of an HTML directory listing page that links to the parent directory.
bool dirlist_generate_top(char *buffer, int buffer_length)
Generates the top part of an HTML directory listing page.
bool dirlist_generate_hide_columns(int flags, char *buffer, int buffer_length)
Generates the part of an HTML directory listing page that can suppress particular columns.
bool dirlist_generate_headings(char *buffer, int buffer_length)
Generates the part of an HTML directory listing page that displays the column headings.
struct nsurl nsurl
NetSurf URL object.