rpm
5.4.15
|
#include "system.h"
#include "rpm-rb.h"
#include "rpmds-rb.h"
#include "rpmfi-rb.h"
#include "rpmhdr-rb.h"
#include <rpmtag.h>
#include <rpmtypes.h>
#include <rpmds.h>
#include <rpmfi.h>
#include <rpmio.h>
#include <rpmcli.h>
#include "../debug.h"
Go to the source code of this file.
Macros | |
#define | _RPMDS_INTERNAL |
Functions | |
static void * | rpmhdr_ptr (VALUE s) |
static VALUE | rpmhdrLoadTag (Header h, const char *name) |
static VALUE | rpmhdr_sprintf (VALUE s, VALUE v) |
static VALUE | rpmhdr_getorigin (VALUE s) |
static VALUE | rpmhdr_setorigin (VALUE s, VALUE v) |
static VALUE | rpmhdr_ds (int argc, VALUE *argv, VALUE s) |
static VALUE | rpmhdr_fi (int argc, VALUE *argv, VALUE s) |
static void | initMethods (VALUE klass) |
static VALUE | rpmhdr_debug_get (VALUE s) |
static VALUE | rpmhdr_debug_set (VALUE s, VALUE v) |
static VALUE | rpmhdr__get (VALUE s, VALUE v) |
static void | initProperties (VALUE klass) |
static void | rpmhdr_free (Header h) |
static VALUE | rpmhdr_new (int argc, VALUE *argv, VALUE s) |
void | Init_rpmhdr (void) |
VALUE | rpmrb_NewHdr (void *_h) |
Variables | |
VALUE | rpmhdrClass |
static int | _debug = 0 |
#define _RPMDS_INTERNAL |
Definition at line 17 of file rpmhdr-rb.c.
void Init_rpmhdr | ( | void | ) |
Definition at line 249 of file rpmhdr-rb.c.
References _debug, initMethods(), initProperties(), rpmhdr_new(), and rpmhdrClass.
|
static |
Definition at line 177 of file rpmhdr-rb.c.
References rpmhdr_ds(), rpmhdr_fi(), rpmhdr_getorigin(), rpmhdr_setorigin(), and rpmhdr_sprintf().
Referenced by Init_rpmhdr().
|
static |
Definition at line 216 of file rpmhdr-rb.c.
References rpmhdr__get(), rpmhdr_debug_get(), and rpmhdr_debug_set().
Referenced by Init_rpmhdr().
|
static |
Definition at line 204 of file rpmhdr-rb.c.
References _debug, rpmhdr_ptr(), and rpmhdrLoadTag().
Referenced by initProperties().
|
static |
|
static |
|
static |
Definition at line 139 of file rpmhdr-rb.c.
References _debug, flags, rpmdsNew(), rpmhdr_ptr(), rpmrb_NewDs(), and RPMTAG_PROVIDENAME.
Referenced by initMethods().
|
static |
Definition at line 158 of file rpmhdr-rb.c.
References _debug, flags, rpmfiNew(), rpmhdr_ptr(), rpmrb_NewFi(), and RPMTAG_BASENAMES.
Referenced by initMethods().
|
static |
Definition at line 225 of file rpmhdr-rb.c.
References _debug, and headerFree().
Referenced by rpmhdr_new(), and rpmrb_NewHdr().
|
static |
Definition at line 116 of file rpmhdr-rb.c.
References _debug, headerGetOrigin(), and rpmhdr_ptr().
Referenced by initMethods().
|
static |
Definition at line 234 of file rpmhdr-rb.c.
References _debug, headerNew(), and rpmhdr_free().
Referenced by Init_rpmhdr().
|
static |
Definition at line 35 of file rpmhdr-rb.c.
Referenced by rpmhdr__get(), rpmhdr_ds(), rpmhdr_fi(), rpmhdr_getorigin(), rpmhdr_setorigin(), and rpmhdr_sprintf().
|
static |
Definition at line 127 of file rpmhdr-rb.c.
References _debug, headerGetOrigin(), headerSetOrigin(), and rpmhdr_ptr().
Referenced by initMethods().
|
static |
Definition at line 99 of file rpmhdr-rb.c.
References _debug, errstr, headerSprintf(), rpmhdr_ptr(), and rpmHeaderFormats.
Referenced by initMethods().
|
static |
Definition at line 43 of file rpmhdr-rb.c.
References _debug, _free(), alloca(), rpmDataType_u::argv, _HE_s::c, headerGet(), i, _HE_s::p, rpmDataType_u::ptr, RPM_BIN_TYPE, RPM_I18NSTRING_TYPE, RPM_STRING_ARRAY_TYPE, RPM_STRING_TYPE, RPM_UINT16_TYPE, RPM_UINT32_TYPE, RPM_UINT64_TYPE, RPM_UINT8_TYPE, rpmDataType_u::str, _HE_s::t, _HE_s::tag, tagValue(), rpmDataType_u::ui16p, rpmDataType_u::ui32p, rpmDataType_u::ui64p, rpmDataType_u::ui8p, and v.
Referenced by rpmhdr__get().
VALUE rpmrb_NewHdr | ( | void * | _h | ) |
Definition at line 263 of file rpmhdr-rb.c.
References rpmhdr_free(), and rpmhdrClass.
Referenced by rpmmi_each(), and rpmmi_next().
|
static |
Definition at line 31 of file rpmhdr-rb.c.
Referenced by Init_rpmhdr(), rpmhdr__get(), rpmhdr_debug_get(), rpmhdr_debug_set(), rpmhdr_ds(), rpmhdr_fi(), rpmhdr_free(), rpmhdr_getorigin(), rpmhdr_new(), rpmhdr_setorigin(), rpmhdr_sprintf(), and rpmhdrLoadTag().
VALUE rpmhdrClass |
Definition at line 28 of file rpmhdr-rb.c.
Referenced by Init_rpmhdr(), and rpmrb_NewHdr().