Doxygen annotations for config files.
[tools/librpm-tizen.git] / lib / manifest.h
1 #ifndef H_MANIFEST
2 #define H_MANIFEST
3
4 /**
5  * \file lib/manifest.h
6  * Routines to expand a manifest containing glob expressions into an argv list.
7  */
8
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12
13 /**
14  * Return ls(1)-like formatted mode string.
15  * @param mode          file mode
16  * @return              (malloc'd) formatted mode string
17  */
18 char * rpmPermsString(int mode);
19
20 /**
21  * Read manifest, glob items, and append to existing args.
22  * @param fd                    manifest file handle
23  * @retval argcPtr              no. of args
24  * @retval argvPtr              args themselves
25  */
26 int rpmReadPackageManifest(FD_t fd, int * argcPtr, const char *** argvPtr);
27
28 #ifdef __cplusplus
29 }
30 #endif
31
32 #endif  /* H_MANIFEST */