summaryrefslogtreecommitdiffstats
path: root/tinyBFCP/include/tinybfcp
diff options
context:
space:
mode:
authorMamadou DIOP <bossiel@yahoo.fr>2016-02-23 22:00:35 +0100
committerMamadou DIOP <bossiel@yahoo.fr>2016-02-23 22:00:35 +0100
commit50dfb4359619563012997bc3ddafb7667741066c (patch)
treedb234c1edc3240a653363b5735fc4077af4b8720 /tinyBFCP/include/tinybfcp
parent94b2219209038e05dd26395f6fb700be4d1062c0 (diff)
downloaddoubango-50dfb4359619563012997bc3ddafb7667741066c.zip
doubango-50dfb4359619563012997bc3ddafb7667741066c.tar.gz
Add new QoS implementation
Code formatting
Diffstat (limited to 'tinyBFCP/include/tinybfcp')
-rwxr-xr-xtinyBFCP/include/tinybfcp/tbfcp_session.h13
-rwxr-xr-xtinyBFCP/include/tinybfcp/tbfcp_types.h6
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
OpenPOWER on IntegriCloud