rpm  4.5
legacy.h
Go to the documentation of this file.
1 #ifndef H_LEGACY
2 #define H_LEGACY
3 
11 /*@-redecl@*/
12 /*@unchecked@*/
13 extern int _noDirTokens;
14 /*@=redecl@*/
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
29 int dodigest(int digestalgo, const char * fn, /*@out@*/ unsigned char * digest,
30  int asAscii, /*@null@*/ /*@out@*/ size_t *fsizep)
31  /*@globals h_errno, fileSystem, internalState @*/
32  /*@modifies digest, *fsizep, fileSystem, internalState @*/;
33 
42 int domd5(const char * fn, /*@out@*/ unsigned char * digest, int asAscii,
43  /*@null@*/ /*@out@*/ size_t *fsizep)
44  /*@globals h_errno, fileSystem, internalState @*/
45  /*@modifies digest, *fsizep, fileSystem, internalState @*/;
46 
64 void rpmfiBuildFNames(Header h, rpmTag tagN,
65  /*@out@*/ const char *** fnp, /*@out@*/ int * fcp)
66  /*@modifies *fnp, *fcp @*/;
67 
68 #ifdef __cplusplus
69 }
70 #endif
71 
72 #endif /* H_LEGACY */