rpm  5.4.10
Macros | Functions | Variables
rpmds-rb.c File Reference
#include "system.h"
#include "rpm-rb.h"
#include "rpmds-rb.h"
#include <rpmtag.h>
#include <rpmtypes.h>
#include <rpmio.h>
#include <rpmds.h>
#include "../debug.h"
Include dependency graph for rpmds-rb.c:

Go to the source code of this file.

Macros

#define _RPMDS_INTERNAL

Functions

static void * rpmds_ptr (VALUE s)
static void initMethods (VALUE klass)
static VALUE rpmds_debug_get (VALUE s)
static VALUE rpmds_debug_set (VALUE s, VALUE v)
static VALUE rpmds_Count_get (VALUE s)
static VALUE rpmds_Type_get (VALUE s)
static VALUE rpmds_Ix_get (VALUE s)
static VALUE rpmds_Ix_set (VALUE s, VALUE v)
static VALUE rpmds_BT_get (VALUE s)
static VALUE rpmds_BT_set (VALUE s, VALUE v)
static VALUE rpmds_Color_get (VALUE s)
static VALUE rpmds_Color_set (VALUE s, VALUE v)
static VALUE rpmds_NoPromote_get (VALUE s)
static VALUE rpmds_NoPromote_set (VALUE s, VALUE v)
static VALUE rpmds_N_get (VALUE s)
static VALUE rpmds_EVR_get (VALUE s)
static VALUE rpmds_Flags_get (VALUE s)
static VALUE rpmds_DNEVR_get (VALUE s)
static void initProperties (VALUE klass)
static void rpmds_free (rpmds ds)
static VALUE rpmds_new (int argc, VALUE *argv, VALUE s)
void Init_rpmds (void)
VALUE rpmrb_NewDs (void *_ds)

Variables

VALUE rpmdsClass
static int _debug = 0

Detailed Description

Definition in file rpmds-rb.c.

Macro Definition Documentation

#define _RPMDS_INTERNAL

Definition at line 16 of file rpmds-rb.c.

Function Documentation

void Init_rpmds ( void  )

Definition at line 261 of file rpmds-rb.c.

References _debug, initMethods(), initProperties(), rpmds_new(), rpmdsClass, and rpmModule.

Referenced by Init_rpm().

static void initMethods ( VALUE  klass)
static

Definition at line 44 of file rpmds-rb.c.

Referenced by Init_rpmds().

static void initProperties ( VALUE  klass)
static
static VALUE rpmds_BT_get ( VALUE  s)
static

Definition at line 109 of file rpmds-rb.c.

References _debug, rpmds_ptr(), and rpmdsBT().

Referenced by initProperties().

static VALUE rpmds_BT_set ( VALUE  s,
VALUE  v 
)
static

Definition at line 118 of file rpmds-rb.c.

References _debug, rpmds_ptr(), rpmdsBT(), and rpmdsSetBT().

Referenced by initProperties().

static VALUE rpmds_Color_get ( VALUE  s)
static

Definition at line 129 of file rpmds-rb.c.

References _debug, rpmds_ptr(), and rpmdsColor().

Referenced by initProperties().

static VALUE rpmds_Color_set ( VALUE  s,
VALUE  v 
)
static

Definition at line 138 of file rpmds-rb.c.

References _debug, rpmds_ptr(), rpmdsColor(), and rpmdsSetColor().

Referenced by initProperties().

static VALUE rpmds_Count_get ( VALUE  s)
static

Definition at line 66 of file rpmds-rb.c.

References _debug, rpmds_ptr(), and rpmdsCount().

Referenced by initProperties().

static VALUE rpmds_debug_get ( VALUE  s)
static

Definition at line 50 of file rpmds-rb.c.

References _debug.

Referenced by initProperties().

static VALUE rpmds_debug_set ( VALUE  s,
VALUE  v 
)
static

Definition at line 58 of file rpmds-rb.c.

References _debug.

Referenced by initProperties().

static VALUE rpmds_DNEVR_get ( VALUE  s)
static

Definition at line 196 of file rpmds-rb.c.

References _debug, rpmds_ptr(), and rpmdsDNEVR().

Referenced by initProperties().

static VALUE rpmds_EVR_get ( VALUE  s)
static

Definition at line 178 of file rpmds-rb.c.

References _debug, rpmds_ptr(), and rpmdsEVR().

Referenced by initProperties().

static VALUE rpmds_Flags_get ( VALUE  s)
static

Definition at line 187 of file rpmds-rb.c.

References _debug, rpmds_ptr(), and rpmdsFlags().

Referenced by initProperties().

static void rpmds_free ( rpmds  ds)
static

Definition at line 227 of file rpmds-rb.c.

References _debug, and rpmdsFree().

Referenced by rpmds_new(), and rpmrb_NewDs().

static VALUE rpmds_Ix_get ( VALUE  s)
static

Definition at line 85 of file rpmds-rb.c.

References _debug, rpmds_ptr(), and rpmdsIx().

Referenced by initProperties().

static VALUE rpmds_Ix_set ( VALUE  s,
VALUE  v 
)
static

Definition at line 94 of file rpmds-rb.c.

References _debug, rpmds_ptr(), rpmdsIx(), rpmdsNext(), and rpmdsSetIx().

Referenced by initProperties().

static VALUE rpmds_N_get ( VALUE  s)
static

Definition at line 169 of file rpmds-rb.c.

References _debug, rpmds_ptr(), and rpmdsN().

Referenced by initProperties().

static VALUE rpmds_new ( int  argc,
VALUE *  argv,
VALUE  s 
)
static

Definition at line 235 of file rpmds-rb.c.

References _debug, rpmds_free(), rpmds_ptr(), rpmdsNew(), rpmdsRpmlib(), and RPMTAG_NAME.

Referenced by Init_rpmds().

static VALUE rpmds_NoPromote_get ( VALUE  s)
static

Definition at line 149 of file rpmds-rb.c.

References _debug, rpmds_ptr(), and rpmdsNoPromote().

Referenced by initProperties().

static VALUE rpmds_NoPromote_set ( VALUE  s,
VALUE  v 
)
static

Definition at line 158 of file rpmds-rb.c.

References _debug, rpmds_ptr(), rpmdsNoPromote(), and rpmdsSetNoPromote().

Referenced by initProperties().

static void* rpmds_ptr ( VALUE  s)
static
static VALUE rpmds_Type_get ( VALUE  s)
static

Definition at line 76 of file rpmds-rb.c.

References _debug, rpmds_ptr(), and rpmdsType().

Referenced by initProperties().

VALUE rpmrb_NewDs ( void *  _ds)

Definition at line 275 of file rpmds-rb.c.

References rpmds_free(), and rpmdsClass.

Referenced by rpmhdr_ds().

Variable Documentation

int _debug = 0
static
VALUE rpmdsClass

Definition at line 26 of file rpmds-rb.c.

Referenced by Init_rpmds(), package_get_ds(), and rpmrb_NewDs().