Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Ongoing cleanup in ruby bindings. Does not compile yet, but commiting anyway because...
[simgrid.git] / src / bindings / ruby / rb_msg_host.h
1 #ifndef RB_MSG_HOST
2 #define RB_MSG_HOST
3
4 #include <ruby.h>
5 #include "msg/msg.h"
6
7 // Free Method
8 static void host_free(m_host_t ht);
9
10 // New Method
11 static VALUE host_get_by_name(VALUE Class, VALUE name);
12
13 //Get Name
14 static VALUE host_name(VALUE Class,VALUE host);
15
16 //Get Number
17 static VALUE host_number(VALUE Class);
18
19 // get Speed
20 static VALUE host_speed(VALUE Class,VALUE host);
21
22 // Set Data
23 static void host_set_data(VALUE Class,VALUE host,VALUE data);
24
25 // Get Data
26 static VALUE host_get_data( VALUE Class,VALUE host);
27
28
29 //is Available
30 static VALUE host_is_avail(VALUE Class,VALUE host);
31
32 #endif