00001 /***************************************************************************** 00002 * 00003 * $RCSfile: getdir_8h-source.html,v $ 00004 * 00005 * GPS4Palm 00006 * 00007 * This program is Copyright (C) 12/2002 Matthias Prinke 00008 * <matthias.prinke@surfeu.de> and covered by GNU's GPL. 00009 * In particular, this program is free software and comes WITHOUT 00010 * ANY WARRANTY. 00011 * 00012 * $Author: mp $ 00013 * 00014 * $Date: 2007-10-08 20:40:33 $ 00015 * 00016 * $Revision: 1.7.2.1 $ 00017 * 00018 * $Log: getdir_8h-source.html,v $ 00018 * Revision 1.7.2.1 2007-10-08 20:40:33 mp 00018 * updated for gps4palm V0.9.5 beta 00018 * 00019 * Revision 1.5 2005-02-19 20:02:57 mp 00020 * moved FILENAMEMAXLEN to common.h 00021 * 00022 * Revision 1.4 2005/02/19 11:13:42 mp 00023 * modified getdir_vfs() 00024 * 00025 * Revision 1.3 2005/02/13 16:26:44 mp 00026 * added getdir_vfs() and VFS specific defines 00027 * 00028 * Revision 1.2 2003/11/23 19:58:21 mp 00029 * moved CreateDatabase and DestroyDatabase from FileselForm.c 00030 * 00031 * Revision 1.1 2003/10/18 16:23:30 mp 00032 * initial version 00033 * 00034 * 00035 * 00036 ****************************************************************************/ 00037 #ifndef GETDIR_H 00038 #define GETDIR_H 00039 00040 #define FILELISTRECORDSIZE 20480 00041 #define FILELPRECORDSIZE 2048 00042 #define FILESORTRECORDSIZE 1024 00043 #define FILECARDRECORDSIZE 512 00044 #define FILEDIR "/PALM/Programs/gps4palm" 00045 #define VFS_FLAG 0x80000000L /** File System: VFS */ 00046 #define FS_FLAG 0x00000000L /** File System: File Streaming */ 00047 00048 #define SORTPREFIX 4 00049 00050 UInt16 getdir(char *filelist, char *filecard, char **filelp); 00051 00052 UInt16 getdir_vfs(char *filelist, char *filecard, char **filelp, UInt16 files); 00053 00054 void CreateDatabase(DmOpenRef *ref, 00055 char **filelist, char **filecard, char ***filelp); 00056 00057 void DestroyDatabase(DmOpenRef scratch, 00058 char *filelist, char *filecard, char **filelp); 00059 00060 00061 #endif