mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-28 23:09:43 +03:00
9eb3efff78
Constify return of filename_request Make bitmap save code check for filename_request failure Update ro_gui_view_source to take account of constification svn path=/trunk/netsurf/; revision=2639
26 lines
657 B
C
26 lines
657 B
C
/*
|
|
* This file is part of NetSurf, http://netsurf.sourceforge.net/
|
|
* Licensed under the GNU General Public License,
|
|
* http://www.opensource.org/licenses/gpl-license
|
|
* Copyright 2006 Richard Wilson <info@tinct.net>
|
|
*/
|
|
|
|
#ifndef _NETSURF_UTILS_FILENAME_H_
|
|
#define _NETSURF_UTILS_FILENAME_H_
|
|
|
|
#include <stdbool.h>
|
|
|
|
#ifdef riscos
|
|
#define TEMP_FILENAME_PREFIX "<Wimp$ScrapDir>/WWW/NetSurf/Cache"
|
|
#else
|
|
#define TEMP_FILENAME_PREFIX "/tmp/WWW/NetSurf/Cache"
|
|
#endif
|
|
|
|
const char *filename_request(void);
|
|
bool filename_claim(const char *filename);
|
|
void filename_release(const char *filename);
|
|
bool filename_initialise(void);
|
|
void filename_flush(void);
|
|
|
|
#endif
|