Add macro %isu_package to generate ISU Package
[platform/upstream/rpm.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 /**
22  * Read manifest, glob items, and append to existing args.
23  * @param fd            manifest file handle
24  * @retval argcPtr      no. of args
25  * @retval argvPtr      args themselves
26  * @return              RPMRC_OK on success
27  */
28 rpmRC rpmReadPackageManifest(FD_t fd, int * argcPtr, char *** argvPtr);
29
30 #ifdef __cplusplus
31 }
32 #endif
33
34 #endif  /* H_MANIFEST */