annotate gui/util/string.h @ 34508:8e09c663aaff

Replace incorrect output format list with the only format supported by the FFmpeg PTX decoder.
author cehoyos
date Tue, 24 Jan 2012 18:14:18 +0000
parents d52b0ad317d5
children abcf26dcec6b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
33048
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
1 /*
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
2 * This file is part of MPlayer.
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
3 *
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
5 * it under the terms of the GNU General Public License as published by
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
7 * (at your option) any later version.
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
8 *
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
12 * GNU General Public License for more details.
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
13 *
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
14 * You should have received a copy of the GNU General Public License along
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
17 */
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
18
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
19 #ifndef MPLAYER_GUI_STRING_H
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
20 #define MPLAYER_GUI_STRING_H
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
21
33073
334e19411421 Improve handling of the comment character.
ib
parents: 33052
diff changeset
22 char *decomment(char *in);
33786
0d3d8db05a59 Compare encodings case insensitively.
ib
parents: 33740
diff changeset
23 int gstrcasecmp(const char *a, const char *b);
33737
71c29e8ec68f Move string functions from interface.c to string.c.
ib
parents: 33073
diff changeset
24 char *gstrchr(const char *str, int c);
71c29e8ec68f Move string functions from interface.c to string.c.
ib
parents: 33073
diff changeset
25 int gstrcmp(const char *a, const char *b);
71c29e8ec68f Move string functions from interface.c to string.c.
ib
parents: 33073
diff changeset
26 char *gstrdup(const char *str);
71c29e8ec68f Move string functions from interface.c to string.c.
ib
parents: 33073
diff changeset
27 int gstrncmp(const char *a, const char *b, int n);
33740
2c02269701bd Remove macros guiSetFilename() and guiSetDF() from interface.h.
ib
parents: 33737
diff changeset
28 void setddup(char **old, const char *dir, const char *name);
2c02269701bd Remove macros guiSetFilename() and guiSetDF() from interface.h.
ib
parents: 33737
diff changeset
29 void setdup(char **old, const char *str);
33052
956c67bb5198 Move strlower() into auxiliary string function file.
ib
parents: 33048
diff changeset
30 char *strlower(char *in);
33048
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
31 char *strswap(char *in, char from, char to);
34176
d52b0ad317d5 Cosmetic: Rename TranslateFilename()'s parameter names.
ib
parents: 34175
diff changeset
32 char *TranslateFilename(int how, char *fname, size_t maxlen);
33048
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
33 char *trim(char *in);
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
34
c6d0adf896ea Move auxiliary string functions into separate file.
ib
parents:
diff changeset
35 #endif /* MPLAYER_GUI_STRING_H */