comparison strops.h @ 0:7ac2a177e25d

add elilo source.
author taiki
date Thu, 14 Feb 2013 01:43:26 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:7ac2a177e25d
1 /*
2 * Copyright (C) 2001-2003 Hewlett-Packard Co.
3 * Contributed by Stephane Eranian <eranian@hpl.hp.com>
4 *
5 * This file is part of the ELILO, the EFI Linux boot loader.
6 *
7 * ELILO is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
10 * any later version.
11 *
12 * ELILO is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with ELILO; see the file COPYING. If not, write to the Free
19 * Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20 * 02111-1307, USA.
21 *
22 * Please check out the elilo.txt for complete documentation on how
23 * to use this program.
24 */
25
26 #ifndef __STROPS_H__
27 #define __STROPS_H__
28
29 extern CHAR16 *StrChr(IN const CHAR16 *s, const CHAR16 c);
30 extern CHAR16 *StrnCpy(OUT CHAR16 *dst, IN const CHAR16 *src, UINTN count);
31 extern CHAR8 *StrnXCpy(OUT CHAR8 *dst, IN const CHAR16 *src, UINTN count);
32
33 extern CHAR8 *strtok_simple(CHAR8 *in, CHAR8 c);
34 extern CHAR8 *strrchra(IN const CHAR8 *s, const INTN c);
35 extern CHAR8 *strcata(IN CHAR8 *dst,IN CHAR8 *src);
36 extern CHAR8 *strchra(IN const CHAR8 *s, IN const CHAR8 c);
37 extern CHAR8 *strcpya(CHAR8 *dst, const CHAR8 *src);
38 extern CHAR8 *strncpya(OUT CHAR8 *dst, IN const CHAR8 *src, IN UINTN size);
39 extern VOID U2ascii(CHAR16 *in, CHAR8 *out, UINTN maxlen);
40
41 #endif /* __LOADER_H__ */