Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 907 → Rev 908

/shark/trunk/ports/first/include/fsf_service_task.h
50,6 → 50,7
bandwidth_t U; // actual bandwidth
bandwidth_t Umin; // min bandwidth
bandwidth_t Umax; // max bandwidth
TIME Cmax;
TIME Cmin;
TIME Tmin;
TIME Tmax;
/shark/trunk/ports/first/include/message.h
40,7 → 40,7
#ifndef __MESSAGE_H__
#define __MESSAGE_H__
 
typedef enum message_type {
typedef enum {
NO_TYPE=-1,
NEGOTIATE_CONTRACT,
RENEGOTIATE_CONTRACT,
50,12 → 50,19
NUM_MESSAGE,
} message_type;
 
typedef struct qual_imp {
int importance;
int quality;
} qual_imp;
 
 
typedef struct mess {
message_type type;
fsf_contract_parameters_t contract;
fsf_server_id_t server;
 
union {
fsf_contract_parameters_t contract;
qual_imp qi;
}
} mess;