1 /* xscreensaver, Copyright (c) 1993-2006 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);
24 extern screenhack *parse_screenhack (const char *line);
25 extern void free_screenhack (screenhack *);
26 extern char *format_hack (Display *, screenhack *, Bool wrap_p);
27 char *make_hack_name (Display *, const char *shell_command);
30 extern void sync_server_dpms_settings (Display *, Bool enabled_p,
31 int standby_secs, int suspend_secs,
35 #endif /* __XSCREENSAVER_PREFS_H__ */