Ignore:
Timestamp:
Nov 1, 2016, 11:06:08 PM (9 years ago)
Author:
bird
Message:

fts-nt: prefix public names.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/nt/fts-nt.h

    r2989 r2992  
    147147extern "C" {
    148148#endif
    149 FTSENT  *FTSCALL fts_children(FTS *, int);
    150 int      FTSCALL fts_close(FTS *);
    151 void    *FTSCALL fts_get_clientptr(FTS *);
     149
     150FTSENT  *FTSCALL nt_fts_children(FTS *, int);
     151int      FTSCALL nt_fts_close(FTS *);
     152void    *FTSCALL nt_fts_get_clientptr(FTS *);
    152153#define  fts_get_clientptr(fts) ((fts)->fts_clientptr)
    153 FTS     *FTSCALL fts_get_stream(FTSENT *);
     154FTS     *FTSCALL nt_fts_get_stream(FTSENT *);
    154155#define  fts_get_stream(ftsent) ((ftsent)->fts_fts)
    155 FTS     *FTSCALL fts_open(char * const *, int,
     156FTS     *FTSCALL nt_fts_open(char * const *, int,
    156157            int (FTSCALL*)(const FTSENT * const *, const FTSENT * const *));
    157 FTSENT  *FTSCALL fts_read(FTS *);
    158 int      FTSCALL fts_set(FTS *, FTSENT *, int);
    159 void     FTSCALL fts_set_clientptr(FTS *, void *);
     158FTSENT  *FTSCALL nt_fts_read(FTS *);
     159int      FTSCALL nt_fts_set(FTS *, FTSENT *, int);
     160void     FTSCALL nt_fts_set_clientptr(FTS *, void *);
     161
     162/* API mappings. */
     163#define fts_children(a_pFts, a_iInstr)                  nt_fts_children(a_pFts, a_iInstr)
     164#define fts_close(a_pFts)                               nt_fts_close(a_pFts)
     165#define fts_open(a_papszArgs, a_fOptions, a_pfnCompare) nt_fts_open(a_papszArgs, a_fOptions, a_pfnCompare)
     166#define fts_read(a_pFts)                                nt_fts_read(a_pFts)
     167#define fts_set(a_pFts, a_pFtsEntry, a_iInstr)          nt_fts_set(a_pFts, a_pFtsEntry, a_iInstr)
     168#define fts_set_clientptr(a_pFts, a_pvUser)             nt_fts_set_clientptr(a_pFts, a_pvUser)
     169
    160170#ifdef __cplusplus
    161171}
Note: See TracChangeset for help on using the changeset viewer.