From 38886de0c3e9ea5729ef23e4c653fa2822f52e8f Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 6 Apr 2021 14:43:39 +0200 Subject: xscreensaver 6.00 --- driver/prefs.h | 30 ++++++------------------------ 1 file changed, 6 insertions(+), 24 deletions(-) (limited to 'driver/prefs.h') diff --git a/driver/prefs.h b/driver/prefs.h index c494eaf..14d5542 100644 --- a/driver/prefs.h +++ b/driver/prefs.h @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1993-2018 Jamie Zawinski +/* xscreensaver, Copyright © 1993-2021 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -12,28 +12,10 @@ #ifndef __XSCREENSAVER_PREFS_H__ #define __XSCREENSAVER_PREFS_H__ -#include "types.h" - -extern void load_init_file (Display *, saver_preferences *); -extern Bool init_file_changed_p (saver_preferences *); -extern int write_init_file (Display *, - saver_preferences *, const char *version_string, - Bool verbose_p); -const char *init_file_name (void); -extern Bool senesculent_p (void); - -extern screenhack *parse_screenhack (const char *line); -extern void free_screenhack (screenhack *); -extern char *format_hack (Display *, screenhack *, Bool wrap_p); -char *make_hack_name (Display *, const char *shell_command); - -/* From dpms.c */ -extern void sync_server_dpms_settings (Display *, Bool enabled_p, - Bool dpms_quickoff_p, - int standby_secs, int suspend_secs, - int off_secs, - Bool verbose_p); - -extern void store_dpms_offset(int offset); +extern int parse_init_file (const char *name, + void (*handler) (int lineno, + const char *key, const char *val, + void *closure), + void *closure); #endif /* __XSCREENSAVER_PREFS_H__ */ -- cgit v1.2.3-55-g7522