diff options
author | Mamadou DIOP <bossiel@yahoo.fr> | 2016-02-23 22:00:35 +0100 |
---|---|---|
committer | Mamadou DIOP <bossiel@yahoo.fr> | 2016-02-23 22:00:35 +0100 |
commit | 50dfb4359619563012997bc3ddafb7667741066c (patch) | |
tree | db234c1edc3240a653363b5735fc4077af4b8720 /tinyBFCP/include/tinybfcp | |
parent | 94b2219209038e05dd26395f6fb700be4d1062c0 (diff) | |
download | doubango-50dfb4359619563012997bc3ddafb7667741066c.zip doubango-50dfb4359619563012997bc3ddafb7667741066c.tar.gz |
Add new QoS implementation
Code formatting
Diffstat (limited to 'tinyBFCP/include/tinybfcp')
-rwxr-xr-x | tinyBFCP/include/tinybfcp/tbfcp_session.h | 13 | ||||
-rwxr-xr-x | tinyBFCP/include/tinybfcp/tbfcp_types.h | 6 |
2 files changed, 9 insertions, 10 deletions
diff --git a/tinyBFCP/include/tinybfcp/tbfcp_session.h b/tinyBFCP/include/tinybfcp/tbfcp_session.h index 82e57f6..db251d8 100755 --- a/tinyBFCP/include/tinybfcp/tbfcp_session.h +++ b/tinyBFCP/include/tinybfcp/tbfcp_session.h @@ -29,17 +29,16 @@ TBFCP_BEGIN_DECLS struct tbfcp_session_s; struct tbfcp_pkt_s; -typedef enum tbfcp_session_event_type_e -{ - tbfcp_session_event_type_inf_inc_msg, - tbfcp_session_event_type_err_send_timedout +typedef enum tbfcp_session_event_type_e { + tbfcp_session_event_type_inf_inc_msg, + tbfcp_session_event_type_err_send_timedout } tbfcp_session_event_type_t; typedef struct tbfcp_session_event_xs { - enum tbfcp_session_event_type_e e_type; - const struct tbfcp_pkt_s* pc_pkt; - const void* pc_usr_data; + enum tbfcp_session_event_type_e e_type; + const struct tbfcp_pkt_s* pc_pkt; + const void* pc_usr_data; } tbfcp_session_event_xt; typedef int (*tbfcp_session_callback_f)(const struct tbfcp_session_event_xs *e); diff --git a/tinyBFCP/include/tinybfcp/tbfcp_types.h b/tinyBFCP/include/tinybfcp/tbfcp_types.h index 561d7be..68899b1 100755 --- a/tinyBFCP/include/tinybfcp/tbfcp_types.h +++ b/tinyBFCP/include/tinybfcp/tbfcp_types.h @@ -101,9 +101,9 @@ typedef enum tbfcp_role_e { } tbfcp_role_t; typedef enum tbfcp_setup_e { - tbfcp_setup_active = (1 << 0), - tbfcp_setup_passive = (1 << 1), - tbfcp_setup_actpass = (tbfcp_setup_active | tbfcp_setup_passive), + tbfcp_setup_active = (1 << 0), + tbfcp_setup_passive = (1 << 1), + tbfcp_setup_actpass = (tbfcp_setup_active | tbfcp_setup_passive), } tbfcp_setup_t; #if !defined(kBfcpSetupDefault) # define kBfcpSetupDefault tbfcp_setup_actpass |