1 /* xscreensaver, Copyright (c) 1993-2013 Jamie Zawinski <jwz@jwz.org>
3 * Permission to use, copy, modify, distribute, and sell this software and its
4 * documentation for any purpose is hereby granted without fee, provided that
5 * the above copyright notice appear in all copies and that both that
6 * copyright notice and this permission notice appear in supporting
7 * documentation. No representations are made about the suitability of this
8 * software for any purpose. It is provided "as is" without express or
12 #ifndef __XSCREENSAVER_PREFS_H__
13 #define __XSCREENSAVER_PREFS_H__
17 extern void load_init_file (Display *, saver_preferences *);
18 extern Bool init_file_changed_p (saver_preferences *);
19 extern int write_init_file (Display *,
20 saver_preferences *, const char *version_string,
22 const char *init_file_name (void);
23 extern Bool senescent_p (void);
25 extern screenhack *parse_screenhack (const char *line);
26 extern void free_screenhack (screenhack *);
27 extern char *format_hack (Display *, screenhack *, Bool wrap_p);
28 char *make_hack_name (Display *, const char *shell_command);
31 extern void sync_server_dpms_settings (Display *, Bool enabled_p, Bool dpms_quickoff_p,
32 int standby_secs, int suspend_secs,
36 #endif /* __XSCREENSAVER_PREFS_H__ */