rpm  5.4.10
rpm-rb.h
Go to the documentation of this file.
1 #ifndef H_RPM_RB
2 #define H_RPM_RB
3 
12 #include "system.h"
13 
14 #include <rpmiotypes.h>
15 
16 #include <rpmtypes.h>
17 #include <rpmtag.h>
18 
19 
23 extern VALUE rpmModule;
24 
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 
34 void Init_rpm(void);
35 
36 
43 void rpm_rb_raise(rpmRC error, char *message);
44 
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 
50 #endif /* H_RPM_RB */
void rpm_rb_raise(rpmRC error, char *message)
Raises a Ruby exception (RPM::Error).
Definition: rpm-rb.c:53
void Init_rpm(void)
Defines the "RPM" Ruby module and makes it known to the Interpreter.
Definition: rpm-rb.c:38
VALUE rpmModule
The "RPM" Ruby module.
Definition: rpm-rb.c:35
enum rpmRC_e rpmRC
RPM return codes.