epoc32/include/stdapis/ftw.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 /*	$OpenBSD: ftw.h,v 1.1 2003/07/21 21:13:18 millert Exp $	*/
     1 /*	$OpenBSD: ftw.h,v 1.1 2003/07/21 21:13:18 millert Exp $	*/
     2 
     2 
     3 /*
     3 /*
     4  * Copyright (c) 2003 Todd C. Miller <Todd.Miller@courtesan.com>
     4  * Copyright (c) 2003 Todd C. Miller <Todd.Miller@courtesan.com>
     5  * © Portions copyright (c) 2007 Symbian Software Ltd. All rights reserved.
     5 
     6  *
     6  *
     7  * Permission to use, copy, modify, and distribute this software for any
     7  * Permission to use, copy, modify, and distribute this software for any
     8  * purpose with or without fee is hereby granted, provided that the above
     8  * purpose with or without fee is hereby granted, provided that the above
     9  * copyright notice and this permission notice appear in all copies.
     9  * copyright notice and this permission notice appear in all copies.
    10  *
    10  *
    21  * Materiel Command, USAF, under agreement number F39502-99-1-0512.
    21  * Materiel Command, USAF, under agreement number F39502-99-1-0512.
    22  *
    22  *
    23  * $FreeBSD: src/include/ftw.h,v 1.2 2004/08/24 13:00:54 tjr Exp $
    23  * $FreeBSD: src/include/ftw.h,v 1.2 2004/08/24 13:00:54 tjr Exp $
    24  */
    24  */
    25 
    25 
       
    26 /* Portions Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).  All rights reserved.*/
       
    27  
    26 #ifndef	_FTW_H
    28 #ifndef	_FTW_H
    27 #define	_FTW_H
    29 #define	_FTW_H
    28 
    30 
    29 #ifdef __cplusplus
    31 #ifdef __cplusplus
    30 extern "C"	{
    32 extern "C"	{
    59 
    61 
    60 __BEGIN_DECLS
    62 __BEGIN_DECLS
    61 
    63 
    62 IMPORT_C int	ftw(const char *, int (*)(const char *, const struct stat *, int), int);
    64 IMPORT_C int	ftw(const char *, int (*)(const char *, const struct stat *, int), int);
    63 
    65 
       
    66 #if defined(SYMBIAN_OE_LARGE_FILE_SUPPORT) && !defined(SYMBIAN_OE_NO_LFS)
       
    67 #define ftw64	ftw
       
    68 #endif /* SYMBIAN_OE_LARGE_FILE_SUPPORT && !SYMBIAN_OE_NO_LFS */
       
    69 
       
    70 
    64 #ifndef __SYMBIAN32__
    71 #ifndef __SYMBIAN32__
    65 IMPORT_C int	nftw(const char *, int (*)(const char *, const struct stat *, int,
    72 IMPORT_C int	nftw(const char *, int (*)(const char *, const struct stat *, int,
    66 	    struct FTW *), int, int);
    73 	    struct FTW *), int, int);
    67 #endif	    
    74 #endif	    
    68 __END_DECLS
    75 __END_DECLS