Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

lib/rpmns.c File Reference

#include "system.h"
#include <rpmio.h>
#include <rpmmacro.h>
#include <rpmevr.h>
#include <rpmns.h>
#include "debug.h"

Include dependency graph for rpmns.c:

Go to the source code of this file.

Data Structures

struct  _rpmnsProbes_s
 Dependency probe table. More...

Defines

#define _RPMEVR_INTERNAL
#define _RPMNS_INTERNAL

Functions

nsType rpmnsArch (const char *str)
 Is string a known arch suffix?
nsType rpmnsProbe (const char *str)
 Is string a known probe namespace?
nsType rpmnsClassify (const char *str)
 Classify a string as a dependency type.
int rpmnsParse (const char *str, rpmns ns)
 Split NS string into namespace, name and arch components.

Variables

int _rpmns_debug = 0
const char * _rpmns_N_at_A = "."
static const char * rpmnsArches []
static struct _rpmnsProbes_s rpmnsProbes []
 Dependency probe table.


Detailed Description

Definition in file rpmns.c.


Define Documentation

#define _RPMEVR_INTERNAL
 

Definition at line 9 of file rpmns.c.

#define _RPMNS_INTERNAL
 

Definition at line 11 of file rpmns.c.


Variable Documentation

int _rpmns_debug = 0
 

Definition at line 17 of file rpmns.c.

const char* _rpmns_N_at_A = "."
 

Definition at line 20 of file rpmns.c.

Referenced by rpmdsNewDNEVR(), rpmnsClassify(), and rpmnsParse().

const char* rpmnsArches[] [static]
 

Initial value:

 {
    "i386", "i486", "i586", "i686", "athlon", "pentium3", "pentium4", "x86_64", "amd64", "ia32e",
    "alpha", "alphaev5", "alphaev56", "alphapca56", "alphaev6", "alphaev67",
    "sparc", "sun4", "sun4m", "sun4c", "sun4d", "sparcv8", "sparcv9",
    "sparc64", "sun4u",
    "mips", "mipsel", "IP",
    "ppc", "ppciseries", "ppcpseries",
    "ppc64", "ppc64iseries", "ppc64pseries",
    "m68k",
    "rs6000",
    "ia64",
    "armv3l", "armv4b", "armv4l",
    "armv5teb", "armv5tel",
    "s390", "i370", "s390x",
    "sh", "xtensa",
    "noarch", "fat",
    NULL,
}

Definition at line 24 of file rpmns.c.

Referenced by rpmnsArch().

struct _rpmnsProbes_s rpmnsProbes[] [static]
 

Dependency probe table.

Referenced by rpmnsProbe().


Generated on Mon Aug 3 15:15:46 2009 for rpm by  doxygen 1.4.4