diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-06-25 16:04:24 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-06-25 16:04:24 +0000 |
commit | f7a9eb46fc0c0be659912b0cf9c2e7d7ced86bf9 (patch) | |
tree | 045e08db5ffd7da586326ab3f19968a92e2798c4 /tmux.h | |
parent | 853ad681620e9a031f41549a39c78d11b2da8990 (diff) | |
download | rtmux-f7a9eb46fc0c0be659912b0cf9c2e7d7ced86bf9.tar.gz rtmux-f7a9eb46fc0c0be659912b0cf9c2e7d7ced86bf9.tar.bz2 rtmux-f7a9eb46fc0c0be659912b0cf9c2e7d7ced86bf9.zip |
Change find-window and monitor-content to use fnmatch(3). For convenience and
compatibility, *s are implicitly added at the start and end of the pattern.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.9 2009/06/24 22:04:18 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.10 2009/06/24 22:49:56 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1577,7 +1577,8 @@ void window_pane_parse(struct window_pane *); void window_pane_key(struct window_pane *, struct client *, int); void window_pane_mouse(struct window_pane *, struct client *, u_char, u_char, u_char); -char *window_pane_search(struct window_pane *, const char *); +char *window_pane_search( + struct window_pane *, const char *, u_int *); /* layout.c */ const char * layout_name(struct window *); @@ -1647,10 +1648,6 @@ int session_last(struct session *); void utf8_build(void); int utf8_width(const u_char *); -/* util.c */ -char *section_string(char *, size_t, size_t, size_t); -void clean_string(const char *, char *, size_t); - /* osdep-*.c */ char *osdep_get_name(int, char *); |