FX_DIR.H
上传用户:super_houu
上传日期:2008-09-21
资源大小:4099k
文件大小:6k
- /**************************************************************************/
- /* */
- /* Copyright (c) 1996-2002 by Express Logic Inc. */
- /* */
- /* This software is copyrighted by and is the sole property of Express */
- /* Logic, Inc. All rights, title, ownership, or other interests */
- /* in the software remain the property of Express Logic, Inc. This */
- /* software may only be used in accordance with the corresponding */
- /* license agreement. Any unauthorized use, duplication, transmission, */
- /* distribution, or disclosure of this software is expressly forbidden. */
- /* */
- /* This Copyright notice may not be removed or modified without prior */
- /* written consent of Express Logic, Inc. */
- /* */
- /* Express Logic, Inc. reserves the right to modify this software */
- /* without notice. */
- /* */
- /* Express Logic, Inc. info@expresslogic.com */
- /* 11423 West Bernardo Court http://www.expresslogic.com */
- /* San Diego, CA 92127 */
- /* */
- /**************************************************************************/
- /**************************************************************************/
- /**************************************************************************/
- /** */
- /** FileX Component */
- /** */
- /** Directory (DIR) */
- /** */
- /**************************************************************************/
- /**************************************************************************/
- /**************************************************************************/
- /* */
- /* COMPONENT DEFINITION RELEASE */
- /* */
- /* fx_dir.h PORTABLE C */
- /* 3.0 */
- /* AUTHOR */
- /* */
- /* William E. Lamie, Express Logic, Inc. */
- /* */
- /* DESCRIPTION */
- /* */
- /* This file defines the FileX Directory component constants, data */
- /* definitions, and external references. It is assumed that fx_api.h */
- /* (and fx_port.h) have already been included. */
- /* */
- /* RELEASE HISTORY */
- /* */
- /* DATE NAME DESCRIPTION */
- /* */
- /* 01-01-1999 William E. Lamie Initial Version 1.0 */
- /* 03-01-2000 William E. Lamie Modified comment(s), */
- /* resulting in version 1.0b. */
- /* 01-28-2001 William E. Lamie Modified comment(s) and added */
- /* error checking function */
- /* prototypes, resulting in */
- /* version 2.0. */
- /* 03-01-2002 William E. Lamie Modified comment(s), and made */
- /* parameter change to */
- /* fx_directory_entry_read, */
- /* resulting in version 3.0. */
- /* */
- /**************************************************************************/
- #ifndef FX_DIR
- #define FX_DIR
- /* Define the external Directory component function prototypes. */
- UINT _fx_directory_first_entry_find(FX_MEDIA *media_ptr, CHAR *directory_name);
- UINT _fx_directory_next_entry_find(FX_MEDIA *media_ptr, CHAR *directory_name);
- UINT _fx_directory_name_test(FX_MEDIA *media_ptr, CHAR *directory_name);
- UINT _fx_directory_information_get(FX_MEDIA *media_ptr, CHAR *directory_name, UINT *attributes, ULONG *size,
- UINT *year, UINT *month, UINT *day, UINT *hour, UINT *minute, UINT *second);
- UINT _fx_directory_default_set(FX_MEDIA *media_ptr, CHAR *new_path_name);
- /* Define the internal Directory component function prototypes. */
- UINT _fx_directory_entry_read(FX_MEDIA *media_ptr, FX_DIR_ENTRY *source_dir, ULONG *entry, FX_DIR_ENTRY *destination_ptr);
- UINT _fx_directory_search(FX_MEDIA *media_ptr, CHAR *name_ptr, FX_DIR_ENTRY *entry_ptr, FX_DIR_ENTRY *last_dir_ptr, CHAR **last_name_ptr);
- CHAR *_fx_directory_name_extract(CHAR_PTR source_ptr, CHAR_PTR dest_ptr);
- UINT _fx_directory_next_entry_find_new(FX_MEDIA *media_ptr, FX_DIR_ENTRY* entry);
- #endif