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

Go to the source code of this file.

Macros

#define _RPMFI_INTERNAL
 

Functions

static voidrpmfi_ptr (VALUE s)
 
static void initMethods (VALUE klass)
 
static VALUE rpmfi_debug_get (VALUE s)
 
static VALUE rpmfi_debug_set (VALUE s, VALUE v)
 
static VALUE rpmfi_FC_get (VALUE s)
 
static VALUE rpmfi_FX_get (VALUE s)
 
static VALUE rpmfi_FX_set (VALUE s, VALUE v)
 
static VALUE rpmfi_DC_get (VALUE s)
 
static VALUE rpmfi_DX_get (VALUE s)
 
static VALUE rpmfi_DX_set (VALUE s, VALUE v)
 
static VALUE rpmfi_BN_get (VALUE s)
 
static VALUE rpmfi_DN_get (VALUE s)
 
static VALUE rpmfi_FN_get (VALUE s)
 
static VALUE rpmfi_VFlags_get (VALUE s)
 
static VALUE rpmfi_FFlags_get (VALUE s)
 
static VALUE rpmfi_FMode_get (VALUE s)
 
static VALUE rpmfi_FState_get (VALUE s)
 
static VALUE rpmfi_FDigest_get (VALUE self)
 
static VALUE rpmfi_FLink_get (VALUE s)
 
static VALUE rpmfi_FSize_get (VALUE s)
 
static VALUE rpmfi_FRdev_get (VALUE s)
 
static VALUE rpmfi_FMtime_get (VALUE s)
 
static VALUE rpmfi_FUser_get (VALUE s)
 
static VALUE rpmfi_FGroup_get (VALUE s)
 
static VALUE rpmfi_FColor_get (VALUE s)
 
static VALUE rpmfi_FClass_get (VALUE s)
 
static void initProperties (VALUE klass)
 
static void rpmfi_free (rpmfi fi)
 
static VALUE rpmfi_new (int argc, VALUE *argv, VALUE s)
 
void Init_rpmfi (void)
 
VALUE rpmrb_NewFi (void *_fi)
 

Variables

VALUE rpmfiClass
 
static int _debug = 0
 

Macro Definition Documentation

#define _RPMFI_INTERNAL

Definition at line 15 of file rpmfi-rb.c.

Function Documentation

void Init_rpmfi ( void  )

Definition at line 370 of file rpmfi-rb.c.

References _debug, fprintf(), initMethods(), initProperties(), rpmfi_new(), and rpmfiClass.

static void initMethods ( VALUE  klass)
static

Definition at line 45 of file rpmfi-rb.c.

Referenced by Init_rpmfi().

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

Definition at line 134 of file rpmfi-rb.c.

References _debug, fi, fprintf(), rpmfi_ptr(), and rpmfiBN().

Referenced by initProperties().

static VALUE rpmfi_DC_get ( VALUE  s)
static

Definition at line 100 of file rpmfi-rb.c.

References _debug, fi, fprintf(), rpmfi_ptr(), and rpmfiDC().

Referenced by initProperties().

static VALUE rpmfi_debug_get ( VALUE  s)
static

Definition at line 51 of file rpmfi-rb.c.

References _debug, and fprintf().

Referenced by initProperties().

static VALUE rpmfi_debug_set ( VALUE  s,
VALUE  v 
)
static

Definition at line 59 of file rpmfi-rb.c.

References _debug, and fprintf().

Referenced by initProperties().

static VALUE rpmfi_DN_get ( VALUE  s)
static

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

References _debug, fi, fprintf(), rpmfi_ptr(), and rpmfiDN().

Referenced by initProperties().

static VALUE rpmfi_DX_get ( VALUE  s)
static

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

References _debug, fi, fprintf(), rpmfi_ptr(), and rpmfiDX().

Referenced by initProperties().

static VALUE rpmfi_DX_set ( VALUE  s,
VALUE  v 
)
static

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

References _debug, fi, fprintf(), ix, rpmfi_ptr(), rpmfiDX(), rpmfiNextD(), rpmfiSetDX(), and void.

Referenced by initProperties().

static VALUE rpmfi_FC_get ( VALUE  s)
static

Definition at line 67 of file rpmfi-rb.c.

References _debug, fi, fprintf(), rpmfi_ptr(), and rpmfiFC().

Referenced by initProperties().

static VALUE rpmfi_FClass_get ( VALUE  s)
static

Definition at line 285 of file rpmfi-rb.c.

References _debug, _free(), fi, fprintf(), NULL, rpmfi_ptr(), rpmfiFClass(), t, and xstrdup().

Referenced by initProperties().

static VALUE rpmfi_FColor_get ( VALUE  s)
static

Definition at line 276 of file rpmfi-rb.c.

References _debug, fi, fprintf(), rpmfi_ptr(), and rpmfiFColor().

Referenced by initProperties().

static VALUE rpmfi_FDigest_get ( VALUE  self)
static

Definition at line 197 of file rpmfi-rb.c.

References _debug, alloca(), digest, dlen, fdigest, fi, fprintf(), i, int, memset(), nb, rpmfi_ptr(), rpmfiDigest(), s, and t.

Referenced by initProperties().

static VALUE rpmfi_FFlags_get ( VALUE  s)
static

Definition at line 170 of file rpmfi-rb.c.

References _debug, fi, fprintf(), rpmfi_ptr(), and rpmfiFFlags().

Referenced by initProperties().

static VALUE rpmfi_FGroup_get ( VALUE  s)
static

Definition at line 267 of file rpmfi-rb.c.

References _debug, fi, fprintf(), rpmfi_ptr(), and rpmfiFGroup().

Referenced by initProperties().

static VALUE rpmfi_FLink_get ( VALUE  s)
static

Definition at line 222 of file rpmfi-rb.c.

References _debug, fi, fprintf(), rpmfi_ptr(), and rpmfiFLink().

Referenced by initProperties().

static VALUE rpmfi_FMode_get ( VALUE  s)
static

Definition at line 179 of file rpmfi-rb.c.

References _debug, fi, fprintf(), rpmfi_ptr(), and rpmfiFMode().

Referenced by initProperties().

static VALUE rpmfi_FMtime_get ( VALUE  s)
static

Definition at line 249 of file rpmfi-rb.c.

References _debug, fi, fprintf(), rpmfi_ptr(), and rpmfiFMtime().

Referenced by initProperties().

static VALUE rpmfi_FN_get ( VALUE  s)
static

Definition at line 152 of file rpmfi-rb.c.

References _debug, fi, fprintf(), rpmfi_ptr(), and rpmfiFN().

Referenced by initProperties().

static VALUE rpmfi_FRdev_get ( VALUE  s)
static

Definition at line 240 of file rpmfi-rb.c.

References _debug, fi, fprintf(), rpmfi_ptr(), and rpmfiFRdev().

Referenced by initProperties().

static void rpmfi_free ( rpmfi  fi)
static

Definition at line 335 of file rpmfi-rb.c.

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

Referenced by rpmfi_new(), and rpmrb_NewFi().

static VALUE rpmfi_FSize_get ( VALUE  s)
static

Definition at line 231 of file rpmfi-rb.c.

References _debug, fi, fprintf(), rpmfi_ptr(), and rpmfiFSize().

Referenced by initProperties().

static VALUE rpmfi_FState_get ( VALUE  s)
static

Definition at line 188 of file rpmfi-rb.c.

References _debug, fi, fprintf(), rpmfi_ptr(), and rpmfiFState().

Referenced by initProperties().

static VALUE rpmfi_FUser_get ( VALUE  s)
static

Definition at line 258 of file rpmfi-rb.c.

References _debug, fi, fprintf(), rpmfi_ptr(), and rpmfiFUser().

Referenced by initProperties().

static VALUE rpmfi_FX_get ( VALUE  s)
static

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

References _debug, fi, fprintf(), rpmfi_ptr(), and rpmfiFX().

Referenced by initProperties().

static VALUE rpmfi_FX_set ( VALUE  s,
VALUE  v 
)
static

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

References _debug, fi, fprintf(), ix, rpmfi_ptr(), rpmfiFX(), rpmfiNext(), rpmfiSetFX(), and void.

Referenced by initProperties().

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

Definition at line 343 of file rpmfi-rb.c.

References _debug, fi, flags, fprintf(), h, rpmfi_free(), rpmfi_ptr(), rpmfiNew(), RPMTAG_BASENAMES, and tag.

Referenced by Init_rpmfi().

static void* rpmfi_ptr ( VALUE  s)
static
static VALUE rpmfi_VFlags_get ( VALUE  s)
static

Definition at line 161 of file rpmfi-rb.c.

References _debug, fi, fprintf(), rpmfi_ptr(), and rpmfiVFlags().

Referenced by initProperties().

VALUE rpmrb_NewFi ( void _fi)

Definition at line 384 of file rpmfi-rb.c.

References rpmfi_free(), and rpmfiClass.

Referenced by rpmhdr_fi().

Variable Documentation

int _debug = 0
static
VALUE rpmfiClass

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

Referenced by Init_rpmfi(), and rpmrb_NewFi().