annotate osdep/strsep.h @ 34175:a345e7162d0a

Move TranslateFilename() to util/string.c. Now that the Win32 GUI uses symbolic constants for its messages, the code of TranslateFilename() both GUIs use is almost identical. So, share the code.
author ib
date Wed, 26 Oct 2011 15:14:06 +0000
parents 7f7591482564
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30313
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
1 /*
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
2 * strsep implementation for systems that do not have it in libc
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
3 *
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
4 * This file is part of MPlayer.
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
5 *
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
6 * MPlayer is free software; you can redistribute it and/or modify
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
7 * it under the terms of the GNU General Public License as published by
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
8 * the Free Software Foundation; either version 2 of the License, or
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
9 * (at your option) any later version.
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
10 *
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
11 * MPlayer is distributed in the hope that it will be useful,
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
14 * GNU General Public License for more details.
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
15 *
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
16 * You should have received a copy of the GNU General Public License along
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
17 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
19 */
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
20 #ifndef MPLAYER_STRSEP_H
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
21 #define MPLAYER_STRSEP_H
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
22
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
23 #include <string.h>
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
24 #include "config.h"
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
25
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
26 #ifndef HAVE_STRSEP
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
27 char *strsep(char **stringp, const char *delim);
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
28 #endif
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
29
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
30 #endif /* MPLAYER_STRSEP_H */