rpm 5.2.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

fs.h
Go to the documentation of this file.
1 #ifndef H_FS
2 #define H_FS
3
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12
16 void rpmFreeFilesystems(void)
17 /*@globals internalState@*/
18 /*@modifies internalState@*/;
19
26 /*@-incondefs@*/
27 int rpmGetFilesystemList( /*@null@*/ /*@out@*/ const char *** listptr,
28 /*@null@*/ /*@out@*/ rpmuint32_t * num)
29 /*@globals h_errno, fileSystem, internalState @*/
30 /*@modifies *listptr, *num, fileSystem, internalState @*/
31 /*@requires maxSet(listptr) >= 0 /\ maxSet(num) >= 0 @*/;
32 /*@=incondefs@*/
33
43 /*@-incondefs@*/
44 int rpmGetFilesystemUsage(const char ** fileList, rpmuint32_t * fssizes,
45 int numFiles, /*@null@*/ /*@out@*/ rpmuint64_t ** usagesPtr,
46 int flags)
47 /*@globals rpmGlobalMacroContext, h_errno,
48 fileSystem, internalState @*/
49 /*@modifies *usagesPtr, rpmGlobalMacroContext,
50 fileSystem, internalState @*/
51 /*@requires maxSet(fileList) >= 0 /\ maxSet(fssizes) == 0
52 /\ maxSet(usagesPtr) >= 0 @*/;
53 /*@=incondefs@*/
54
55 #ifdef __cplusplus
56 }
57 #endif
58
59 #endif /* H_FS */