⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pdirect.h

📁 基于VXWORKS H323通信技术源代码
💻 H
字号:
/*
 * pdirect.h
 *
 * File system directory class.
 *
 * Portable Windows Library
 *
 * Copyright (c) 1993-1998 Equivalence Pty. Ltd.
 *
 * The contents of this file are subject to the Mozilla Public License
 * Version 1.0 (the "License"); you may not use this file except in
 * compliance with the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
 * the License for the specific language governing rights and limitations
 * under the License.
 *
 * The Original Code is Portable Windows Library.
 *
 * The Initial Developer of the Original Code is Equivalence Pty. Ltd.
 *
 * Portions are Copyright (C) 1993 Free Software Foundation, Inc.
 * All Rights Reserved.
 *
 * Contributor(s): ______________________________________.
 *
 * $Log: pdirect.h,v $
 * Revision 1.9  1999/03/09 08:52:25  robertj
 * Changes caused by documentation frenzy.
 *
 * Revision 1.8  1998/11/30 22:06:53  robertj
 * New directory structure.
 *
 * Revision 1.7  1998/11/24 09:38:16  robertj
 * FreeBSD port.
 *
 * Revision 1.6  1998/11/10 12:59:05  robertj
 * Fixed strange problems with readdir_r usage.
 *
 * Revision 1.5  1998/11/05 10:33:53  robertj
 * Solaris compatibility.
 *
 * Revision 1.4  1998/11/05 09:58:30  craigs
 * Added static buffer for reentrant routines
 *
 * Revision 1.3  1998/09/24 04:11:43  robertj
 * Added open software license.
 *
 * Revision 1.2  1996/08/03 12:08:19  craigs
 * Changed for new common directories
 *
 * Revision 1.1  1995/01/23 18:43:27  craigs
 * Initial revision
 *
 * Revision 1.1  1994/04/12  08:31:05  robertj
 * Initial revision
 *
 */

#ifndef _PDIRECTORY

#pragma interface

///////////////////////////////////////////////////////////////////////////////
// PDirectory

#include <dirent.h>
#include <limits.h>

#define PDIR_SEPARATOR '/'

#define P_MAX_PATH    (_POSIX_PATH_MAX)

typedef PString PFilePathString;

#include "../../pdirect.h"
  protected:
    DIR           * directory;
    PFileInfo     * entryInfo;
    struct dirent * entryBuffer;
};

#endif


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -