if (type->send) {
type->send(type,state,data);
+ DEBUG0("Run the emission callback");
}
switch (type->category_code) {
sub_type = field->type;
- if (field->send)
+ if (field->send) {
+ DEBUG1("Run the emission callback of field %s", field->name);
field->send(type,state,field_data);
+ }
VERB1("Send field %s",field->name);
gras_datadesc_send_rec(sock,state,refs,sub_type, field_data,
field_data,-1,
detect_cycle || sub_type->cycle);
- if (field->recv)
+ if (field->recv) {
+ DEBUG1("Run the reception callback of field %s", field->name);
field->recv(type,state,(void*)l_data);
+ }
}
VERB1("<< Received all fields of the structure %s", type->name);