aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen_list.h')
-rw-r--r--src/screen_list.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/screen_list.h b/src/screen_list.h
index 7efed89b0..763b4ee9b 100644
--- a/src/screen_list.h
+++ b/src/screen_list.h
@@ -57,12 +57,12 @@ screen_list_exit(void);
void
screen_list_resize(unsigned cols, unsigned rows);
-int
-screen_get_id_by_index(unsigned i);
-
const char *
screen_get_name(unsigned i);
+const struct screen_functions *
+screen_lookup_name(const char *name);
+
int
screen_get_id(const char *name);
@@ -70,6 +70,6 @@ const struct screen_functions *
screen_get_functions(unsigned i);
int
-lookup_mode(int id);
+lookup_mode(const struct screen_functions *sf);
#endif