Ignore:
Timestamp:
Dec 9, 2000, 8:19:42 PM (25 years ago)
Author:
umoeller
Message:

Major updates; timers, LVM, miscellaneous.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/helpers/eah.h

    r7 r14  
    4949 *      This file Copyright (C) 1997-2000 Ulrich M”ller,
    5050 *                                        Massachusetts Institute of Technology.
    51  *      This file is part of the XWorkplace source package.
    52  *      XWorkplace is free software; you can redistribute it and/or modify
     51 *      This file is part of the "XWorkplace helpers" source package.
     52 *      This is free software; you can redistribute it and/or modify
    5353 *      it under the terms of the GNU General Public License as published
    5454 *      by the Free Software Foundation, in version 2 as it comes in the
     
    115115
    116116    /* ******************************************************************
    117      *                                                                  *
    118      *   Read-EA functions                                              *
    119      *                                                                  *
     117     *
     118     *   Read-EA functions
     119     *
    120120     ********************************************************************/
    121121
    122122    ULONG eaHFileQueryTotalSize(HFILE hFile);
    123123
    124     ULONG eaPathQueryTotalSize(PSZ path);
     124    ULONG eaPathQueryTotalSize(const char *pcszPath);
    125125
    126126    PEALIST eaHFileReadAll(HFILE hfile);
    127127
    128     PEALIST eaPathReadAll(PSZ path);
     128    PEALIST eaPathReadAll(const char *pcszPath);
    129129
    130130    PEABINDING eaHFileReadOneByIndex(HFILE hfile, ULONG index);
    131131
    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);
    137137
    138138    /* ******************************************************************
    139      *                                                                  *
    140      *   Write-EA functions                                             *
    141      *                                                                  *
    142      ********************************************************************/
    143 
    144     void eaHFileWriteAll(HFILE hfile, PEALIST list);
    145 
    146     void eaPathWriteAll(PSZ path, PEALIST list);
    147 
    148     void eaHFileWriteOne(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);
    153153
    154154    /********************************************************************
    155      *                                                                  *
    156      *   Translation funcs                                              *
    157      *                                                                  *
     155     *
     156     *   Translation funcs
     157     *
    158158     ********************************************************************/
    159159
     
    162162    PSZ eaCreatePSZFromBinding(PEABINDING peab);
    163163
    164     PEABINDING eaCreateBindingFromPSZ(PSZ pszEAName,
    165                              PSZ pszString);
     164    PEABINDING eaCreateBindingFromPSZ(const char *pcszEAName,
     165                                      const char *pcszInput);
    166166
    167167    USHORT eaQueryMVCount(PEABINDING peab,
     
    170170
    171171    PSZ eaQueryMVItem(PEABINDING peab,
    172                                 USHORT usIndex,
    173                                 PUSHORT pusEAType,
    174                                 PUSHORT pusCodepage,
    175                                 PUSHORT pusDataLength);
     172                      USHORT usIndex,
     173                      PUSHORT pusEAType,
     174                      PUSHORT pusCodepage,
     175                      PUSHORT pusDataLength);
    176176
    177177    PSZ eaCreatePSZFromMVBinding(PEABINDING peab,
    178                                  PSZ     pszSeparator,
     178                                 const char *pcszSeparator,
    179179                                 PUSHORT pusCodepage);
    180180
    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,
    184184                                        USHORT usCodepage);
    185185
    186186    /* ******************************************************************
    187      *                                                                  *
    188      *   Direct plain-string EA handling                                *
    189      *                                                                  *
     187     *
     188     *   Direct plain-string EA handling
     189     *
    190190     ********************************************************************/
    191191
Note: See TracChangeset for help on using the changeset viewer.