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

Go to the source code of this file.

Macros

#define _RPMFI_INTERNAL
 

Functions

static voidrpmps_ptr (VALUE s)
 
static VALUE rpmps_push (VALUE s)
 
static VALUE rpmps_print (VALUE s)
 
static void initMethods (VALUE klass)
 
static VALUE rpmps_debug_get (VALUE s)
 
static VALUE rpmps_debug_set (VALUE s, VALUE v)
 
static VALUE rpmps_length_get (VALUE s)
 
static void initProperties (VALUE klass)
 
static void rpmps_free (rpmps ps)
 
static VALUE rpmps_alloc (VALUE klass)
 
void Init_rpmps (void)
 

Variables

VALUE rpmpsClass
 
static int _debug = 0
 

Macro Definition Documentation

#define _RPMFI_INTERNAL

Definition at line 17 of file rpmps-rb.c.

Function Documentation

void Init_rpmps ( void  )

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

References _debug, fprintf(), initMethods(), initProperties(), rpmps_alloc(), and rpmpsClass.

static void initMethods ( VALUE  klass)
static

Definition at line 75 of file rpmps-rb.c.

References rpmps_print(), and rpmps_push().

Referenced by Init_rpmps().

static void initProperties ( VALUE  klass)
static

Definition at line 143 of file rpmps-rb.c.

References rpmps_debug_get(), rpmps_debug_set(), and rpmps_length_get().

Referenced by Init_rpmps().

static VALUE rpmps_alloc ( VALUE  klass)
static

Definition at line 166 of file rpmps-rb.c.

References _debug, fprintf(), rpmps_free(), and rpmpsCreate().

Referenced by Init_rpmps().

static VALUE rpmps_debug_get ( VALUE  s)
static

Definition at line 83 of file rpmps-rb.c.

References _debug, and fprintf().

Referenced by initProperties().

static VALUE rpmps_debug_set ( VALUE  s,
VALUE  v 
)
static

Definition at line 91 of file rpmps-rb.c.

References _debug, and fprintf().

Referenced by initProperties().

static void rpmps_free ( rpmps  ps)
static

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

References _debug, fprintf(), and rpmpsFree().

Referenced by rpmps_alloc().

static VALUE rpmps_length_get ( VALUE  s)
static

Definition at line 99 of file rpmps-rb.c.

References _debug, fprintf(), ps, ptr, rpmps_ptr(), and rpmpsNumProblems().

Referenced by initProperties().

static VALUE rpmps_print ( VALUE  s)
static

Definition at line 63 of file rpmps-rb.c.

References _debug, fprintf(), NULL, ps, ptr, rpmps_ptr(), rpmpsNumProblems(), and rpmpsPrint().

Referenced by initMethods().

static void* rpmps_ptr ( VALUE  s)
static

Definition at line 35 of file rpmps-rb.c.

References ptr.

Referenced by rpmps_length_get(), rpmps_print(), and rpmps_push().

static VALUE rpmps_push ( VALUE  s)
static

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

References _debug, altNEVR, fprintf(), key, pkgNEVR, ps, ptr, RPMPROB_PKG_INSTALLED, rpmps_ptr(), rpmpsAppend(), rpmpsNumProblems(), and type.

Referenced by initMethods().

Variable Documentation

int _debug = 0
static
VALUE rpmpsClass

Definition at line 27 of file rpmps-rb.c.

Referenced by Init_rpmps().