/[global]/global/libutil/gpathop.h
ViewVC logotype

Diff of /global/libutil/gpathop.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by shigio, Mon Nov 7 02:26:24 2005 UTC revision 1.16 by shigio, Mon Nov 7 12:17:49 2005 UTC
# Line 29  Line 29 
29  #define NEXTKEY         " __.NEXTKEY"  #define NEXTKEY         " __.NEXTKEY"
30  #define VERSIONKEY      " __.VERSION"  #define VERSIONKEY      " __.VERSION"
31    
32    /*
33     * File type
34     */
35    #define GPATH_SOURCE    0
36    #define GPATH_OTHER     1
37    
38    typedef struct {
39            /* set by gfind_open() */
40            DBOP *dbop;
41            const char *prefix;
42            int other;
43            int version;
44            /* set by gfind_open() and gfind_read() */
45            int first;
46            int eod;                /* end of data */
47            /* set by gfind_read() */
48            int type;               /* File type */
49            const char *path;       /* return value of gfind_read() */
50    } GFIND;
51    
52  int gpath_open(const char *, int);  int gpath_open(const char *, int);
53  const char *gpath_path2fid(const char *, int *);  const char *gpath_path2fid(const char *, int *);
54  const char *gpath_fid2path(const char *, int *);  const char *gpath_fid2path(const char *, int *);
# Line 36  void gpath_put(const char *, int); Line 56  void gpath_put(const char *, int);
56  void gpath_delete(const char *);  void gpath_delete(const char *);
57  void gpath_close(void);  void gpath_close(void);
58  int gpath_nextkey(void);  int gpath_nextkey(void);
59  int gfind_open(const char *, const char *, int);  GFIND *gfind_open(const char *, const char *, int);
60  const char *gfind_read(void);  const char *gfind_read(GFIND *);
61  void gfind_close(void);  void gfind_close(GFIND *);
62    
63  #endif /* ! _PATHOP_H_ */  #endif /* ! _PATHOP_H_ */

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26