rpm 4.15.1

Data Structures | Typedefs | Enumerations | Functions
argv.h File Reference
I/O » Argument Manipulation API.
`#include <stdio.h>`
`#include <rpm/rpmtypes.h>`
Include dependency graph for argv.h:

Go to the source code of this file.

## Data Structures
struct | ARGI_s

## Typedefs
typedef char ** | ARGV_t
typedef char *const * | ARGV_const_t
typedef int * | ARGint_t
typedef struct ARGI_s * | ARGI_t
typedef struct ARGI_s const *const | ARGI_const_t
typedef rpmFlags | argvFlags

## Enumerations
enum | argvFlags_e { ARGV_NONE = 0, ARGV_SKIPEMPTY = (1 << 0) }

## Functions
void | argvPrint (const char *msg, ARGV_const_t argv, FILE *fp)
ARGI_t | argiFree (ARGI_t argi)
ARGV_t | argvNew (void)
ARGV_t | argvFree (ARGV_t argv)
int | argiCount (ARGI_const_t argi)
ARGint_t | argiData (ARGI_const_t argi)
int | argvCount (ARGV_const_t argv)
ARGV_t | argvData (ARGV_t argv)
int | argvCmp (const void *a, const void *b)
int | argvSort (ARGV_t argv, int(*compar)(const void *, const void *))
ARGV_t | argvSearch (ARGV_const_t argv, const char *val, int(*compar)(const void *, const void *))
int | argiAdd (ARGI_t *argip, int ix, int val)
int | argvAdd (ARGV_t *argvp, const char *val)
int | argvAddNum (ARGV_t *argvp, int val)
int | argvAppend (ARGV_t *argvp, ARGV_const_t av)
ARGV_t | argvSplitString (const char *str, const char *seps, argvFlags flags)
int | argvSplit (ARGV_t *argvp, const char *str, const char *seps)
char * | argvJoin (ARGV_const_t argv, const char *sep)

## Detailed Description

Argument Manipulation API.

Definition in file argv.h.

## Typedef Documentation

## ◆ ARGI_const_t

typedef struct ARGI_s const* const ARGI_const_t

Definition at line 26 of file argv.h.

## ◆ ARGI_t

typedef struct ARGI_s* ARGI_t

Definition at line 25 of file argv.h.

## ◆ ARGint_t

typedef int* ARGint_t

Definition at line 20 of file argv.h.

## ◆ ARGV_const_t

typedef char* const * ARGV_const_t

Definition at line 18 of file argv.h.

## ◆ ARGV_t

typedef char** ARGV_t

Definition at line 17 of file argv.h.

## ◆ argvFlags

typedef rpmFlags argvFlags

Definition at line 149 of file argv.h.

## Enumeration Type Documentation

## ◆ argvFlags_e

enum argvFlags_e

Enumerator
ARGV_NONE |
ARGV_SKIPEMPTY |

Definition at line 144 of file argv.h.