diff options
author | Kalle Wallin <kaw@linux.se> | 2004-06-09 17:36:27 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-06-09 17:36:27 +0000 |
commit | 7844008980d4d1b9cb7cbd4dda4ae912e12dd7a9 (patch) | |
tree | 7d8a66bd3d231dc5847ab0421d9a3567593cc147 /src/support.h | |
parent | 72c0b2270d207e32a2124ce6439214e5e8139e57 (diff) | |
download | mpd-7844008980d4d1b9cb7cbd4dda4ae912e12dd7a9.tar.gz mpd-7844008980d4d1b9cb7cbd4dda4ae912e12dd7a9.tar.xz mpd-7844008980d4d1b9cb7cbd4dda4ae912e12dd7a9.zip |
Added the strscroll function
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1424 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/support.h')
-rw-r--r-- | src/support.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/support.h b/src/support.h index 2b79e3aef..fce9aac28 100644 --- a/src/support.h +++ b/src/support.h @@ -16,6 +16,15 @@ char *remove_trailing_slash(char *path); char *lowerstr(char *str); char *strcasestr(const char *haystack, const char *needle); +typedef struct +{ + int offset; + time_t t; + +} scroll_state_t; + +char *strscroll(char *str, char *separator, int width, scroll_state_t *st); + void charset_init(gboolean disable); char *utf8_to_locale(char *str); char *locale_to_utf8(char *str); |