rpm 4.9.1
Defines | Functions
cliutils.h File Reference
#include <stdio.h>
#include <popt.h>
#include <rpm/rpmutil.h>
Include dependency graph for cliutils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define RETVAL(rc)   (((rc) > 254) ? 254 : (rc))

Functions

RPM_GNUC_NORETURN void argerror (const char *desc)
void printUsage (poptContext con, FILE *fp, int flags)
int initPipe (void)
void finishPipe (void)

Define Documentation

#define RETVAL (   rc)    (((rc) > 254) ? 254 : (rc))

Definition at line 9 of file cliutils.h.

Referenced by main().


Function Documentation

RPM_GNUC_NORETURN void argerror ( const char *  desc)

Definition at line 18 of file cliutils.c.

References _, and __progname.

Referenced by main().

void finishPipe ( void  )

Definition at line 72 of file cliutils.c.

References pipeChild.

Referenced by main().

int initPipe ( void  )

Definition at line 47 of file cliutils.c.

References _, pipeChild, and rpmcliPipeOutput.

Referenced by main().

void printUsage ( poptContext  con,
FILE *  fp,
int  flags 
)

Definition at line 35 of file cliutils.c.

References printBanner(), printVersion(), and rpmIsVerbose.

Referenced by main().