rpm  4.11.1-rc1
cliutils.h
Go to the documentation of this file.
1 #ifndef _CLIUTIL_H
2 #define _CLIUTIL_H
3 
4 #include <stdio.h>
5 #include <popt.h>
6 #include <rpm/rpmutil.h>
7 
8 /* "normalized" exit: avoid overflowing and xargs special value 255 */
9 #define RETVAL(rc) (((rc) > 254) ? 254 : (rc))
10 
12 void argerror(const char * desc);
13 
14 void printUsage(poptContext con, FILE * fp, int flags);
15 
16 int initPipe(void);
17 
18 int finishPipe(void);
19 
20 #endif /* _CLIUTIL_H */