Changeset 14 for trunk/include/helpers/eah.h
- Timestamp:
- Dec 9, 2000, 8:19:42 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/eah.h
r7 r14 49 49 * This file Copyright (C) 1997-2000 Ulrich Mller, 50 50 * Massachusetts Institute of Technology. 51 * This file is part of the XWorkplacesource package.52 * XWorkplaceis free software; you can redistribute it and/or modify51 * This file is part of the "XWorkplace helpers" source package. 52 * This is free software; you can redistribute it and/or modify 53 53 * it under the terms of the GNU General Public License as published 54 54 * by the Free Software Foundation, in version 2 as it comes in the … … 115 115 116 116 /* ****************************************************************** 117 * *118 * Read-EA functions *119 * *117 * 118 * Read-EA functions 119 * 120 120 ********************************************************************/ 121 121 122 122 ULONG eaHFileQueryTotalSize(HFILE hFile); 123 123 124 ULONG eaPathQueryTotalSize( PSZ path);124 ULONG eaPathQueryTotalSize(const char *pcszPath); 125 125 126 126 PEALIST eaHFileReadAll(HFILE hfile); 127 127 128 PEALIST eaPathReadAll( PSZ path);128 PEALIST eaPathReadAll(const char *pcszPath); 129 129 130 130 PEABINDING eaHFileReadOneByIndex(HFILE hfile, ULONG index); 131 131 132 PEABINDING eaPathReadOneByIndex( PSZ path, ULONG index);133 134 PEABINDING eaHFileReadOneByName(HFILE hfile, PSZ name);135 136 PEABINDING eaPathReadOneByName( PSZ path, PSZ name);132 PEABINDING eaPathReadOneByIndex(const char *pcszPath, ULONG index); 133 134 PEABINDING eaHFileReadOneByName(HFILE hfile, const char *pcszEAName); 135 136 PEABINDING eaPathReadOneByName(const char *pcszPath, const char *pcszEAName); 137 137 138 138 /* ****************************************************************** 139 * *140 * Write-EA functions *141 * *142 ********************************************************************/ 143 144 voideaHFileWriteAll(HFILE hfile, PEALIST list);145 146 void eaPathWriteAll(PSZ path, PEALIST list);147 148 voideaHFileWriteOne(HFILE hfile, PEABINDING peab);149 150 void eaPathWriteOne(PSZ path, PEABINDING peab);151 152 void eaPathDeleteOne(PSZ path, PSZ pszEAName);139 * 140 * Write-EA functions 141 * 142 ********************************************************************/ 143 144 APIRET eaHFileWriteAll(HFILE hfile, PEALIST list); 145 146 APIRET eaPathWriteAll(const char *pcszPath, PEALIST list); 147 148 APIRET eaHFileWriteOne(HFILE hfile, PEABINDING peab); 149 150 APIRET eaPathWriteOne(const char *pcszPath, PEABINDING peab); 151 152 APIRET eaPathDeleteOne(const char *pcszPath, const char *pcszEAName); 153 153 154 154 /******************************************************************** 155 * *156 * Translation funcs *157 * *155 * 156 * Translation funcs 157 * 158 158 ********************************************************************/ 159 159 … … 162 162 PSZ eaCreatePSZFromBinding(PEABINDING peab); 163 163 164 PEABINDING eaCreateBindingFromPSZ( PSZ pszEAName,165 PSZ pszString);164 PEABINDING eaCreateBindingFromPSZ(const char *pcszEAName, 165 const char *pcszInput); 166 166 167 167 USHORT eaQueryMVCount(PEABINDING peab, … … 170 170 171 171 PSZ eaQueryMVItem(PEABINDING peab, 172 173 174 175 172 USHORT usIndex, 173 PUSHORT pusEAType, 174 PUSHORT pusCodepage, 175 PUSHORT pusDataLength); 176 176 177 177 PSZ eaCreatePSZFromMVBinding(PEABINDING peab, 178 PSZ pszSeparator,178 const char *pcszSeparator, 179 179 PUSHORT pusCodepage); 180 180 181 PEABINDING eaCreateMVBindingFromPSZ( PSZ pszEAName,182 PSZ pszInput,183 PSZ pszSeparator,181 PEABINDING eaCreateMVBindingFromPSZ(const char *pcszEAName, 182 const char *pcszInput, 183 const char *pcszSeparator, 184 184 USHORT usCodepage); 185 185 186 186 /* ****************************************************************** 187 * *188 * Direct plain-string EA handling *189 * *187 * 188 * Direct plain-string EA handling 189 * 190 190 ********************************************************************/ 191 191
Note:
See TracChangeset
for help on using the changeset viewer.