Main Page   Modules   Compound List   File List   Compound Members   File Members   Related Pages  

lib/fprint.h File Reference

Identify a file name path by a unique "finger print". More...

#include "hash.h"
#include "header.h"

Go to the source code of this file.

Compounds

struct  fingerprint_s
struct  fprintCache_s
struct  fprintCacheEntry_s

Defines

#define fpFree(a)    free((void *)(a).baseName)
#define FP_ENTRY_EQUAL(a, b)    (((a)->dev == (b)->dev) && ((a)->ino == (b)->ino))
#define FP_EQUAL(a, b)

Typedefs

typedef struct fprintCache_s *  fingerPrintCache
 Finger print cache.

typedef struct fingerprint_s  fingerPrint
 Associates a trailing sub-directory and final base name with an existing directory finger print.


Detailed Description

Identify a file name path by a unique "finger print".

Definition in file fprint.h.


Define Documentation

#define FP_ENTRY_EQUAL( a, b )   (((a)->dev == (b)->dev) && ((a)->ino == (b)->ino))
 

Definition at line 49 of file fprint.h.

#define FP_EQUAL( a, b )
 

Initializer:

( \
        FP_ENTRY_EQUAL((a).entry, (b).entry) && \
        !strcmp((a).baseName, (b).baseName) && ( \
            ((a).subDir == (b).subDir) || \
            ((a).subDir && (b).subDir && !strcmp((a).subDir, (b).subDir)) \
        ) \
    )

Definition at line 52 of file fprint.h.

Referenced by fpEqual(), handleOverlappedFiles(), rpmdbFindByFile(), and rpmdbFindFpList().

#define fpFree( a )   free((void *)(a).baseName)
 

Definition at line 46 of file fprint.h.


Typedef Documentation

typedef struct fingerprint_s fingerPrint
 

Associates a trailing sub-directory and final base name with an existing directory finger print.

typedef struct fprintCache_s * fingerPrintCache
 

Finger print cache.


Generated at Sun Apr 8 18:43:03 2001 for rpm by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000