rpm  5.4.10
spec-rb.h
Go to the documentation of this file.
1 
8 #ifndef H_SPEC_RB
9 #define H_SPEC_RB
10 
11 
12 #include "system.h"
13 
14 #define _RPMTS_INTERNAL
15 #define _RPMFI_INTERNAL
16 #include <rpmtag.h>
17 #include <rpmtypes.h>
18 #include <rpmio.h>
19 #include <rpmspec.h>
20 
21 
33 extern VALUE specClass;
34 
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
40 
44 VALUE
45 spec_wrap(Spec spec);
46 
47 
51 void Init_spec(void);
52 
53 
54 #ifdef __cplusplus
55 }
56 #endif
57 
58 #endif /* ifndef H_SPEC_RB */
59 
VALUE spec_wrap(Spec spec)
Wraps an already existing Spec_s structure in a Ruby class.
Definition: spec-rb.c:210
VALUE specClass
The Ruby class representation of the Spec_s structure and methods.
Definition: spec-rb.c:31
The structure used to store values parsed from a spec file.
Definition: rpmspec.h:108
The Spec and Package data structures used during build.
void Init_spec(void)
Initializes the Ruby class.
Definition: spec-rb.c:217