Sha256: 105a7f2fa97ec6720840098a3b245491c72ff1363f333db7fa925388c5dc0e55

Contents?: true

Size: 1.16 KB

Versions: 60

Compression:

Stored size: 1.16 KB

Contents

/* system.i */
%module RhoConf
%{
	extern void rho_conf_set_property_by_name(char* name, char* value);
	#define set_property_by_name rho_conf_set_property_by_name

    extern VALUE rho_conf_get_property_by_name(char* property);
    #define get_property_by_name rho_conf_get_property_by_name
	
	extern void rho_conf_show_log();
	#define show_log rho_conf_show_log

	extern int rho_conf_send_log(const char* callback_url);
	#define send_log rho_conf_send_log

	extern void rho_conf_clean_log();
	#define clean_log rho_conf_clean_log

	extern VALUE rho_conf_read_log(int limit);
	#define read_log rho_conf_read_log

	extern int rho_conf_is_property_exists(char* name);
	#define is_property_exists rho_conf_is_property_exists
	
%}

%typemap(out) int is_property_exists 
 "$result = ($1 != 0) ? Qtrue : Qfalse;";

%typemap(default) int limit {
 $1 = 0;
}

%typemap(default) const char* callback_url  {
 $1 = "";
}
 
extern void set_property_by_name(char* name, char* value);
extern VALUE get_property_by_name(char* name);
extern void show_log();
extern int send_log(const char* callback_url);
extern void clean_log();
extern VALUE read_log(int limit);
extern int is_property_exists(char* name);

Version data entries

60 entries across 60 versions & 2 rubygems

Version Path
rhodes-7.6.0 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-7.5.1 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-7.4.1 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-7.1.17 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-6.2.0 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-6.0.11 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-5.5.18 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-5.5.17 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-5.5.15 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-5.5.0.22 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-5.5.2 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-5.5.0.7 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-5.5.0.3 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-5.5.0 platform/shared/ruby/ext/rhoconf/rhoconf.i
tauplatform-1.0.3 platform/shared/ruby/ext/rhoconf/rhoconf.i
tauplatform-1.0.2 platform/shared/ruby/ext/rhoconf/rhoconf.i
tauplatform-1.0.1 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-3.5.1.12 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-3.3.5 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-3.4.2 platform/shared/ruby/ext/rhoconf/rhoconf.i